/* ============================================================
   UI/UX DESIGN v2 — all selectors prefixed ux2-
   Portfolio-led layout on top of the shared shell, buttons, crumbs,
   logos, FAQ, contact and reviews in css/styles.css.
   ============================================================ */

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

/* ---- Reveal (only when JS runs; see the head script) ---- */
.ux2-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);
}
.ux2-js [data-reveal].is-in { opacity: 1; transform: none; }

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

.ux2-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);
}
.ux2-head .section-label,
.ux2-struct .section-label { margin-bottom: 18px; }
.ux2-head h2,
.ux2-struct h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 17ch;
}
.ux2-head .ux2-h2-xl { font-size: clamp(48px, 8vw, 116px); line-height: 0.92; letter-spacing: -0.06em; }
.ux2-head-aside {
  display: grid;
  gap: 20px;
  justify-items: start;
  justify-self: end;
  max-width: 44ch;
}
.ux2-head-aside p { font-size: var(--fz-16); line-height: 1.55; color: var(--muted); }

.ux2-arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid currentColor;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.ux2-arrow svg,
.ux2-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.4s var(--ease);
}
.ux2-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
  font-size: var(--fz-14-5);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.ux2-link:hover svg { transform: translate(2px, -2px); }

.ux2-bar {
  display: flex;
  align-items: center;
  flex: none;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--muted);
}
.ux2-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text) 35%, transparent);
}
.ux2-bar span {
  flex: 0 1 50%;
  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;
}

.ux2-marquee { display: flex; overflow: hidden; }
.ux2-marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  animation: ux2-marq var(--dur, 48s) linear infinite;
}
.ux2-marquee:hover .ux2-marquee-track { animation-play-state: paused; }
@keyframes ux2-marq { to { transform: translateX(-100%); } }

/* ============================================================
   HERO — copy + moving wall of real work
   ============================================================ */
.ux2-hero { padding: clamp(20px, 3vw, 36px) 0 0; background: var(--bg); overflow: hidden; }
.ux2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: center;
}
.ux2-hero-copy .section-label { margin: clamp(32px, 6vw, 80px) 0 22px; }
.ux2-h1 {
  font-size: clamp(44px, 5.6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.ux2-sel { position: relative; display: inline-block; }
.ux2-sel-box {
  position: absolute;
  inset: 0.06em -0.12em -0.04em -0.1em;
  border: 1.5px solid var(--text);
  pointer-events: none;
}
.ux2-sel-box b {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--surface);
  border: 1.5px solid var(--text);
}
.ux2-sel-box b:nth-child(1) { top: -5px; left: -5px; }
.ux2-sel-box b:nth-child(2) { top: -5px; right: -5px; }
.ux2-sel-box b:nth-child(3) { bottom: -5px; left: -5px; }
.ux2-sel-box b:nth-child(4) { bottom: -5px; right: -5px; }
.ux2-sel-box em {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  translate: 0 -50%;
  padding: 4px 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.ux2-mark {
  background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 0.3em no-repeat;
}
.ux2-js .ux2-sel-box { animation: ux2-select 0.7s var(--ease) 1.1s both; }
.ux2-js .ux2-mark { animation: ux2-mark 0.9s var(--ease) 1.5s both; }
@keyframes ux2-select {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: none; }
}
@keyframes ux2-mark { from { background-size: 0 0.3em; } }

.ux2-lede { max-width: 44ch; margin-top: 28px; font-size: var(--fz-18); line-height: 1.5; color: var(--muted); }
.ux2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---- Wall ---- */
.ux2-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: clamp(540px, calc(100vh - var(--header-h) - 120px), 780px);
  overflow: hidden;
  -webkit-mask: linear-gradient(transparent, #000 9%, #000 91%, transparent);
  mask: linear-gradient(transparent, #000 9%, #000 91%, transparent);
}
.ux2-col { min-width: 0; }
.ux2-col-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: ux2-up var(--dur, 50s) linear infinite;
}
.ux2-col.is-down .ux2-col-track { animation-direction: reverse; }
.ux2-wall:hover .ux2-col-track { animation-play-state: paused; }
@keyframes ux2-up { to { transform: translateY(calc(-50% - 6px)); } }
.ux2-js .ux2-col { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.ux2-js .ux2-col:nth-child(2) { transition-delay: 0.12s; }
.ux2-js .ux2-col:nth-child(3) { transition-delay: 0.24s; }
.ux2-js .ux2-wall.is-in .ux2-col { opacity: 1; transform: none; }

.ux2-card {
  position: relative;
  flex: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.ux2-card img { display: block; width: 100%; height: auto; object-fit: cover; }
.ux2-card.is-sq img { aspect-ratio: 1; }
.ux2-card.is-page img { aspect-ratio: 640 / 780; object-position: 50% 0; }
.ux2-card.is-screen img { aspect-ratio: 16 / 10; object-position: 0 0; }
.ux2-card.is-phone {
  padding: 8px 8px 0;
  border: 0;
  border-radius: 26px 26px 0 0;
  background: var(--ink);
}
.ux2-card.is-phone img { aspect-ratio: 9 / 16; object-position: 50% 0; border-radius: 19px 19px 0 0; }
.ux2-card figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  background: var(--surface);
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.ux2-card:hover figcaption { opacity: 1; transform: none; }

/* Multiplayer cursor + comment */
.ux2-guest {
  position: absolute;
  z-index: 3;
  left: 18%;
  top: 26%;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  pointer-events: none;
  animation: ux2-guest 16s var(--ease) infinite;
}
.ux2-guest-arrow { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.ux2-guest-arrow i {
  display: block;
  width: 17px;
  height: 21px;
  background: var(--ink);
  clip-path: polygon(0 0, 0 82%, 26% 62%, 42% 100%, 58% 93%, 42% 57%, 76% 57%);
}
.ux2-guest-name {
  margin-top: 16px;
  padding: 4px 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
@keyframes ux2-guest {
  0%, 6% { left: 18%; top: 26%; }
  22%, 30% { left: 58%; top: 18%; }
  46%, 64% { left: 66%; top: 55%; }
  80%, 88% { left: 26%; top: 68%; }
  100% { left: 18%; top: 26%; }
}
.ux2-note {
  position: absolute;
  z-index: 3;
  right: 6%;
  top: 60%;
  display: flex;
  gap: 10px;
  max-width: 220px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--text);
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--text) 10%, transparent);
  pointer-events: none;
  opacity: 0;
  animation: ux2-note 16s var(--ease) infinite;
}
.ux2-note-dot { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 1px solid var(--text); }
.ux2-note p { font-size: 13px; line-height: 1.35; color: var(--muted); }
.ux2-note b { display: block; color: var(--text); font-weight: 600; }
@keyframes ux2-note {
  0%, 46% { opacity: 0; transform: translateY(8px) scale(0.96); }
  50%, 76% { opacity: 1; transform: none; }
  82%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* Facts */
.ux2-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;
}
.ux2-facts li { display: grid; align-content: center; gap: 6px; padding: 22px 24px; border-left: 1px solid var(--line); }
.ux2-facts li:first-child { padding-left: 0; border-left: 0; }
.ux2-facts b { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ux2-facts li > span { font-size: var(--fz-13-5); color: var(--muted); }
.ux2-facts-badges { display: flex !important; align-items: center; gap: 22px; padding-right: 0 !important; }
.ux2-facts-badges img { height: 36px; width: auto; }

/* ============================================================
   01 DISCIPLINES — big list + cursor image preview
   ============================================================ */
.ux2-disc { list-style: none; border-top: 1px solid var(--line); }
.ux2-disc-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.9fr) auto;
  align-items: center;
  gap: 16px 36px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  isolation: isolate;
}
.ux2-disc-link::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: var(--bg-alt);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}
.ux2-disc-link h3 {
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  transition: transform 0.5s var(--ease);
}
.ux2-disc-link > p { max-width: 30ch; font-size: var(--fz-16); line-height: 1.45; color: var(--muted); }
.ux2-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; list-style: none; }
.ux2-chips li { padding: 6px 10px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 500; }
.ux2-disc-thumb { display: none; }
.ux2-disc-link:hover::before,
.ux2-disc-link:focus-visible::before { transform: scaleY(1); }
.ux2-disc-link:hover h3 { transform: translateX(14px); }
.ux2-disc-link:hover .ux2-arrow { background: var(--accent); border-color: var(--text); color: var(--accent-ink); }
.ux2-disc-link:hover .ux2-arrow svg { transform: translate(2px, -2px); }

.ux2-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: clamp(260px, 22vw, 340px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--text);
  background: var(--surface);
  pointer-events: none;
  translate: -600px -600px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8) rotate(-5deg);
  transition: opacity 0.3s, transform 0.5s var(--ease);
}
.ux2-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
.ux2-preview img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* ============================================================
   02 WORK — filterable portfolio grid
   ============================================================ */
.ux2-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ux2-filter button {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.ux2-filter button:hover { border-color: var(--text); }
.ux2-filter button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.ux2-filter sup { margin-left: 2px; font-size: 10px; opacity: 0.6; }

.ux2-works-wrap { container-type: inline-size; }
.ux2-works {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: calc((100cqw - 3 * var(--ux2-gap)) / 4);
  grid-auto-flow: dense;
  gap: var(--ux2-gap);
}
.ux2-w {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--deep-text);
  text-decoration: none;
}
.ux2-w.is-wide { grid-column: span 2; }
.ux2-w.is-tall { grid-row: span 2; }
.ux2-w.is-big { grid-column: span 2; grid-row: span 2; }
.ux2-w.is-out { display: none; }
.ux2-w.is-pop { animation: ux2-pop 0.6s var(--ease) both; }
@keyframes ux2-pop { from { opacity: 0; transform: scale(0.96); } }
.ux2-w::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.66) 100%);
  pointer-events: none;
}
.ux2-w-media { position: absolute; inset: 0; overflow: hidden; }
.ux2-w-media > img,
.ux2-w-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.ux2-w:hover .ux2-w-media > img,
.ux2-w:hover .ux2-w-media > video { transform: scale(1.045); }

.ux2-w.is-screen .ux2-w-media { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.ux2-w.is-screen .ux2-w-media > img { position: relative; inset: auto; flex: 1; min-height: 0; object-position: 50% 0; transform-origin: 50% 0; }
.ux2-w.is-screen .ux2-tag { top: 5px; right: 8px; left: auto; }

/* Screenshot set as a window bleeding off the tile */
.ux2-w-media.is-shot { background: var(--bg); }
.ux2-w-media.is-shot > img {
  inset: 20% auto auto 12%;
  width: 124%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
  transform-origin: 0 0;
}

/* Desktop + phone composition */
.ux2-w-media.is-duo { background: color-mix(in srgb, var(--accent) 26%, var(--bg)); }
.ux2-w-media.is-duo > img.is-d {
  inset: 13% auto auto 7%;
  width: 104%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.4);
  transform-origin: 0 0;
}
.ux2-w-media.is-duo > img.is-m {
  inset: auto 7% -4% auto;
  width: 25%;
  height: auto;
  aspect-ratio: 9 / 17;
  object-position: 50% 0;
  border: 6px solid var(--ink);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  transform-origin: 50% 100%;
}
.ux2-w:hover .ux2-w-media.is-duo > img.is-m { transform: translateY(-10px); }

.ux2-w:has(.is-shot, .is-duo) { background: var(--bg); color: var(--text); }
.ux2-w:has(.is-shot, .is-duo)::after { background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--bg) 92%, transparent) 86%); }
.ux2-w:has(.is-duo)::after { background: none; }
.ux2-w:has(.is-shot, .is-duo) .ux2-w-cap p { color: var(--muted); }
.ux2-w:has(.is-shot, .is-duo) .ux2-tag { background: var(--text); color: var(--bg); }
.ux2-w.is-big .ux2-w-cap h3 { font-size: clamp(24px, 2.4vw, 34px); }

.ux2-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ux2-w-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; }
.ux2-w-cap h3 {
  display: inline;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.ux2-w:hover .ux2-w-cap h3 { background-size: 100% 1px; }
.ux2-w-cap p { margin-top: 5px; font-size: 13px; color: color-mix(in srgb, var(--deep-text) 72%, transparent); }

/* ============================================================
   03 RAIL — pages scroll sideways while the page scrolls down
   ============================================================ */
.ux2-rail { position: relative; border-top: 1px solid var(--line); background: var(--bg); }
.ux2-rail-sticky {
  --bh: clamp(240px, calc(100vh - var(--header-h) - 440px), 500px);
  position: sticky;
  top: var(--header-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 3.4vh, 40px);
  min-height: calc(100vh - var(--header-h));
  padding: clamp(32px, 5vh, 56px) 0;
  overflow: hidden;
}
.ux2-rail-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; }
.ux2-rail-head .section-label { margin-bottom: 18px; }
.ux2-rail-head h2 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; max-width: 18ch; }
.ux2-rail-view { overflow: hidden; }
.ux2-rail-track {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  width: max-content;
  list-style: none;
  will-change: transform;
}
.ux2-board { flex: none; display: flex; flex-direction: column; gap: 9px; }
.ux2-board > span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.ux2-board img {
  display: block;
  height: var(--bh);
  width: auto;
  aspect-ratio: 640 / 933;
  object-fit: cover;
  object-position: 50% 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.35);
  transition: transform 0.6s var(--ease), border-color 0.3s;
}
.ux2-board:hover img { transform: translateY(-8px); border-color: var(--text); }
.ux2-board.is-part { position: relative; }
.ux2-board.is-part > span { color: var(--text); }
.ux2-board.is-part > span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--accent); border: 1px solid var(--text); transform: rotate(45deg); }
.ux2-board.is-part img {
  aspect-ratio: 1.05;
  object-fit: contain;
  padding: 7%;
  background: var(--bg-alt);
  border: 1.5px dashed color-mix(in srgb, var(--text) 45%, transparent);
  box-shadow: none;
}
.ux2-board.is-part em {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}
.ux2-rail-foot { display: flex; align-items: center; gap: 18px; }
.ux2-rail-bar { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.ux2-rail-bar i { position: absolute; inset: 0; background: var(--text); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.ux2-rail-hint { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Static fallback: native horizontal scroll */
.ux2-rail.is-static .ux2-rail-sticky { position: static; min-height: 0; padding: clamp(56px, 9vw, 96px) 0; }
.ux2-rail.is-static .ux2-rail-view {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.ux2-rail.is-static .ux2-rail-view::-webkit-scrollbar { display: none; }
.ux2-rail.is-static .ux2-rail-track { padding-inline: var(--gutter); transform: none !important; }
.ux2-rail.is-static .ux2-board { scroll-snap-align: start; }
.ux2-rail.is-static .ux2-rail-hint::after { content: " sideways"; }

/* ============================================================
   04 CAMPAIGNS — dark band with films and a creative strip
   ============================================================ */
.ux2-dark { background: var(--ink); border-top-color: var(--ink); color: var(--deep-text); overflow: hidden; }
.ux2-dark .section-label { color: var(--accent); }
.ux2-dark .ux2-head-aside p { color: var(--ink-muted); }
.ux2-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ux2-gap); }
.ux2-film { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; background: #1b1b1a; }
.ux2-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ux2-film:hover video { transform: scale(1.04); }
.ux2-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.66) 100%);
  pointer-events: none;
}
.ux2-film figcaption { position: absolute; inset: 16px 18px 18px; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ux2-film-top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ux2-film-top em { font-style: normal; color: var(--accent); }
.ux2-film-title { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.ux2-formats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; list-style: none; }
.ux2-formats li { padding: 8px 12px; border: 1px solid var(--ink-line); font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.ux2-formats li:first-child { padding-left: 0; border: 0; margin-right: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--deep-text); }
.ux2-strip { margin-top: clamp(40px, 6vw, 72px); }
.ux2-strip .ux2-marquee-track { --dur: 70s; gap: 14px; padding-right: 14px; }
.ux2-strip img { width: clamp(170px, 16vw, 240px); height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s var(--ease); }
.ux2-strip img:nth-child(odd) { transform: rotate(-2deg) translateY(6px); }
.ux2-strip img:nth-child(even) { transform: rotate(1.5deg); }
.ux2-strip img:hover { transform: none; }

/* ============================================================
   05 STRUCTURE — wireframe / final compare
   ============================================================ */
.ux2-struct {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.ux2-struct-copy > p { max-width: 36ch; margin-top: 18px; font-size: var(--fz-16); line-height: 1.55; color: var(--muted); }
.ux2-struct-list { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); list-style: none; }
.ux2-struct-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fz-14-5); }
.ux2-struct-list b { font-weight: 600; }
.ux2-struct-list span { color: var(--muted); }

.ux2-compare {
  --x: 50%;
  position: relative;
  aspect-ratio: 1280 / 800;
  overflow: hidden;
  border: 1px solid var(--text);
  background: #fff;
  box-shadow: 12px 12px 0 color-mix(in srgb, var(--text) 7%, transparent);
  user-select: none;
}
.ux2-compare-final { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ux2-wire {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(15, 15, 14, 0.12) 1px, transparent 1.4px) 0 0 / 14px 14px,
    #f5f5f2;
  clip-path: inset(0 calc(100% - var(--x)) 0 0);
}
.ux2-wire i {
  position: absolute;
  display: flex;
  align-items: flex-start;
  padding: 0.5% 0.8%;
  border: 1.5px dashed rgba(15, 15, 14, 0.34);
  background: rgba(15, 15, 14, 0.035);
}
.ux2-wire em {
  font-size: clamp(8px, 0.85vw, 12px);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(15, 15, 14, 0.58);
}
.ux2-wire s { position: absolute; left: 6%; display: block; background: rgba(15, 15, 14, 0.13); }
.ux2-wire .w-top { left: 0; right: 0; top: 0; height: 4.2%; border-width: 0 0 1px; border-style: solid; }
.ux2-wire .w-logo { left: 1.4%; top: 6.6%; width: 13.2%; height: 7%; }
.ux2-wire .w-search { left: 24.8%; top: 7.6%; width: 44.4%; height: 5.6%; }
.ux2-wire .w-icons { left: 80%; top: 7.6%; width: 18.6%; height: 5.6%; }
.ux2-wire .w-nav { left: 1.4%; right: 1.4%; top: 16.6%; height: 4.8%; }
.ux2-wire .w-hero { left: 1.4%; top: 24.2%; width: 64.1%; height: 55.8%; }
.ux2-wire .w-hero .l1 { top: 32%; width: 44%; height: 16%; }
.ux2-wire .w-hero .l2 { top: 54%; width: 50%; height: 5%; }
.ux2-wire .w-hero .btn { top: 68%; width: 26%; height: 10%; background: rgba(15, 15, 14, 0.24); }
.ux2-wire .w-promo { left: 66.6%; top: 24.2%; width: 32%; height: 26.8%; }
.ux2-wire .w-promo .l1,
.ux2-wire .w-b2b .l1 { top: 30%; width: 50%; height: 22%; }
.ux2-wire .w-b2b { left: 66.6%; top: 52.8%; width: 32%; height: 27.2%; }
.ux2-wire .w-trust { left: 1.4%; right: 1.4%; top: 81.8%; height: 11.4%; }
.ux2-compare-tag {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.ux2-compare-tag.is-l { left: 12px; background: var(--text); color: var(--bg); }
.ux2-compare-tag.is-r { right: 12px; background: var(--accent); color: var(--accent-ink); }
.ux2-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: var(--text);
  pointer-events: none;
}
.ux2-compare-handle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  background: var(--accent);
  border: 1.5px solid var(--text);
  transition: scale 0.3s var(--ease);
}
.ux2-compare-handle i::before,
.ux2-compare-handle i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -5px;
  border: 5px solid transparent;
}
.ux2-compare-handle i::before { left: 8px; border-right-color: var(--accent-ink); }
.ux2-compare-handle i::after { right: 8px; border-left-color: var(--accent-ink); }
.ux2-compare:hover .ux2-compare-handle i { scale: 1.08; }
.ux2-compare input {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.ux2-compare:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 4px; }

/* ============================================================
   06 PROCESS — progress line
   ============================================================ */
.ux2-steps {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 44px;
  list-style: none;
}
.ux2-steps::before,
.ux2-steps::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  height: 2px;
  background: var(--line);
}
.ux2-steps::before { right: 0; }
.ux2-steps::after { width: calc(var(--p) * 100%); background: var(--text); }
.ux2-step { position: relative; }
.ux2-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);
}
.ux2-step.is-done::before { background: var(--accent); border-color: var(--text); transform: rotate(45deg); }
.ux2-step-when { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ux2-step h3 { margin: 10px 0 8px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.ux2-step p:last-child { max-width: 28ch; font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }

/* ============================================================
   07 PRICING
   ============================================================ */
.ux2-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ux2-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 26px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.ux2-tier.is-pop { background: var(--ink); border-color: var(--ink); color: var(--deep-text); }
.ux2-tier-media { margin: 0 -26px 14px; aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.ux2-tier.is-pop .ux2-tier-media { border-bottom-color: var(--ink-line); }
.ux2-tier-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.1s var(--ease); }
.ux2-tier:hover .ux2-tier-media img { transform: scale(1.05); }
.ux2-tier-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 5px 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ux2-tier-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ux2-tier.is-pop .ux2-tier-k,
.ux2-tier.is-pop .ux2-tier-time { color: var(--ink-muted); }
.ux2-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; }
.ux2-tier-price small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.ux2-tier.is-pop .ux2-tier-price small { color: var(--ink-muted); }
.ux2-tier-time { font-size: var(--fz-13-5); color: var(--muted); }
.ux2-tier ul { display: grid; gap: 11px; margin: 6px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); list-style: none; }
.ux2-tier.is-pop ul { border-top-color: var(--ink-line); }
.ux2-tier li { display: flex; gap: 11px; font-size: var(--fz-15); line-height: 1.4; }
.ux2-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;
}
.ux2-tier:not(.is-pop) li::before { background: var(--text); }
.ux2-tier .btn { width: 100%; margin-top: auto; }
.ux2-addons { margin-top: 22px; font-size: var(--fz-14-5); color: var(--muted); }
.ux2-addons b { color: var(--text); font-weight: 600; }

/* ============================================================
   MEGA MARQUEE + CURSOR
   ============================================================ */
.ux2-mega { overflow: hidden; padding: clamp(14px, 2vw, 22px) 0; background: var(--ink); color: var(--deep-text); }
.ux2-mega .ux2-marquee-track { --dur: 42s; }
.ux2-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;
}
.ux2-mega-item i { font-style: normal; color: var(--accent); }

.ux2-cursor { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; translate: -200px -200px; }
.ux2-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);
}
.ux2-cursor.is-on span { transform: translate(-50%, -50%) scale(1); }
.ux2-has-cursor .ux2-w[data-cursor] { cursor: none; }

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

@media (max-width: 1080px) {
  .ux2-hero-grid { grid-template-columns: 1fr; }
  .ux2-hero-copy .section-label { margin-top: 32px; }
  .ux2-wall { height: 520px; }
  .ux2-films { gap: 10px; }
}

@media (max-width: 900px) {
  .ux2-head,
  .ux2-rail-head { grid-template-columns: 1fr; }
  .ux2-head-aside { justify-self: start; }
  .ux2-disc-link { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; }
  .ux2-disc-link > p { grid-column: 1 / -1; grid-row: 2; }
  .ux2-disc-link .ux2-arrow { grid-column: 2; grid-row: 1; }
  .ux2-disc-link:hover h3 { transform: none; }
  .ux2-disc-thumb {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 6px;
    object-fit: cover;
    object-position: 50% 0;
    border: 1px solid var(--line);
  }
  .ux2-preview { display: none; }
  .ux2-works { grid-template-columns: 1fr 1fr; grid-auto-rows: calc((100cqw - var(--ux2-gap)) / 2); }
  .ux2-struct { grid-template-columns: 1fr; }
  .ux2-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; padding-top: 26px; }
  .ux2-steps::before,
  .ux2-steps::after { display: none; }
  .ux2-step::before { top: -26px; width: 14px; height: 14px; }
  .ux2-tiers { grid-template-columns: 1fr; max-width: 560px; }
  .ux2-films { grid-template-columns: 1fr 1fr; }
  .ux2-films .ux2-film:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .ux2-disc-link { grid-template-columns: minmax(0, 1fr) 38%; align-items: start; column-gap: 28px; }
  .ux2-disc-link h3 { grid-column: 1; grid-row: 1; }
  .ux2-disc-link > p { grid-column: 1; grid-row: 2; }
  .ux2-disc-link .ux2-arrow { grid-column: 1; grid-row: 3; margin-top: 8px; }
  .ux2-disc-thumb { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .ux2-page { --ux2-gap: 10px; }
  .ux2-h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .ux2-wall { grid-template-columns: 1fr 1fr; height: 440px; gap: 10px; }
  .ux2-wall .ux2-col:nth-child(3) { display: none; }
  .ux2-col-track { gap: 10px; }
  @keyframes ux2-up { to { transform: translateY(calc(-50% - 5px)); } }
  .ux2-note { right: 4%; max-width: 190px; }
  .ux2-facts { grid-template-columns: 1fr 1fr; }
  .ux2-facts li { padding: 16px 0 16px 16px; }
  .ux2-facts li:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ux2-facts b { font-size: 26px; }
  .ux2-works { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ux2-w,
  .ux2-w.is-wide,
  .ux2-w.is-tall,
  .ux2-w.is-big { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .ux2-w.is-screen { aspect-ratio: 4 / 3.4; }
  .ux2-w.is-tall { aspect-ratio: 4 / 5; }
  .ux2-films { grid-template-columns: 1fr; }
  .ux2-films .ux2-film:last-child { aspect-ratio: 1; }
  .ux2-steps { counter-reset: step; grid-template-columns: 1fr; row-gap: 0; padding: 0 0 0 48px; }
  .ux2-steps::before,
  .ux2-steps::after { display: block; top: 16px; right: auto; left: 15px; width: 2px; height: auto; }
  .ux2-steps::before { bottom: 16px; }
  .ux2-steps::after { height: calc(var(--p) * (100% - 32px)); }
  .ux2-step { padding-bottom: 30px; }
  .ux2-step:last-child { padding-bottom: 0; }
  .ux2-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); }
  .ux2-step.is-done::before { transform: none; color: var(--mark-ink); }
  .ux2-step-when { line-height: 32px; }
  .ux2-step h3 { margin: 0 0 6px; font-size: 24px; }
  .ux2-step p:last-child { max-width: none; }
  .ux2-struct-list li { flex-direction: column; gap: 2px; }
  .ux2-compare-handle i { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .ux2-col-track,
  .ux2-marquee-track,
  .ux2-guest,
  .ux2-note,
  .ux2-js .ux2-sel-box,
  .ux2-js .ux2-mark { animation: none; }
  .ux2-guest,
  .ux2-note { display: none; }
  .ux2-js [data-reveal],
  .ux2-js .ux2-col { opacity: 1; transform: none; transition: none; }
  .ux2-w.is-pop { animation: none; }
}

/* Dark surfaces: buttons on them take the dark palette's action colour */
.ux2-card.is-phone,
.ux2-guest-arrow i,
.ux2-w,
.ux2-dark,
.ux2-tier.is-pop,
.ux2-mega {
  --cta: var(--deep-accent);
  --cta-hover: var(--deep-accent-hover);
  --cta-ink: var(--deep-accent-ink);
}
