/* =============================================
   MOOCO STUDIO — Design System
   ============================================= */

/* --- Non Natural Grotesk (Titles — Variable) --- */
@font-face {
  font-family: 'NonNatural';
  src: url('../fonts/non-natural/NonNaturalGroteskPlain-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Onest (Body / UI) --- */
@font-face {
  font-family: 'Onest';
  src: url('../fonts/onest/Onest-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --yellow: #FFE600;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-500: #8e8e8e;
  --gray-700: #444444;

  --font: 'Onest', sans-serif;
  --font-display: 'NonNatural', sans-serif;

  --nav-h: 64px;
  --max-w: 1240px;
  --pad: clamp(1.25rem, 5vw, 3rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.65s;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* =============================================
   UTILITIES
   ============================================= */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section--gray {
  background: var(--gray-100);
}

.section--cta {
  background: var(--black);
  color: var(--white);
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.section__tag--light {
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   MOOCO decorative icons (brand miscellanea)
   12 mono glyphs in assets/MOOCO Brand/Iconos.
   Rendered via CSS mask so they inherit currentColor.
   Usage: <i class="mo-deco mo-deco--3"></i>
   ============================================================ */
.mo-deco {
  --mo-size: 1em;
  display: inline-block;
  width: var(--mo-size);
  height: var(--mo-size);
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--mo-icon) center / contain no-repeat;
          mask: var(--mo-icon) center / contain no-repeat;
  vertical-align: middle;
}
.mo-deco--01 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-01.svg'); }
.mo-deco--02 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-02.svg'); }
.mo-deco--03 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-03.svg'); }
.mo-deco--04 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-04.svg'); }
.mo-deco--05 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-05.svg'); }
.mo-deco--06 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-06.svg'); }
.mo-deco--07 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-07.svg'); }
.mo-deco--08 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-08.svg'); }
.mo-deco--09 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-09.svg'); }
.mo-deco--10 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-10.svg'); }
.mo-deco--11 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-11.svg'); }
.mo-deco--12 { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-12.svg'); }

/* Auto-accent: a small spinning-free glyph before every section tag.
   Different sections get different glyphs via nth-of-type cycling. */
.section__tag::before {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.55em;
  background-color: currentColor;
  -webkit-mask: var(--mo-icon, url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-01.svg')) center / contain no-repeat;
          mask: var(--mo-icon, url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-01.svg')) center / contain no-repeat;
  vertical-align: -0.08em;
  opacity: 0.85;
}
.section__tag:nth-of-type(1)::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-03.svg'); }
.section__tag:nth-of-type(2)::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-06.svg'); }
.section__tag:nth-of-type(3)::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-09.svg'); }
.section__tag:nth-of-type(4)::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-11.svg'); }
.section__tag:nth-of-type(5)::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-05.svg'); }

.section__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section__footer {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.section__sub {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--gray-600);
  max-width: 52ch;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.375rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1.5px solid transparent;
  text-decoration: none;
}

/* Default / primary = yellow like Connect */
.btn--primary,
.btn--yellow,
.btn--outline {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn--primary:hover,
.btn--yellow:hover,
.btn--outline:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

/* Ghost — for dark section backgrounds */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Hero CTA — same as default but slightly larger */
.btn--hero-cta {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  padding: 0.8rem 2rem;
  font-size: 0.875rem;
}
.btn--hero-cta:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
  transform: translateY(-1px);
}

/* =============================================
   REVEAL ANIMATION
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Slide desde la izquierda */
.reveal--left {
  transform: translateX(-48px);
}

/* Slide desde la derecha */
.reveal--right {
  transform: translateX(48px);
}

/* Scale + fade — para cards y grids */
.reveal--scale {
  transform: scale(0.88) translateY(20px);
  transform-origin: center bottom;
}

/* Títulos grandes — más lento */
.reveal--slow {
  transition-duration: 1.1s, 1.1s;
  transform: translateY(56px);
}

/* Elementos pequeños — más rápido */
.reveal--fast {
  transition-duration: 0.5s, 0.5s;
  transform: translateY(20px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s ease, border-bottom 0.4s ease, backdrop-filter 0.4s ease;
  /* Subtle dark blur always present over hero images */
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav--light:not(.scrolled) {
  background: rgba(255, 255, 255, 0.97) !important;
}

/* Nav logo + links white when transparent (over dark hero) */
.nav:not(.scrolled) .nav__logo {
  color: var(--white);
}

/* Logo SVG animated wordmark — white over hero, black when scrolled */
.nav:not(.scrolled) .nav__links li a {
  color: rgba(255, 255, 255, 0.75);
}
.nav:not(.scrolled) .nav__links li a:hover {
  color: var(--white);
}
.nav:not(.scrolled) .nav__cta {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(8px);
}
.nav:not(.scrolled) .nav__cta:hover {
  background: var(--white) !important;
  color: var(--black) !important;
}
.nav:not(.scrolled) .nav__burger span {
  background: var(--white);
}

/* ── NAV SOBRE FONDO CLARO (pages sin hero oscuro) ── */
.nav--light {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav--light .nav__logo-text {
  color: var(--black) !important;
}
.nav--light:not(.scrolled) .nav__links li a {
  color: rgba(0, 0, 0, 0.65) !important;
}
.nav--light:not(.scrolled) .nav__links li a:hover {
  color: var(--black) !important;
}
.nav--light:not(.scrolled) .nav__links li a.active {
  color: var(--black) !important;
}
.nav--light:not(.scrolled) .nav__cta {
  background: var(--black) !important;
  color: var(--white) !important;
  border: none !important;
  backdrop-filter: none !important;
}
.nav--light:not(.scrolled) .nav__cta:hover {
  background: var(--yellow) !important;
  color: var(--black) !important;
}
.nav--light:not(.scrolled) .nav__burger span {
  background: var(--black) !important;
}

.nav__inner {
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

/* ---------- animated wordmark logo ---------- */
.nav__logo-text {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.3s var(--ease);
  line-height: 1;
}

/* on scroll: switch to black */
.nav.scrolled .nav__logo-text {
  color: var(--black);
}

/* individual letters */
.nl {
  display: inline-block;
  /* no opacity:0 here — 'both' fill applies 'from' only during the delay */
  animation: logoIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i) * 0.07s + 0.2s);
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* hover wave animation removed per request — only load-in animation stays */

/* ---------------------------------------------- */

.nav__logo-img {
  height: 63px;
  width: auto;
  display: block;
  filter: invert(1);
  transition: filter 0.3s var(--ease);
}
.nav.scrolled .nav__logo-img,
.nav--light .nav__logo-img {
  filter: none;
}

.footer__logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.footer__logo-vid {
  height: 72px;
  width: auto;
  display: block;
  border-radius: 6px;
  background: #000;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 30px;
}

.nav__links li a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
  position: relative;
  padding-bottom: 2px;
}

/* underline that grows from center on hover */
.nav__links li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 1.5px;
  background: var(--yellow);
  border-radius: 2px;
  transition: left 0.25s var(--ease), right 0.25s var(--ease);
}

.nav__links li a:hover::before,
.nav__links li a.active::before {
  left: 0;
  right: 0;
}

/* no underline on dropdown pills */
.nav__dropdown-inner a::before {
  display: none !important;
}

.nav__links li a:hover {
  color: var(--black);
}

/* keep underline hidden on CTA button */
.nav__cta::before { display: none !important; }
.nav__links li a.nav__cta { padding: 0.55rem 1.375rem !important; }

/* LOOM nav link — uppercase, inherits standard nav color (white on dark, dark on light) */
.nav .nav__links li a.nav__loom,
.nav:not(.scrolled) .nav__links li a.nav__loom,
.nav--light:not(.scrolled) .nav__links li a.nav__loom {
  color: #FF6D00 !important;
  font-weight: 700;
}
.nav .nav__links li a.nav__loom:hover,
.nav:not(.scrolled) .nav__links li a.nav__loom:hover,
.nav--light:not(.scrolled) .nav__links li a.nav__loom:hover {
  color: #FF9A47 !important;
}
.nav__links li a.nav__loom::before { background: #FF6D00; }
.mobile-link--loom { color: #FF6D00 !important; font-weight: 700; }
.mobile-link--loom {
  letter-spacing: 0.06em;
}

/* "Craft" nav item keeps default gray like the rest of the menu */

/* ---- DROPDOWN ---- */
.nav__item {
  position: relative;
}

.nav__item--drop > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* trigger-only: no cursor pointer since it doesn't navigate */
.nav__trigger--only {
  cursor: default !important;
}

/* tiny chevron after drop triggers */
.nav__drop-trigger::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

/* override the work dot for items that also have drop-trigger */
.nav__work.nav__drop-trigger::after {
  content: '';
  position: static;
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0;
  background: transparent;
  transform: rotate(45deg) translateY(-1px);
  animation: none;
}

.nav__item--drop:hover .nav__drop-trigger::after {
  transform: rotate(225deg) translateY(1px);
}

/* ---- DROPDOWN — Opción C: pill bar horizontal ---- */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  z-index: 199;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  padding-top: 14px; /* invisible bridge — prevents gap from closing hover */
}

.nav__item--drop:hover .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-inner {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  background: transparent;
  white-space: nowrap;
}

/* pills */
.nav__dropdown-inner a {
  display: inline-flex !important;
  align-items: center;
  padding: 0.4rem 1rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  white-space: nowrap;
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), background 0.18s, color 0.18s, border-color 0.18s !important;
}

.nav__item--drop:hover .nav__dropdown-inner a {
  opacity: 1;
  transform: translateY(0);
}

/* stagger */
.nav__item--drop:hover .nav__dropdown-inner a:nth-child(1) { transition-delay: 0.03s; }
.nav__item--drop:hover .nav__dropdown-inner a:nth-child(2) { transition-delay: 0.07s; }
.nav__item--drop:hover .nav__dropdown-inner a:nth-child(3) { transition-delay: 0.11s; }
.nav__item--drop:hover .nav__dropdown-inner a:nth-child(4) { transition-delay: 0.15s; }
.nav__item--drop:hover .nav__dropdown-inner a:nth-child(5) { transition-delay: 0.19s; }

/* Default dropdown hover: yellow (Work + Solutions pills) */
.nav__dropdown-inner a:hover {
  background: var(--yellow, #FFD300) !important;
  color: #111 !important;
  border-color: var(--yellow, #FFD300) !important;
  transform: translateY(0) !important;
  box-shadow: none;
}

/* Work dropdown items (2-col grid) — yellow hover */
.nav__dd-item:hover {
  background: var(--yellow, #FFD300) !important;
  border-color: var(--yellow, #FFD300) !important;
}
.nav__dd-item:hover .nav__dd-client,
.nav__dd-item:hover .nav__dd-cat {
  color: #111 !important;
}

/* Craft dropdown pills — yellow like Solutions */
.nav__dropdown--craft .nav__dropdown-inner a:hover {
  background: var(--yellow, #FFD300) !important;
  color: #111 !important;
  border-color: var(--yellow, #FFD300) !important;
}

/* over dark hero */
.nav:not(.scrolled) .nav__dropdown-inner a {
  background: rgba(255,255,255,0.95);
  border-color: transparent;
}

/* ---- Work dropdown — wide 2-col grid ---- */
.nav__dropdown--wide {
  left: 0;
  transform: translateX(0) translateY(-6px);
  min-width: 520px;
}

.nav__item--drop:hover .nav__dropdown--wide {
  transform: translateX(0) translateY(0);
}

.nav__dropdown-inner--grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem !important;
  background: var(--white) !important;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1rem !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  white-space: normal !important;
  flex-direction: unset !important;
}

.nav__dd-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 0.55rem 0.85rem !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 0.1rem;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}

.nav__dd-item:hover {
  background: var(--gray-100) !important;
  border-color: var(--gray-200) !important;
  transform: none !important;
}

.nav__dd-client {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--black) !important;
  line-height: 1.2;
}

.nav__dd-cat {
  font-size: 0.68rem !important;
  font-weight: 400 !important;
  color: var(--gray-500) !important;
  line-height: 1.2;
}

/* "View all" link — full width, last item */
.nav__dd-all {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.55rem 1rem !important;
  margin-top: 0.3rem;
  border-radius: 10px !important;
  border: 1px solid var(--gray-200) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: var(--black) !important;
  background: transparent !important;
  box-shadow: none !important;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}

.nav__dd-all:hover {
  background: var(--yellow) !important;
  border-color: var(--yellow) !important;
  transform: none !important;
}

/* stagger for grid items */
.nav__item--drop:hover .nav__dropdown-inner--grid .nav__dd-item:nth-child(n) {
  transition-delay: 0s !important;
}

/* Mobile sub-items */
.mobile-sub {
  padding-left: 1.25rem;
  border-left: 2px solid var(--gray-100);
  margin: 0.25rem 0 0.75rem;
}

.mobile-link--sub {
  font-size: 0.85rem !important;
  color: var(--gray-500) !important;
  padding: 0.3rem 0 !important;
}

/* Work — subtle dot pulse */
.nav__work {
  position: relative;
}
.nav__work::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--yellow);
  animation: workDot 2.5s ease-in-out infinite;
}
@keyframes workDot {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.4); }
}

.nav__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--yellow) !important;
  color: var(--black) !important;
  padding: 0.55rem 1.375rem !important;
  border-radius: 100px;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1 !important;
  transition: all 0.25s var(--ease) !important;
  box-shadow: none;
}
.nav__cta:hover {
  background: var(--black) !important;
  color: var(--yellow) !important;
  box-shadow: none;
}
/* Keep yellow button readable when nav is transparent over hero */
.nav:not(.scrolled) .nav__cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  border: none !important;
  backdrop-filter: none;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s var(--ease);
}
.nav__burger.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem var(--pad) 3rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
}

.nav__mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__mobile a {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--black);
}

/* =============================================
   HERO
   ============================================= */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  /* Text is white when there's a bg image/video */
  color: var(--white);
}

/* ==============================================
   HOME HERO — reference layout (mh = MOOCO Header)
   Absolute-positioned pieces matching the reference:
   logo top-left, small M badge upper-left, big headline mid.
   ============================================== */
.hero.mh {
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 0;
}
.mh__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.mh__logo {
  position: absolute;
  left: 5.7vw;
  top: 12.5vh;
  font-family: var(--font-display, sans-serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  letter-spacing: 0.02em;
  color: #fff;
  user-select: none;
  will-change: transform;
}
.mh__badge {
  position: absolute;
  left: 19.6vw;
  top: 26.3vh;
  width: clamp(18px, 1.6vw, 26px);
  height: clamp(18px, 1.6vw, 26px);
  border: 1.5px solid var(--yellow, #FFD400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, sans-serif);
  font-size: clamp(8px, 0.7vw, 11px);
  font-weight: 700;
  color: var(--yellow, #FFD400);
  user-select: none;
  animation: mhBadgePulse 2.6s ease-in-out infinite;
  will-change: transform;
}
@keyframes mhBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.35); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 212, 0, 0); }
}
.mh__headline {
  position: absolute;
  left: 22.5vw;
  top: 34vh;
  right: 4vw;
  font-family: var(--font-display, sans-serif);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  will-change: transform;
}
.mh__headline--yellow { color: var(--yellow, #FFD400); }

/* Hide the old .hsearch__* pieces inside .mh */
.hero.mh .hsearch__center,
.hero.mh .hsearch__bottom,
.hero.mh .hsearch__panel { display: none; }

@media (max-width: 780px) {
  .mh__logo   { left: 5vw; top: 8vh; }
  .mh__badge  { left: 8vw; top: 26vh; }
  .mh__headline { left: 8vw; right: 8vw; top: 32vh; font-size: clamp(2rem, 10vw, 3.5rem); }
}

/* SVG overlay on top of hero video, with per-element fade on scroll */
.hero-overlay-svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay-svg svg {
  width: 75%;
  height: 75%;
  display: block;
}
@media (max-width: 700px) {
  .hero-overlay-svg svg {
    width: 115%;
    height: 115%;
  }
}
.hero-overlay-svg [data-fade] { transition: opacity 0.15s linear; }

/* Scroll-scrubbed video background */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  overflow: hidden;
  pointer-events: none;
}
.hero-video video {
  will-change: transform;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 2;
}

/* Interactive mouse-tracking hero background (legacy — kept for fallback) */
.hero--search { background: #000 !important; }
.hero-interactive {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  pointer-events: auto;
}
.hero-interactive canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-interactive #baseCanvas { z-index: 1; }
.hero-interactive #glowCanvas { z-index: 2; pointer-events: none; }

/* Ensure hero content sits above the canvases */
.hero--search .hsearch__center,
.hero--search .hsearch__bottom,
.hero--search .hsearch__panel,
.hero--search .hero__scroll {
  position: relative;
  z-index: 3;
}

/* --- Background layer --- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  background: var(--black);
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Gradient overlay for legibility --- */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.40) 40%,
    rgba(0, 0, 0, 0.80) 100%
  );
}

/* --- Content sits above bg and overlay --- */
.hero__content {
  position: relative;
  z-index: 2;
}

.hero__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 2.5rem;
  color: var(--white);
}

.hero__title em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
}

.hero__sub {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero__sub p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 380px;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-lr;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollLine 1.5s ease infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* =============================================
   MARQUEE
   ============================================= */

.marquee-wrap {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  padding: 1rem 0;
  background: var(--white);
}

.marquee {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   CAPABILITIES
   ============================================= */

.caps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.cap-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.cap-item:hover { text-decoration: none; }

/* Vertical offsets for staggered feel */
.cap-item--push    { margin-top: 3rem; }
.cap-item--push-lg { margin-top: 5.5rem; }
/* All capability images share the same aspect ratio for visual consistency */
.cap-item--tall .cap-item__img { aspect-ratio: 1/1; }

/* Number — large, outside/above the photo */
.cap-item__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Photo */
.cap-item__img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
}

@keyframes capZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.cap-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(15%);
  animation: capZoom 6s ease-in-out infinite;
}

/* Each item slightly offset so they don't all pulse together */
.cap-item:nth-child(1) .cap-item__img img { animation-delay: 0s; }
.cap-item:nth-child(2) .cap-item__img img { animation-delay: -1.2s; }
.cap-item:nth-child(3) .cap-item__img img { animation-delay: -2.4s; }
.cap-item:nth-child(4) .cap-item__img img { animation-delay: -3.6s; }
.cap-item:nth-child(5) .cap-item__img img { animation-delay: -4.8s; }

.cap-item:hover .cap-item__img img {
  animation-play-state: paused;
  transform: scale(1.06);
  filter: grayscale(0%);
}

/* Text below the image */
.cap-item__body {
  padding: 0.9rem 0 0;
}

.cap-item h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
  color: var(--black);
}

.cap-item__loom-logo {
  display: block;
  height: 1.6rem;
  width: auto;
  margin-bottom: 0.15rem;
}

.cap-item p {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.3;
}

.cap-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  margin-top: 0rem;
}

/* Arrow sits inline next to the subtitle text */
.cap-item__body p {
  display: inline;
}

.cap-item__body .cap-item__btn {
  display: inline;
  margin-left: 0.3rem;
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 700;
  transition: margin-left 0.2s var(--ease);
}

.cap-item:hover .cap-item__btn {
  margin-left: 0.5rem;
}

/* =============================================
   MOOCO.FLOW
   ============================================= */

.flow__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.flow__left p {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 380px;
}

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow__step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.flow__step:last-child {
  border-bottom: none;
}

.flow__step-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yellow);
  padding-top: 0.2rem;
  min-width: 16px;
}

.flow__step strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.flow__step p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* =============================================
   MOOCO.FLOW PRODUCT
   ============================================= */

.flow-product {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 5vw, 5rem) 0;
  color: var(--white);
  overflow: hidden;
  background: #000;
}

.flow-product__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  overflow: hidden;
}

.flow-product__bg-placeholder {
  width: 100%;
  height: 100%;
  background: #0a0a0a;
}

.flow-product__bg video,
.flow-product__bg-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-product__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.52);
}

/* LOOM — woven thread texture */
.flow-product::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 14px,
      rgba(255, 255, 255, 0.018) 14px,
      rgba(255, 255, 255, 0.018) 15px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 14px,
      rgba(255, 255, 255, 0.018) 14px,
      rgba(255, 255, 255, 0.018) 15px
    );
  pointer-events: none;
  z-index: 1;
}

.flow-product__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 3rem);
}

/* Header */
.flow-product__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── LOOM accent #FF6D00 (readable purple) ── */
.flow-product__label,
.flow-product__quote em,
.flow-product__step span,
.flow-product__cta span {
  color: #FF6D00 !important;
}

.flow-product__title {
  color: #FF6D00;
}

.flow-product__quote {
  border-left-color: #FF6D00 !important;
}

/* Nav link Loom */
.nav a[href="loom.html"],
.nav__list a[href="loom.html"] {
  color: #FF6D00 !important;
}

.flow-product__logo {
  display: block;
  width: clamp(260px, 34vw, 500px);
  height: auto;
  margin-bottom: 1.5rem;
}

/* ============================================================
   LOOM logo as a recolorable mark (always MOOCO purple)
   Rendered via CSS mask so it adopts #FF6D00 everywhere.
   ============================================================ */
.loom-logo {
  display: inline-block;
  aspect-ratio: 1920 / 1080;
  background-color: #FF6D00;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%3Csvg%20id%3D%22Capa_1%22%20data-name%3D%22Capa%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201920%201080%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.cls-1%20%7B%20fill%3A%20%23040404%3B%20%7D%20.cls-2%20%7B%20fill%3A%20%23000100%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cg%3E%20%3Cpath%20class%3D%22cls-2%22%20d%3D%22M1146.51%2C419.24h71.08s32.44%2C172.05%2C32.44%2C172.05h5.64s33.28-172.05%2C33.28-172.05h71.36v201.38h-35.82v-172.05s-5.64%2C0-5.64%2C0l-36.38%2C172.05h-59.8s-34.69-172.05-34.69-172.05h-5.64s0%2C172.05%2C0%2C172.05h-35.82v-201.38Z%22%2F%3E%20%3Cpath%20class%3D%22cls-2%22%20d%3D%22M938.08%2C520.78c0-62.33%2C41.74-104.08%2C104.08-104.08%2C62.62%2C0%2C104.36%2C41.74%2C104.36%2C104.08%2C0%2C62.9-41.74%2C104.92-104.36%2C104.92-62.33%2C0-104.08-42.03-104.08-104.92ZM1110.69%2C520.78c0-42.03-27.36-70.23-68.54-70.23-40.9%2C0-68.26%2C28.2-68.26%2C70.23%2C0%2C42.59%2C27.36%2C71.08%2C68.26%2C71.08%2C41.18%2C0%2C68.54-28.49%2C68.54-71.08Z%22%2F%3E%20%3Cpath%20class%3D%22cls-2%22%20d%3D%22M730.01%2C520.78c0-62.33%2C41.74-104.08%2C104.08-104.08%2C62.62%2C0%2C104.36%2C41.74%2C104.36%2C104.08%2C0%2C62.9-41.74%2C104.92-104.36%2C104.92-62.33%2C0-104.08-42.03-104.08-104.92ZM902.62%2C520.78c0-42.03-27.36-70.23-68.54-70.23-40.9%2C0-68.26%2C28.2-68.26%2C70.23%2C0%2C42.59%2C27.36%2C71.08%2C68.26%2C71.08%2C41.18%2C0%2C68.54-28.49%2C68.54-71.08Z%22%2F%3E%20%3C%2Fg%3E%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M765.83%2C593.2c-11.75%2C19.75-31.5%2C32.25-54.5%2C32.25-116.5.25-76.5.25-76.5.25-16-1-30.5-6-41.5-17.75-9-9.75-15-23-15-37l-.25-148.25h40.75v141.25c0%2C12.25%2C9.5%2C21.75%2C22%2C21.75%2C107.5%2C0%2C67.5%2C0%2C67.5%2C0%2C14.75%2C0%2C26.5-11.75%2C27.75-26l29.75%2C33.5Z%22%2F%3E%20%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%3Csvg%20id%3D%22Capa_1%22%20data-name%3D%22Capa%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201920%201080%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.cls-1%20%7B%20fill%3A%20%23040404%3B%20%7D%20.cls-2%20%7B%20fill%3A%20%23000100%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cg%3E%20%3Cpath%20class%3D%22cls-2%22%20d%3D%22M1146.51%2C419.24h71.08s32.44%2C172.05%2C32.44%2C172.05h5.64s33.28-172.05%2C33.28-172.05h71.36v201.38h-35.82v-172.05s-5.64%2C0-5.64%2C0l-36.38%2C172.05h-59.8s-34.69-172.05-34.69-172.05h-5.64s0%2C172.05%2C0%2C172.05h-35.82v-201.38Z%22%2F%3E%20%3Cpath%20class%3D%22cls-2%22%20d%3D%22M938.08%2C520.78c0-62.33%2C41.74-104.08%2C104.08-104.08%2C62.62%2C0%2C104.36%2C41.74%2C104.36%2C104.08%2C0%2C62.9-41.74%2C104.92-104.36%2C104.92-62.33%2C0-104.08-42.03-104.08-104.92ZM1110.69%2C520.78c0-42.03-27.36-70.23-68.54-70.23-40.9%2C0-68.26%2C28.2-68.26%2C70.23%2C0%2C42.59%2C27.36%2C71.08%2C68.26%2C71.08%2C41.18%2C0%2C68.54-28.49%2C68.54-71.08Z%22%2F%3E%20%3Cpath%20class%3D%22cls-2%22%20d%3D%22M730.01%2C520.78c0-62.33%2C41.74-104.08%2C104.08-104.08%2C62.62%2C0%2C104.36%2C41.74%2C104.36%2C104.08%2C0%2C62.9-41.74%2C104.92-104.36%2C104.92-62.33%2C0-104.08-42.03-104.08-104.92ZM902.62%2C520.78c0-42.03-27.36-70.23-68.54-70.23-40.9%2C0-68.26%2C28.2-68.26%2C70.23%2C0%2C42.59%2C27.36%2C71.08%2C68.26%2C71.08%2C41.18%2C0%2C68.54-28.49%2C68.54-71.08Z%22%2F%3E%20%3C%2Fg%3E%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M765.83%2C593.2c-11.75%2C19.75-31.5%2C32.25-54.5%2C32.25-116.5.25-76.5.25-76.5.25-16-1-30.5-6-41.5-17.75-9-9.75-15-23-15-37l-.25-148.25h40.75v141.25c0%2C12.25%2C9.5%2C21.75%2C22%2C21.75%2C107.5%2C0%2C67.5%2C0%2C67.5%2C0%2C14.75%2C0%2C26.5-11.75%2C27.75-26l29.75%2C33.5Z%22%2F%3E%20%3C%2Fsvg%3E") center / contain no-repeat;
  vertical-align: middle;
}
.loom-logo--nav {
  width: 110px;
  margin: 0 -22px;
  flex-shrink: 0;
  /* The visible glyph sits in the upper half of the SVG viewBox;
     nudge the masked element down so it lines up with neighbour text. */
  transform: translateY(15px);
}
.loom-logo--hero   { width: clamp(180px, 22vw, 300px); display: block; margin-bottom: 1.5rem; }
.loom-logo--module { width: clamp(160px, 18vw, 260px); display: block; margin-bottom: 1.25rem; }

/* Inline body mentions: keep as readable styled text */
.loom-word {
  color: #FF6D00;
  font-weight: 700;
}

.flow-product__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FF6D00;
}

.flow-product__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 620px;
}

/* Mid */
.flow-product__mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.flow-product__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
}

.flow-product__quote {
  border-left: 2px solid var(--yellow);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.flow-product__quote p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.9);
}

.flow-product__quote em {
  font-style: normal;
  color: var(--yellow);
}

/* Steps */
.flow-product__bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.flow-product__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flow-product__step {
  padding: 0;
}

.flow-product__step span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 0.4rem;
}

.flow-product__step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.flow-product__step p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
}

/* CTA */
.flow-product__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 0.25rem;
  width: fit-content;
  transition: gap 0.2s var(--ease), border-color 0.2s;
  letter-spacing: 0.02em;
}

.flow-product__cta span {
  color: var(--yellow);
  transition: transform 0.2s var(--ease);
}

.flow-product__cta:hover {
  gap: 1rem;
  border-color: var(--white);
}

.flow-product__cta:hover span {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
  .flow-product__mid {
    grid-template-columns: 1fr;
  }
  .flow-product__stats {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    flex-direction: row;
    gap: 0;
  }
  .flow-product__stat {
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    padding: 0 1rem 0 0;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .flow-product__stat:last-child { border-right: none; }
  .flow-product__steps {
    grid-template-columns: 1fr 1fr;
  }
  .flow-product__step:nth-child(2) { border-right: none; }
  .flow-product__step:nth-child(3),
  .flow-product__step:nth-child(4) {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}


/* =============================================
   WORK — Hover Preview (Monks-style)
   ============================================= */

.section--work-hover {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
  position: relative;
}

.work-hover {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 4%;
  align-items: start;
}

.work-hover__header {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
}

.work-hover__list {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
}

.wh-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--black);
  border-top: 1px solid var(--gray-200);
  padding: 1rem 0;
  transition: color 0.2s;
}
.wh-item:last-child { border-bottom: 1px solid var(--gray-200); }

.wh-item__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  flex: 1;
  transition: transform 0.35s var(--ease);
}

.wh-item__cat {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.wh-item__arrow {
  color: var(--black);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
  flex-shrink: 0;
}

.wh-item:hover .wh-item__title       { transform: translateX(10px); }
.wh-item:hover .wh-item__cat         { opacity: 1; transform: translateY(0); }
.wh-item:hover .wh-item__arrow       { opacity: 1; transform: translateX(0); color: var(--yellow); }

.work-hover__list:has(.wh-item:hover) .wh-item:not(:hover) { color: var(--gray-200); }
.work-hover__list:has(.wh-item:hover) .wh-item:not(:hover) .wh-item__cat { color: var(--gray-200); }

.wh-footer {
  grid-column: 2;
  grid-row: 3;
  padding-top: 2rem;
}

/* Preview — follows hovered item vertically */
.wh-preview {
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease), top 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-hover:has(.wh-item:hover) .wh-preview { opacity: 1; }

.wh-preview-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  background-image: url('../assets/Proyectos/Pandora/proyecto_pandora_image-09.jpg');
  background-size: cover;
  background-position: center;
}

.wh-preview-img.active { opacity: 1; }
.wh-preview-img video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .work-hover {
    display: block;
  }
  .wh-preview { display: none; }
  .wh-item__title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .wh-footer { padding-top: 1.5rem; }
}

/* =============================================
   WORK (old grid kept for work.html)
   ============================================= */

.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.work-item {
  display: block;
  cursor: pointer;
}

.work-item--wide {
  grid-column: 1 / -1;
}

.work-item__img {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--gray-100);
  overflow: hidden;
  border-radius: 2px;
}

.work-item--wide .work-item__img {
  aspect-ratio: 21/9;
}

.work-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.work-item:hover .work-item__overlay {
  opacity: 1;
}

.work-item__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
}

.work-item__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  mix-blend-mode: multiply;
}

.work-item:hover .work-item__img::after {
  opacity: 0.08;
}

.work-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.work-item:hover .work-item__img img {
  transform: scale(1.03);
}

.work-item__info {
  padding: 1rem 0 0.25rem;
}

.work-item__info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.work-item__info p {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* =============================================
   INDUSTRIES
   ============================================= */

.industries__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.industry-item {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--gray-200);
}

.industry-item:last-child {
  border-right: none;
  padding-right: 0;
}

.industry-item__num {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.industry-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.industry-item p {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* =============================================
   AI STUDIO — HOMEPAGE
   ============================================= */

.ai-home {
  background: #181818;
  color: var(--white);
  padding: clamp(4rem, 8vw, 7rem) 0 0;
  overflow: hidden;
}

.ai-home__top {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.ai-home__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--white);
  grid-column: 2;
}

.ai-home__title em {
  color: var(--yellow);
  font-style: normal;
}

.ai-home__tag {
  padding-top: 0.5rem;
}

.ai-home__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  align-self: end;
  padding-bottom: 0.5rem;
}

/* Cards row — full bleed */
.ai-home__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ai-home__card {
  padding: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 340px;
  position: relative;
  transition: background 0.3s var(--ease);
  cursor: default;
}

.ai-home__card:last-child {
  border-right: none;
}

.ai-home__card:hover {
  background: rgba(255,255,255,0.03);
}

/* Cards with background image */
.ai-home__card--img,
.ai-home__card--yellow.ai-home__card--img {
  overflow: hidden;
  border: none;
}

/* Background image layer con zoom en hover */
.ai-home__card--img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.ai-home__card--img:hover::after {
  transform: scale(1.08);
}

/* Overlay encima de la imagen */
.ai-home__card--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  transition: background 0.4s var(--ease);
  z-index: 1;
}

.ai-home__card--img:hover::before {
  background: rgba(0, 0, 0, 0.52);
}

.ai-home__card--yellow.ai-home__card--img::before {
  background: rgba(255, 213, 0, 0.85);
}

.ai-home__card--yellow.ai-home__card--img:hover::before {
  background: rgba(255, 213, 0, 0.70);
}

/* Contenido encima de overlay */
.ai-home__card--img > * {
  position: relative;
  z-index: 2;
}

.ai-home__card--yellow {
  background: var(--yellow);
  border-color: var(--yellow);
}

.ai-home__card--yellow:hover {
  background: #e8bf00;
}

.ai-home__card-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.04em;
}

.ai-home__card--yellow .ai-home__card-num {
  color: rgba(0,0,0,0.1);
}

.ai-home__card-body {
  flex: 1;
}

.ai-home__card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.875rem;
  color: var(--white);
}

.ai-home__card--yellow h3 {
  color: var(--black);
}

.ai-home__card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.ai-home__card--yellow p {
  color: rgba(0,0,0,0.6);
}

.ai-home__card-arrow {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.2);
  align-self: flex-end;
  transition: color 0.2s, transform 0.2s;
}

.ai-home__card--yellow .ai-home__card-arrow {
  color: rgba(0,0,0,0.3);
}

.ai-home__card:hover .ai-home__card-arrow {
  color: var(--yellow);
  transform: translateX(4px);
}

.ai-home__card--yellow:hover .ai-home__card-arrow {
  color: var(--black);
}

.ai-home__bottom {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .ai-home__top { grid-template-columns: 1fr; gap: 1rem; }
  .ai-home__cards { grid-template-columns: 1fr; }
  .ai-home__card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); min-height: auto; }
  .ai-home__card--yellow { border-color: var(--yellow); }
}

/* =============================================
   INSIGHTS — HOMEPAGE (background image style)
   ============================================= */

.insights-bg {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  color: var(--white);
}

.insights-bg__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.insights-bg__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: dvSlide 16s infinite;
}

.insights-bg__slide:nth-child(1) { animation-delay: 0s; }
.insights-bg__slide:nth-child(2) { animation-delay: 4s; }
.insights-bg__slide:nth-child(3) { animation-delay: 8s; }
.insights-bg__slide:nth-child(4) { animation-delay: 12s; }

@keyframes dvSlide {
  0%         { opacity: 0; transform: scale(1); }
  5%         { opacity: 1; }
  25%        { opacity: 1; transform: scale(1.04); }
  30%        { opacity: 0; transform: scale(1.04); }
  100%       { opacity: 0; transform: scale(1); }
}

.insights-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1;
  pointer-events: none;
}

.insights-bg__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 4rem);
}

/* Header */
.insights-bg__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.insights-bg__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.insights-bg__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--white);
}

/* Mid: desc + quote */
.insights-bg__mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.insights-bg__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 460px;
}

.insights-bg__quote {
  border-left: 3px solid var(--yellow);
  padding-left: 1.5rem;
}

.insights-bg__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.insights-bg__quote em {
  color: var(--yellow);
  font-style: normal;
}

/* Bottom: report list + CTA */
.insights-bg__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* ── TICKER ── */
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.insights-ticker {
  overflow: hidden;
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  position: relative;
  z-index: 3;
}

.insights-ticker__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.insights-ticker:has(.insights-ticker__card:hover) .insights-ticker__track {
  animation-play-state: paused;
}

.insights-ticker__card {
  position: relative;
  width: 220px;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  /* background set inline per card */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: transform 0.3s var(--ease);
}

.insights-ticker__card:hover {
  transform: scale(1.03);
}

.insights-ticker__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
  z-index: 0;
  transition: background 0.3s var(--ease);
}

.insights-ticker__card:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.0) 55%, transparent 100%);
}

.insights-ticker__card > * {
  position: relative;
  z-index: 1;
}

.insights-ticker__card .insights-bg__num {
  font-size: 1.8rem;
  color: rgba(255,255,255,0.15);
  margin-bottom: 0.1rem;
}

.insights-ticker__card strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  display: block;
  margin-bottom: 0.25rem;
}

.insights-ticker__card .insights-bg__free {
  font-size: 0.65rem;
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insights-bg__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.insights-bg__report strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.insights-bg__report p {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insights-bg__free {
  color: var(--yellow) !important;
}

.insights-bg__cta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s var(--ease);
  flex-shrink: 0;
}

.insights-bg__cta:hover {
  gap: 1rem;
}

@media (max-width: 768px) {
  .insights-bg__mid { grid-template-columns: 1fr; }
  .insights-bg__reports { grid-template-columns: repeat(2, 1fr); }
  .insights-bg__bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   DESIGN VISIONS — FULL PAGE
   ============================================= */

.page-hero--dark {
  background: var(--black);
}

.page-hero--dark .page-hero__title,
.page-hero--dark .page-hero__sub {
  color: var(--white);
}

/* Intro split */
.dv-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.dv-intro__left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.dv-intro__right p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.dv-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dv-intro__tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  color: var(--gray-600);
}

/* Reports grid */
.dv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.dv-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--black);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.dv-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.dv-card--locked {
  opacity: 0.75;
}

.dv-card--locked:hover {
  opacity: 1;
  transform: none;
  box-shadow: none;
  cursor: default;
}

.dv-card__cover {
  background: var(--black);
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  overflow: hidden;
}

.dv-card__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--dvr-bg);
  background-size: cover;
  background-position: center;
  transform-origin: left center;
  transform: scale(1) translateX(0%);
  transition: transform 0.7s ease-out;
  z-index: 0;
}

.dv-card:hover .dv-card__cover::before {
  transform: scale(1.18) translateX(3%);
  transition: transform 7s ease-out;
}

.dv-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.dv-card__cover--07 { --dvr-bg: url('../assets/DVR/web_header_dvr7.webp'); }
.dv-card__cover--06 { --dvr-bg: url('../assets/DVR/dvr_image-07.jpg'); }
.dv-card__cover--05 { --dvr-bg: url('../assets/DVR/dvr_image-12.jpg'); }
.dv-card__cover--04 { --dvr-bg: url('../assets/DVR/dvr_image-13.jpg'); }
.dv-card__cover--03 { --dvr-bg: url('../assets/DVR/dvr_image-10.jpg'); }
.dv-card__cover--02 { --dvr-bg: url('../assets/DVR/dvr_image-11.jpg'); }
.dv-card__cover--01 { --dvr-bg: url('../assets/DVR/dvr_image-09.jpg'); }

.dv-card__edition {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 2;
  line-height: 1;
}

.dv-card__badge {
  background: var(--yellow);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

.dv-card__badge--dark {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
}

.dv-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dv-card__series {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.dv-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.dv-card__desc {
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.dv-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  transition: letter-spacing 0.2s;
}

.dv-card:hover .dv-card__link {
  letter-spacing: 0.04em;
}

.dv-card__link--locked {
  color: var(--gray-400);
}

/* Pitch section */
.dv-pitch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.dv-pitch__left p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.dv-pitch__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.dv-pitch__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.dv-pitch__icon {
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.dv-pitch__who {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}

.dv-pitch__who h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.dv-pitch__who-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dv-pitch__who-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.dv-pitch__who-item p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .insights-home__header { flex-direction: column; align-items: flex-start; }
  .dv-featured { grid-template-columns: 1fr; }
  .dv-featured__body { padding: 1.5rem; }
  .dv-grid { grid-template-columns: 1fr; }
  .dv-intro { grid-template-columns: 1fr; }
  .dv-pitch { grid-template-columns: 1fr; }
  .insights-home__pitch { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   ABOUT
   ============================================= */

.about__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about__statement {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
  font-weight: 400;
  color: var(--gray-700);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.about__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.about__links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s;
}

.about__links a:hover {
  border-color: var(--black);
}

/* =============================================
   CTA
   ============================================= */

.cta {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 1rem 0 1.25rem;
}

.cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta__info {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.cta__info span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__logo {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer__brand p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  white-space: nowrap;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__col strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer__col ul li {
  margin-bottom: 0.4rem;
}

.footer__col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer__col ul li a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__bottom span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .caps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cap-item:nth-child(3) {
    border-right: none;
  }
  .cap-item:nth-child(4) {
    border-right: 1px solid var(--gray-200);
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
  }
  .cap-item:nth-child(5) {
    border-right: none;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
  }
  .industries__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-item:nth-child(2) {
    border-right: none;
  }
  .industry-item:nth-child(3),
  .industry-item:nth-child(4) {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: block; }

  .hero__title {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .flow__inner,
  .ai__inner,
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .work__grid {
    grid-template-columns: 1fr;
  }

  .work-item--wide {
    grid-column: 1;
  }

  .caps__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cap-item:nth-child(2) { border-right: none; }
  .cap-item:nth-child(3) { border-right: 1px solid var(--gray-200); border-top: 1px solid var(--gray-200); padding-top: 2rem; }
  .cap-item:nth-child(4) { border-top: 1px solid var(--gray-200); padding-top: 2rem; border-right: none; }
  .cap-item:nth-child(5) { grid-column: 1 / -1; border-right: none; border-top: 1px solid var(--gray-200); padding-top: 2rem; }

  .industries__list {
    grid-template-columns: 1fr;
  }
  .industry-item {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0;
  }
  .industry-item:last-child {
    border-bottom: none;
  }

  .insights__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* =============================================
   SUBPAGE — Shared page hero
   ============================================= */

.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-hero--dark {
  background: var(--black);
  color: var(--white);
}

/* Research page hero with DVR header image */
.page-hero--research {
  position: relative;
  overflow: hidden;
}

.page-hero--research::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/Solutions/header_trend_intelligence.gif');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
}

/* When Vimeo video header is present, suppress the GIF background */
.page-hero--video::before { background-image: none !important; }
.page-hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
}

.page-hero--research .container {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 1.5rem;
}

.page-hero__sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--gray-700);
  max-width: 540px;
  line-height: 1.65;
}

/* nav active state */
.nav__links a.active {
  color: var(--black) !important;
  font-weight: 700 !important;
}

/* section divider */
.section-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0 var(--pad);
  max-width: calc(var(--max-w) - 2 * var(--pad));
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   WORK PAGE
   ============================================= */

.work-filter {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}

.work-filter__inner {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.4rem 1rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  background: none;
  border-radius: 100px;
  cursor: pointer;
  color: var(--gray-700);
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.section--work-full {
  padding-top: 2rem;
}

.work-full__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.work-full-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.2s;
  cursor: pointer;
}

.work-full-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.work-full-item:hover {
  background: var(--gray-100);
}

.work-full-item__img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.work-full-item__img .work-item__overlay {
  opacity: 0;
  transition: opacity 0.3s;
}

.work-full-item:hover .work-item__overlay {
  opacity: 1;
}

.work-full-item__info {
  padding: 1rem 0 1rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-full-item__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.work-full-item__meta span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.work-full-item__info h2 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.work-full-item__info p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 1.25rem;
}

.work-full-item__cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  transition: letter-spacing 0.2s;
}

.work-full-item:hover .work-full-item__cta {
  letter-spacing: 0.04em;
}

/* =============================================
   WORK PAGE — HERO
   ============================================= */

.page-hero--work {
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--gray-200);
}

.wk-hero__top {
  display: flex;
  align-items: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.wk-hero__count {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.wk-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--black);
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.wk-hero__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--gray-500);
}

.wk-hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wk-hero__sub {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}

/* =============================================
   WORK PAGE — BUILDERS CLUB GRID
   ============================================= */

.wk-section {
  padding: 0;
}

.wk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.wk-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Figure — edge to edge, uniform 16:9 */
.wk-card__fig {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin: 0;
  background: #111;
}

.wk-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.wk-card:hover .wk-card__bg {
  transform: scale(1.04);
}
.wk-card__bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info overlay — hidden by default, reveals on hover */
.wk-card__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.wk-card:hover .wk-card__info {
  opacity: 1;
}

.wk-card__cat {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

.wk-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 0;
}

.wk-card__client {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 600px) {
  .wk-grid { grid-template-columns: 1fr; }
  .wk-card__info { opacity: 1; background: rgba(0,0,0,0.5); }
}

/* =============================================
   CASE STUDY PAGE
   ============================================= */

/* Hero */
.cs-hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cs-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cs-hero__video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cs-hero__video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.8vh; /* 16:9 based on height */
  height: 100%;
  min-width: 100%;
  min-height: 56.25vw; /* 16:9 based on width */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cs-hero__img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.cs-hero__img-bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.cs-hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.cs-hero__meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.cs-hero__cat {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.cs-hero__year {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}

.cs-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 1rem;
}

.cs-hero__title em {
  font-style: normal;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

.cs-hero__client {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.cs-back {
  position: absolute;
  top: calc(var(--nav-h) + 1.5rem);
  left: var(--pad);
  z-index: 10;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-back:hover { color: var(--white); }

/* Intro */
.cs-intro {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--gray-200);
}
.cs-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.cs-intro__desc {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--gray-700);
}
.cs-intro__right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cs-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
}
.cs-stat__label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  line-height: 1.3;
}

/* Full-bleed images */
.cs-full-img {
  width: 100%;
  aspect-ratio: 16/7;
  background-size: cover;
  background-position: center;
}
.cs-full-img--tall { aspect-ratio: 16/9; }

/* Image pair */
.cs-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cs-img-pair__left,
.cs-img-pair__right {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.cs-img-pair__left video,
.cs-img-pair__right video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Vertical variant — shows assets at their natural portrait proportions */
.cs-img-pair--vertical .cs-img-pair__left,
.cs-img-pair--vertical .cs-img-pair__right {
  aspect-ratio: 9/16;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #000;
  max-width: 50%;
  width: 100%;
}
.cs-img-pair--vertical .cs-img-pair__left { margin-left: auto; margin-right: 0; }
.cs-img-pair--vertical .cs-img-pair__right { margin-right: auto; margin-left: 0; }
.cs-img-pair--vertical .cs-img-pair__left video,
.cs-img-pair--vertical .cs-img-pair__right video {
  object-fit: contain;
}

/* Body content */
.cs-body__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.cs-body__block--wide {
  grid-column: 1 / -1;
  max-width: 820px;
}
.cs-body__tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}
.cs-body__tag::before {
  content: "";
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.5em;
  background-color: currentColor;
  -webkit-mask: var(--mo-icon, url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-02.svg')) center / contain no-repeat;
          mask: var(--mo-icon, url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-02.svg')) center / contain no-repeat;
  vertical-align: -0.1em;
}
.cs-body__tag:nth-of-type(1)::before,
.cs-body__block:nth-of-type(1) .cs-body__tag::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-04.svg'); }
.cs-body__block:nth-of-type(2) .cs-body__tag::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-07.svg'); }
.cs-body__block:nth-of-type(3) .cs-body__tag::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-10.svg'); }
.cs-body__block:nth-of-type(4) .cs-body__tag::before { --mo-icon: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-12.svg'); }
.cs-body__heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}
.cs-body__block p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

/* Results */
.cs-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.cs-results__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.cs-result-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.cs-result-stat__label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .cs-intro__grid, .cs-body__grid, .cs-results { grid-template-columns: 1fr; gap: 2.5rem; }
  .cs-intro__right { grid-template-columns: repeat(3, 1fr); }
  .cs-results__right { grid-template-columns: 1fr 1fr; }
  .cs-img-pair { grid-template-columns: 1fr; }
  .cs-body__block--wide { grid-column: 1; }
}

/* Video embed */
.cs-video {
  width: 100%;
  background: #000;
}

.cs-video--contained {
  padding: 0;
  background: var(--white);
}

.cs-video--contained .cs-video__wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.cs-video__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

/* When the wrapper contains a plain <img>, let it size to natural
   aspect so there's no black gap under short/tall images. */
.cs-video__wrapper:has(> img) {
  padding-bottom: 0;
  height: auto;
}

.cs-video__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cs-video__caption {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem var(--pad) 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Client references strip — small, horizontal */
.cs-refs {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.cs-refs__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: 0.85rem;
}
.cs-refs__label::before {
  content: "";
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.5em;
  background-color: currentColor;
  -webkit-mask: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-08.svg') center / contain no-repeat;
          mask: url('../assets/MOOCO Brand/Iconos/mooco-brand_iconos_image-08.svg') center / contain no-repeat;
  vertical-align: -0.1em;
}

.cs-refs__strip {
  display: flex;
  gap: 0.5rem;
}

.cs-refs__img {
  flex: 1;
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  opacity: 0.7;
  filter: grayscale(20%);
  transition: opacity 0.3s, filter 0.3s;
}

.cs-refs__img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.cs-refs__img { overflow: hidden; }
.cs-refs__img video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vertical variant — taller frame so portrait images breathe */
.cs-refs__strip--vertical .cs-refs__img {
  height: clamp(280px, 26vw, 420px);
}

/* Event photo — contained, full visible */
.cs-event-photo {
  padding: 0;
  background: #000;
}

.cs-event-photo__img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  margin: 0 auto;
}

/* ── END CASE STUDY ── */

.case-structure {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.case-structure__item {
  flex: 1;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--gray-200);
}

.case-structure__item:last-child {
  border-right: none;
}

.case-structure__num {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.case-structure__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.case-structure__item p {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.55;
}

.case-structure__arrow {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  font-size: 1.2rem;
  color: var(--gray-200);
  flex-shrink: 0;
}

/* =============================================
   INDUSTRIES PAGE
   ============================================= */

.industry-detail {
  padding: 1rem 0 2rem;
}

.industry-detail__header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.industry-detail__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.industry-detail__header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.industry-detail__body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.industry-detail__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.industry-detail__services {
  margin-top: 1.5rem;
}

.industry-detail__services strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.industry-detail__services ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 2rem;
}

.industry-detail__services ul li {
  font-size: 0.85rem;
  color: var(--black);
  padding-left: 0.75rem;
  position: relative;
}

.industry-detail__services ul li::before {
  content: '—';
  position: absolute;
  left: -0.5rem;
  color: var(--gray-500);
  font-size: 0.7rem;
}

.industry-detail__clients {
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
}

.industry-detail__clients strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.industry-detail__client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.industry-detail__client-list span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: var(--gray-100);
  border-radius: 100px;
  color: var(--black);
}

/* =============================================
   AI STUDIO PAGE
   ============================================= */

/* ============================================
   AI STUDIO PAGE — redesigned
   ============================================ */

/* Hero */
.ais-hero {
  min-height: 100vh;
  background: #0a0a0a;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}
.ais-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
}
.ais-hero__inner {
  position: relative;
  z-index: 2;
}
.ais-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 1.5rem 0 2rem;
}
.ais-hero__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--yellow);
}
.ais-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 520px;
}
.ais-hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--pad);
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  z-index: 2;
}

/* Philosophy */
.ais-philosophy {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f7f7f5;
}
.ais-phil__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.ais-phil__statement p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin: 0 0 1rem;
}
.ais-phil__statement span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}
.ais-phil__pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}
.ais-phil__pillar {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
  min-width: 0;
}
.ais-phil__pillar > div,
.ais-phil__pillar h3,
.ais-phil__pillar p {
  min-width: 0;
}
.ais-phil__pillar:last-child { border-bottom: none; padding-bottom: 0; }
.ais-phil__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gray-400, #aaa);
  padding-top: 0.2rem;
}
.ais-phil__pillar h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ais-phil__pillar p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* Capabilities */
.ais-caps-section { background: #fff; }
.ais-caps-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}
.ais-caps-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--black);
  margin: 0;
}
.ais-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 1.2rem;
  overflow: hidden;
}
.ais-cap-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--gray-200);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ais-cap-card:last-child { border-right: none; }
.ais-cap-card--accent {
  background: var(--black);
}
.ais-cap-card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gray-200);
}
.ais-cap-card--accent .ais-cap-card__num { color: rgba(255,255,255,0.12); }
.ais-cap-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ais-cap-card--accent .ais-cap-card__title { color: #fff; }
.ais-cap-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}
.ais-cap-card--accent .ais-cap-card__list { border-color: rgba(255,255,255,0.1); }
.ais-cap-card__list li {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.ais-cap-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  color: var(--gray-400, #bbb);
}
.ais-cap-card--accent .ais-cap-card__list li { color: rgba(255,255,255,0.55); }
.ais-cap-card--accent .ais-cap-card__list li::before { color: rgba(255,255,255,0.3); }
.ais-cap-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ais-cap-card__tools span {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gray-100, #f0f0f0);
  color: var(--black);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}
.ais-cap-card--accent .ais-cap-card__tools span {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

/* Toolkit */
.ais-toolkit { background: #0a0a0a; }
.ais-toolkit__head {
  margin-bottom: 4rem;
}
.ais-toolkit__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin: 1rem 0 0.75rem;
  line-height: 1.05;
}
.ais-toolkit__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  max-width: 460px;
  line-height: 1.6;
}
.ais-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  overflow: hidden;
}
.ais-tool {
  background: #111;
  padding: 2rem 1.75rem;
  transition: background 0.2s var(--ease);
}
.ais-tool:hover { background: #161616; }
.ais-tool__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ais-tool__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.ais-tool__tags {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.ais-tool__tags span {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.ais-tool__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
}

/* Case Studies */
.ais-cases { overflow: hidden; }
.ais-cases__head {
  margin-bottom: 3rem;
}
.ais-cases__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--black);
  margin: 0.5rem 0 0;
  line-height: 1.05;
}
.ais-cases-scroll {
  overflow-x: auto;
  overflow-y: visible;
  cursor: grab;
  /* Left/right align with .container edges so cards line up with section titles */
  padding: 0 max(var(--pad), calc((100vw - var(--max-w)) / 2)) 2rem;
  scrollbar-width: none;
}
.ais-cases-scroll::-webkit-scrollbar { display: none; }
.ais-cases-scroll.is-dragging { cursor: grabbing; }
.ais-cases-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}
.ais-case {
  width: 380px;
  flex-shrink: 0;
  background: #111;
  border-radius: 1.2rem;
  padding: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: background 0.2s var(--ease);
}
.ais-case:hover { background: #161616; }
.ais-case__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.ais-case__img video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ais-case__top,
.ais-case__title,
.ais-case__desc,
.ais-case__tools {
  padding-left: 2rem;
  padding-right: 2rem;
}
.ais-case .ais-case__client,
.ais-case .ais-case__meta span,
.ais-case .ais-case__desc { color: rgba(255,255,255,0.6); }
.ais-case .ais-case__title { color: #fff; }
.ais-case .ais-case__tools span { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
/* legacy modifier kept for compatibility — same look as default now */
.ais-case--internal { background: #111; }
.ais-case__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ais-case__client {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}
.ais-case__meta {
  display: flex;
  gap: 0.5rem;
}
.ais-case__meta span {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.ais-case__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--black);
  margin: 0;
  line-height: 1.15;
}
.ais-case__desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.ais-case__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.5rem;
  border-top: 0;
}
.ais-case__tools span {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

/* Closing statement */
.ais-statement {
  padding: clamp(5rem, 12vw, 10rem) 0;
  background: var(--black);
  text-align: center;
}
.ais-statement__text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}
.ais-statement__text em {
  font-style: normal;
  font-weight: 500;
  color: var(--yellow);
}
.ais-statement__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1024px) {
  .ais-tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ais-phil__grid { grid-template-columns: 1fr; gap: 3rem; }
  .ais-caps-grid { grid-template-columns: 1fr; border-radius: 0.8rem; }
  .ais-cap-card { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .ais-cap-card:last-child { border-bottom: none; }
  .ais-tools-grid { grid-template-columns: 1fr; }
  .ais-caps-head { flex-direction: column; }
}

/* =============================================
   INSIGHTS PAGE
   ============================================= */

.insight-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.insight-featured__img {
  aspect-ratio: 16/10;
  border-radius: 2px;
  background: var(--gray-200);
}

.insight-featured__img--1 { background-color: #0a0a0a; }

.insight-featured__body .insight-card__tag {
  margin-bottom: 1rem;
}

.insight-featured__body h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.insight-featured__body p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.insight-featured__meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.insight-featured__meta span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.insights-full__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.insight-full-card {
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.insight-full-card:hover {
  border-color: var(--black);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.insight-full-card__img {
  height: 180px;
  background: var(--gray-200);
}

.insight-full-card__img--1 { background-color: #0a0a0a; }
.insight-full-card__img--2 { background-color: #111827; }
.insight-full-card__img--3 { background-color: #1a0000; }
.insight-full-card__img--4 { background-color: #0d0d1a; }
.insight-full-card__img--5 { background-color: #050510; }
.insight-full-card__img--6 { background-color: #0a1a0a; }

.insight-full-card__body {
  padding: 1.5rem;
}

.insight-full-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0.5rem 0 0.6rem;
}

.insight-full-card__body p {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.insight-full-card__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.insight-full-card__meta span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* Newsletter */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.newsletter__left p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 380px;
}

.newsletter__form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.newsletter__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  font-family: var(--font);
  font-size: 0.875rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter__input::placeholder {
  color: rgba(255,255,255,0.3);
}

.newsletter__input:focus {
  border-color: rgba(255,255,255,0.4);
}

.newsletter__note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* =============================================
   ABOUT PAGE
   ============================================= */

.about-statement {
  max-width: 820px;
}

.about-statement p {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
  font-weight: 300;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.value-item {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--gray-200);
}

.value-item:last-child {
  border-right: none;
  padding-right: 0;
}

.value-item__num {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.value-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.value-item p {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.65;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

.team-member__img {
  aspect-ratio: 3/4;
  border-radius: 2px;
  background: var(--gray-200);
  margin-bottom: 1rem;
  overflow: hidden;
}

.team-member__img--1 { background-color: #e8e8e8; }
.team-member__img--2 { background-color: #ddd; }
.team-member__img--3 { background-color: #e0e0e0; }
.team-member__img--4 { background-color: #d8d8d8; }

.team-member__info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.team-member__info p {
  font-size: 0.8rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.team-member__role {
  font-size: 0.62rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500) !important;
  margin-bottom: 0.5rem;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
}

.client-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  min-height: 92px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s ease;
}
.client-cell:hover {
  background: rgba(255,255,255,0.04);
}
.client-cell img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.client-cell:hover img {
  opacity: 1;
}

.careers__openings {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.career-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-200);
  gap: 1rem;
}

.career-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.career-item span {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* =============================================
   SUBPAGE RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-item:nth-child(2) { border-right: none; }
  .value-item:nth-child(3), .value-item:nth-child(4) {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
  }

  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .ai-caps { grid-template-columns: 1fr; }
  .insights-full__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .work-full-item {
    grid-template-columns: 1fr;
  }
  .work-full-item__info {
    padding: 1rem 0 0;
  }
  .case-structure {
    flex-direction: column;
    border: none;
    gap: 1rem;
  }
  .case-structure__item {
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    border-right: 1px solid var(--gray-200) !important;
  }
  .case-structure__arrow { display: none; }

  .industry-detail__body {
    grid-template-columns: 1fr;
  }
  .ai-stats { grid-template-columns: 1fr; }
  .ai-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
  }
  .ai-stat:last-child { border-bottom: none; }
  .ai-stat:nth-child(2) { padding-left: 0; }
  .insight-featured { grid-template-columns: 1fr; }
  .insights-full__grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: 1fr; }
  .value-item {
    border-right: none !important;
    border-top: 1px solid var(--gray-200) !important;
    padding: 1.5rem 0 !important;
  }
  .value-item:first-child { border-top: none !important; }
}

@media (max-width: 480px) {
  .caps__grid {
    grid-template-columns: 1fr;
  }
  .cap-item {
    border-right: none !important;
    border-top: 1px solid var(--gray-200) !important;
    padding: 1.5rem 0 !important;
  }
  .cap-item:first-child {
    border-top: none !important;
  }

  .cta__title {
    font-size: 2.5rem;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* =============================================
   MOOCO.FLOW PAGE
   ============================================= */

/* Hero */
.flow-page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  background: #000;
}

.flow-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

.flow-page-hero__gif,
.flow-page-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.flow-page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

/* LOOM — woven thread texture hero */
.flow-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 14px,
      rgba(255, 255, 255, 0.018) 14px,
      rgba(255, 255, 255, 0.018) 15px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 14px,
      rgba(255, 255, 255, 0.018) 14px,
      rgba(255, 255, 255, 0.018) 15px
    );
  pointer-events: none;
  z-index: 1;
}

.flow-page-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.flow-page-hero__logo {
  display: block;
  width: clamp(240px, 32vw, 460px);
  height: auto;
  margin-bottom: 1.75rem;
}

.flow-page-hero__label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.flow-page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.flow-page-hero__title em {
  color: #FF6D00;
  font-style: normal;
}

.flow-page-hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* Stats bar */
.flow-page-hero__stat-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
}

.flow-page-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.flow-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.flow-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #FF6D00;
  letter-spacing: -0.03em;
  line-height: 1;
}

.flow-stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* What section */
.flow-what {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.flow-what__left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 1rem;
}

.flow-what__right p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.flow-what__right strong {
  color: var(--black);
}

/* LOOM Journey — interactive process */
.loom-journey {
  margin-top: 3.5rem;
}

/* Rail */
.loom-journey__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 1rem;
  margin-bottom: 2.5rem;
}

.loom-journey__line {
  position: absolute;
  top: 22px;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  z-index: 0;
}

.loom-journey__line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--black);
  transition: width 600ms cubic-bezier(.65,.05,.2,1);
}

.loom-node {
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
  padding: 0 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-family: inherit;
  color: var(--gray-500);
  transition: color 250ms ease;
}

.loom-node:hover { color: var(--black); }

.loom-node__dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid var(--gray-300);
  margin-top: 14px;
  transition: all 250ms ease;
  position: relative;
}

.loom-node.is-active .loom-node__dot,
.loom-node.is-done .loom-node__dot {
  background: var(--black);
  border-color: var(--black);
  transform: scale(1.15);
}

.loom-node.is-active .loom-node__dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--black);
  opacity: 0.18;
  animation: loomPulse 1.8s ease-out infinite;
}

@keyframes loomPulse {
  0%   { transform: scale(0.9); opacity: 0.35; }
  100% { transform: scale(1.6); opacity: 0; }
}

.loom-node__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.loom-node__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.loom-node.is-active .loom-node__name,
.loom-node.is-active .loom-node__num { color: var(--black); opacity: 1; }

.loom-node__hint {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.loom-node.is-active .loom-node__hint { color: #FF6D00; }

/* Panels */
.loom-panels {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  min-height: 460px;
}

.loom-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 380ms ease, transform 480ms cubic-bezier(.2,.7,.2,1);
}

.loom-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}

.loom-panel__left {
  padding: clamp(2rem, 3.5vw, 3.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--white);
}

.loom-panel--accent .loom-panel__left {
  background: #FF6D00;
  color: var(--white);
}
.loom-panel--accent .loom-panel__title { color: var(--white); }

.loom-panel__phase {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gray-100);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  align-self: flex-start;
}

.loom-panel--accent .loom-panel__phase { background: rgba(255,255,255,0.18); color: var(--white); }

.loom-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--black);
  margin: 0;
}

.loom-panel__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 44ch;
}

.loom-panel--accent .loom-panel__desc { color: rgba(255,255,255,0.85); }

.loom-panel__meta {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}

.loom-panel--accent .loom-panel__meta { border-top-color: rgba(255,255,255,0.22); }
.loom-panel--accent .loom-panel__meta span { color: rgba(255,255,255,0.65); }
.loom-panel--accent .loom-panel__meta strong { color: var(--white); }

.loom-panel__meta > div { display: flex; flex-direction: column; gap: 0.2rem; }
.loom-panel__meta span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
/* (panel--accent meta colors now defined above for purple variant) */
.loom-panel__meta strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.005em;
}

.loom-panel__right {
  padding: clamp(2rem, 3.5vw, 3.25rem);
  background: #0A0A0A;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.loom-deliverables__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FF6D00;
}

.loom-deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.loom-deliverables li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.loom-deliverables li:first-child { border-top: 0; padding-top: 0.25rem; }

.loom-deliverables__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FF6D00;
  padding-top: 2px;
}

.loom-deliverables strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.loom-deliverables em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* Controls */
.loom-journey__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.loom-ctrl {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--black);
  cursor: pointer;
  transition: all 200ms ease;
}
.loom-ctrl:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.loom-journey__progress {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black);
}
.loom-journey__progress em { font-style: normal; color: var(--gray-400); }

/* Responsive */
@media (max-width: 900px) {
  .loom-panel { grid-template-columns: 1fr; }
  .loom-panels { min-height: 0; }
  .loom-panel:not(.is-active) { display: none; }
  .loom-panel.is-active { position: relative; }
  .loom-node__hint { display: none; }
  .loom-node__name { font-size: 0.9rem; }
  .loom-panel__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .loom-journey__rail { padding: 0; }
  .loom-journey__line { left: 14%; right: 14%; }
  .loom-node__name { font-size: 0.75rem; }
  .loom-panel__meta { grid-template-columns: 1fr; }
}

/* Case study */
.flow-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.flow-case__left h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--white);
  margin: 1rem 0 1.5rem;
}

.flow-case__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.flow-case__results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flow-case__result strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF6D00;
  margin-bottom: 0.4rem;
}

.flow-case__result p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.flow-case__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.flow-case__metric {
  background: rgba(255,255,255,0.04);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flow-case__metric-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #FF6D00;
  letter-spacing: -0.04em;
  line-height: 1;
}

.flow-case__metric span:last-child {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  line-height: 1.4;
}

/* Case section background (uses hero gif) */
.flow-case-section { position: relative; overflow: hidden; isolation: isolate; }
.flow-case-section > .container { position: relative; z-index: 2; }
.flow-case-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.flow-case-section__gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.85) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.flow-case-section__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.85) 70%, rgba(10,10,10,1) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,1) 100%);
}

/* Paramount Ledger — transformation scorecard */
.paramount-ledger {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.paramount-ledger__head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.paramount-ledger__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FF6D00;
}

.paramount-ledger__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin: 0;
}

.paramount-ledger__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.paramount-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.paramount-row__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.paramount-row__values {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.paramount-row__before {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
.paramount-row__before em {
  font-style: normal;
  font-family: var(--font-body, inherit);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.paramount-row__arrow {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
  margin: 0 0.1rem;
}

.paramount-row__after {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #FF6D00;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}
.paramount-row__after em {
  font-style: normal;
  font-family: var(--font-body, inherit);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.paramount-row__viz {
  position: relative;
  height: 6px;
  margin-top: 0.45rem;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  overflow: hidden;
}

.paramount-row__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
}

.paramount-row__bar--before {
  background: rgba(255,255,255,0.18);
  z-index: 1;
}

.paramount-row__bar--after {
  background: #1E90FF;
  z-index: 2;
  width: 0;
  transition: width 1100ms cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 0 14px rgba(30,144,255,0.45);
}

.paramount-row.is-visible .paramount-row__bar--after {
  width: var(--target, 0%);
}

.paramount-row__bar--shrink {
  /* For metrics where "after" is less than "before" (e.g. production time) */
  background: #1E90FF;
}

.paramount-ledger__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255,255,255,0.12);
}

.paramount-ledger__footer span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.paramount-ledger__footer strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

@media (max-width: 700px) {
  .paramount-row__after { font-size: 1.5rem; }
  .paramount-row__before { font-size: 0.95rem; }
}

/* Case Study Video */
.flow-case-video {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
}

.flow-case-video__player {
  display: block;
  width: 100%;
  max-height: 640px;
  background: #000;
  outline: none;
  border-radius: 16px;
  overflow: hidden;
}

.flow-case-video__caption {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-top: 1rem;
  padding: 0 0.25rem;
}

.flow-case-video__kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.flow-case-video__kicker::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin-left: 0.85rem;
  vertical-align: middle;
}

.flow-case-video__client {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FF6D00;
}

/* Who it's for */
.flow-who {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.flow-who__item {
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.flow-who__item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.flow-who__icon {
  display: inline-block;
  font-size: 0.6rem;
  color: #FF6D00;
  margin-bottom: 1rem;
}

.flow-who__item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.flow-who__item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* LOOM Audience — editorial directory */
/* ---- AUDIT FIRST callout on LOOM ---- */
.loom-audit {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.loom-audit__title {
  font-family: var(--font-display, sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0.75rem 0 0;
  letter-spacing: -0.02em;
}
.loom-audit__right p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--gray-700);
  margin: 0 0 1.1rem;
}
.loom-audit__right p:last-child { margin-bottom: 0; }
.loom-audit__lead {
  font-size: 1.15rem !important;
  color: var(--black) !important;
  font-weight: 500;
}
@media (max-width: 768px) {
  .loom-audit { grid-template-columns: 1fr; }
}

.loom-audience {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--gray-200);
}

.loom-audience__row {
  display: grid;
  grid-template-columns: 80px 1.05fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) 0.5rem;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  transition: background 280ms ease;
}

.loom-audience__row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #FF6D00;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}

.loom-audience__row:hover {
  background: rgba(139,33,157,0.025);
}
.loom-audience__row:hover::before {
  transform: scaleY(1);
}
.loom-audience__row:hover .loom-audience__num {
  color: #FF6D00;
}

.loom-audience__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gray-300);
  line-height: 1;
  transition: color 280ms ease;
}

.loom-audience__main {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.loom-audience__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--black);
  margin: 0;
}

.loom-audience__pain {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 0;
  max-width: 38ch;
}

.loom-audience__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.loom-audience__brands span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gray-700);
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  transition: all 220ms ease;
  white-space: nowrap;
}

.loom-audience__row:hover .loom-audience__brands span {
  border-color: rgba(139,33,157,0.25);
  background: rgba(139,33,157,0.04);
  color: var(--black);
}

@media (max-width: 900px) {
  .loom-audience__row {
    grid-template-columns: 56px 1fr;
    row-gap: 1rem;
  }
  .loom-audience__brands {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: calc(56px + clamp(1.5rem, 3vw, 3rem));
  }
}
@media (max-width: 600px) {
  .loom-audience__row { grid-template-columns: 44px 1fr; }
  .loom-audience__brands { padding-left: 0; }
  .loom-audience__num { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  .flow-page-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .flow-what { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-case { grid-template-columns: 1fr; }
  .flow-who { grid-template-columns: 1fr; }
}

/* =============================================
   CRAFT ILLUSTRATION PAGE (ci-*)
   ============================================= */

/* ---- Hero ---- */
/* Black background with per-discipline title color */
.ci-hero--gd   { --ci-hero-bg: #000; --ci-hero-title: #852B9D; } /* Graphic */
.ci-hero--anim { --ci-hero-bg: #000; --ci-hero-title: #852B9D; } /* Animation */
.ci-hero--3d   { --ci-hero-bg: #000; --ci-hero-title: #852B9D; } /* 3D */

.ci-hero {
  min-height: 100vh;
  background: var(--ci-hero-bg, #000);
  --ci-hero-title-default: #852B9D; /* Illustration default */
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Full-bleed animated header background per discipline */
.ci-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.ci-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.ci-hero              ::before,
.ci-hero--gd          ::before,
.ci-hero--anim        ::before,
.ci-hero--3d          ::before { }
/* Discipline-specific header GIFs (fallback when no Vimeo video is present) */
.ci-hero:not([class*="ci-hero--"])::before { background-image: url('../assets/Craft/header_illustration.gif'); }
.ci-hero--gd::before   { background-image: url('../assets/Craft/header_graphic_design.gif'); }
.ci-hero--anim::before { background-image: url('../assets/Craft/header_motion.gif'); }
.ci-hero--3d::before   { background-image: url('../assets/Craft/header_3d.gif'); }

/* When Vimeo video header is present, hide the GIF ::before layer */
.ci-hero--video::before { background-image: none !important; }
.ci-hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
}
.ci-hero__inner { position: relative; z-index: 2; width: 100%; }
.ci-hero__content { margin-bottom: 3rem; }
.ci-hero__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
}
.ci-hero__count {
  background: rgba(255,255,255,0.10);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: #fff;
}
.ci-hero__title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--ci-hero-title, var(--ci-hero-title-default, #EF4444));
  margin: 0 0 1.5rem;
}
.ci-hero__title em {
  font-style: normal;
  font-weight: 800;
  color: inherit;
}
.ci-hero__tagline {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
  margin: 0;
}
.ci-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ci-hero__tags span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.ci-hero__bg-letter {
  position: absolute;
  right: -0.1em;
  bottom: -0.15em;
  font-family: var(--font-display);
  font-size: 55vw;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Background GIF replacing the giant outline letter */
.ci-hero__bg-gif {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  height: 35vh;
  width: auto;
  max-width: 21vw;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
@media (max-width: 900px) {
  .ci-hero__bg-gif {
    right: 3vw;
    height: 25vh;
    max-width: 38vw;
    opacity: 0.85;
  }
}
/* Back arrow ("← Craft") on the hero */
.ci-hero .craft-hero__back {
  color: #B865D0;
}
.ci-hero .craft-hero__back:hover {
  color: #D4A0E5;
}

/* ---- Marquee ---- */
.ci-marquee {
  background: var(--black);
  overflow: hidden;
  padding: 0.9rem 0;
  border-top: 1px solid #111;
}
.ci-marquee__track {
  display: flex;
  gap: 2rem;
  align-items: center;
  white-space: nowrap;
  animation: ciMarquee 22s linear infinite;
  width: max-content;
}
.ci-marquee__track span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.ci-marquee__dot { color: var(--yellow) !important; opacity: 1 !important; }
@keyframes ciMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Intro ---- */
.ci-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.ci-intro__desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--gray-700);
  margin: 0 0 1.25rem;
}
.ci-intro__gestural {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--gray-500);
  margin: 0;
  letter-spacing: -0.01em;
}
.ci-intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ci-stat {
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  margin: -1px 0 0 -1px;
}
.ci-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.ci-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  font-weight: 600;
}

/* ---- Statement ---- */
.ci-statement {
  background: var(--black);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0;
}
.ci-statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
.ci-statement .container {
  position: relative;
  z-index: 1;
}
.ci-statement__text {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 2rem;
}
.ci-statement__text em {
  font-style: normal;
  font-weight: 500;
  color: var(--yellow);
}
.ci-statement__sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
}

/* ---- Character Showcase ---- */
.ci-chars {
  background: #111;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.ci-chars__track {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1rem, 3vw, 3rem);
  padding: 0 var(--pad);
}
.ci-chars__item {
  flex: 1;
  max-width: 320px;
}
.ci-chars__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.ci-chars__item:hover img { transform: scale(1.04) translateY(-8px); }
.ci-chars__caption {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin: 2rem 0 0;
}

/* ---- Image Grid (4 photos, black bg) ---- */
.ci-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--black);
  padding: clamp(2rem, 5vw, 4rem) var(--pad);
}
.ci-img-grid__item {
  aspect-ratio: 1/1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--black);
  transition: transform 0.4s var(--ease);
}
.ci-img-grid__item:hover { transform: scale(1.03); }
@media (max-width: 768px) {
  .ci-img-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Work Carousel ---- */
.ci-work { padding: clamp(4rem, 8vw, 7rem) 0 0; }
.ci-work__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.ci-work__hint {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}
.ci-carousel {
  overflow-x: auto;
  overflow-y: visible;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.ci-carousel::-webkit-scrollbar { display: none; }
.ci-carousel.is-dragging { cursor: grabbing; }
.ci-carousel.is-dragging * { pointer-events: none; user-select: none; }
.ci-carousel__track {
  display: flex;
  gap: 1.25rem;
  padding: 0 var(--pad);
  width: max-content;
}
/* Craft carousel cards — dark theme to match Digital's ais-case */
.ci-carousel__card {
  width: clamp(280px, 32vw, 420px);
  flex-shrink: 0;
  background: #111;
  border: none;
  border-radius: 1.2rem;
  overflow: hidden;
  transition: background 0.2s var(--ease), transform 0.3s var(--ease);
  padding-bottom: 1.75rem;
}
.ci-carousel__card:hover {
  transform: translateY(-4px);
  background: #161616;
}
.ci-carousel__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  overflow: hidden;
}
.ci-carousel__img video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ci-carousel__info { padding: 1.25rem 2rem 0; }
.ci-carousel__client {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.55rem;
}
.ci-carousel__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.ci-carousel__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}

/* ---- Artists Strip ---- */
.ci-artists { overflow: hidden; }
.ci-artists__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.ci-artists__scroll {
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.ci-artists__scroll::-webkit-scrollbar { display: none; }
.ci-artists__scroll.is-dragging { cursor: grabbing; }
.ci-artists__track {
  display: flex;
  gap: 1.25rem;
  padding: 0 var(--pad);
  width: max-content;
}
.ci-artist-card {
  width: clamp(200px, 20vw, 260px);
  flex-shrink: 0;
}
.ci-artist-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--gray-200);
  border-radius: 4px;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center top;
  transition: opacity 0.3s;
}
.ci-artist-card:hover .ci-artist-card__img { opacity: 0.85; }
.ci-artist-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 0.2rem;
}
.ci-artist-card__role {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.ci-artist-card__bio {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0;
}

/* ---- Process (alternating rows) ---- */
.ci-process__list {
  display: flex;
  flex-direction: column;
}
.ci-process__row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.ci-process__row:first-child { border-top: 1px solid var(--gray-200); }
.ci-process__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}
.ci-process__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ci-process__desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}
.ci-process__tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  background: var(--gray-200);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ci-intro__grid { grid-template-columns: 1fr; }
  .ci-process__row { grid-template-columns: 3rem 1fr; }
  .ci-process__tag { display: none; }
}
@media (max-width: 600px) {
  .ci-hero__title { font-size: clamp(3.5rem, 18vw, 6rem); }
  .ci-intro__stats { grid-template-columns: 1fr 1fr; }
}

/* ---- ci-process header ---- */
.ci-process__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}
.ci-process__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  color: var(--black);
}

/* ---- New step cards ---- */
.ci-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 1.2rem;
  overflow: hidden;
}

.ci-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--gray-200);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background 0.2s var(--ease);
}
.ci-step:last-child { border-right: none; }
.ci-step:hover { background: #fafafa; }

.ci-step__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gray-200);
  transition: color 0.2s var(--ease);
}
.ci-step:hover .ci-step__num {
  color: var(--gray-300, #ccc);
}

.ci-step__body { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }

.ci-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ci-step__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ci-step__tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  background: var(--gray-100, #f0f0f0);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.ci-step__desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* accent step (last one) — yellow */
.ci-step--accent {
  background: #852B9D;
  border-right: none;
}
.ci-step--accent:hover { background: #A64FBC; }
.ci-step--accent .ci-step__num  { color: rgba(255,255,255,0.15); }
.ci-step--accent .ci-step__title { color: #fff; }
.ci-step--accent .ci-step__desc  { color: rgba(255,255,255,0.75); }
.ci-step--accent .ci-step__tag   { background: rgba(255,255,255,0.18); color: #fff; }

@media (max-width: 900px) {
  .ci-steps { grid-template-columns: repeat(2, 1fr); }
  .ci-step:nth-child(2) { border-right: none; }
  .ci-step:nth-child(3) { border-top: 1px solid var(--gray-200); }
  .ci-step--accent { border-top: 1px solid var(--gray-200); }
}
@media (max-width: 560px) {
  .ci-steps { grid-template-columns: 1fr; }
  .ci-step   { border-right: none; border-top: 1px solid var(--gray-200); }
  .ci-step:first-child { border-top: none; }
  .ci-process__head { flex-direction: column; }
}

/* ============================================
   PROJECT POPUP / LIGHTBOX
   ============================================ */
.ci-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.ci-popup.is-open {
  pointer-events: auto;
  opacity: 1;
}

.ci-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
}

.ci-popup__panel {
  position: relative;
  z-index: 1;
  background: #111;
  border-radius: 1.2rem;
  width: min(92vw, 900px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease);
}
.ci-popup.is-open .ci-popup__panel {
  transform: translateY(0) scale(1);
}

.ci-popup__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.ci-popup__client {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 0.3rem;
}
.ci-popup__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.ci-popup__close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ci-popup__close:hover { background: rgba(255,255,255,0.2); }

.ci-popup__gallery {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1rem;
  flex: 1;
  min-height: 0;
  position: relative;
}

.ci-popup__img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  position: relative;
}

.ci-popup__img {
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: 0.5rem;
  display: block;
}

.ci-popup__counter {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.ci-popup__arrow {
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, opacity 0.15s;
}
.ci-popup__arrow:hover { background: rgba(255,255,255,0.15); }

.ci-popup__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.ci-popup__thumbs::-webkit-scrollbar { display: none; }

.ci-popup__thumb {
  width: 60px;
  height: 44px;
  border-radius: 0.4rem;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.5;
}
.ci-popup__thumb:hover   { opacity: 0.8; }
.ci-popup__thumb.is-active { border-color: var(--yellow); opacity: 1; }

/* hover reveal on carousel cards */
.ci-carousel__card {
  cursor: pointer;
  position: relative;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}
.ci-carousel__card:focus,
.ci-carousel__card:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--yellow, #FFD300);
}
.ci-carousel__open {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  background: var(--yellow);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}
.ci-carousel__card:hover .ci-carousel__open {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   CRAFT SERVICE PAGES
   ============================================= */

/* ---- Hero ---- */
.craft-hero {
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.craft-hero--illustration { background: #FFFBE6; }
.craft-hero--graphic      { background: #F0FFF4; }
.craft-hero--animation    { background: #F0F4FF; }
.craft-hero--3d           { background: #FFF0FB; }

.craft-hero__inner {
  position: relative;
  z-index: 1;
}
.craft-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #852B9D;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.craft-hero__back:hover { color: #A64FBC; }

.craft-hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--black);
  margin: 0 0 1.25rem;
}
.craft-hero__tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: normal;
  font-weight: 300;
  color: var(--gray-700);
  max-width: 560px;
  line-height: 1.5;
  margin: 0 0 2rem;
}
.craft-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.craft-hero__tag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

/* ---- Intro ---- */
.craft-intro {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-bottom: 1px solid var(--gray-200);
}
.craft-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.craft-intro__desc {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0;
}
.craft-intro__right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.craft-intro__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.craft-intro__item:last-child { border-bottom: none; padding-bottom: 0; }
.craft-intro__item-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  min-width: 2rem;
}
.craft-intro__item-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.craft-intro__item-label {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 0.2rem;
}

/* ---- Style Grid ---- */
.craft-styles {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.craft-styles__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.craft-styles__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}
.craft-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.craft-card--tall { aspect-ratio: 3/4; grid-row: span 2; }
.craft-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.craft-card:hover .craft-card__bg { transform: scale(1.04); }
.craft-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}
/* Placeholder colors when no image */
.craft-card:nth-child(1) { background: #E8E4D9; }
.craft-card:nth-child(2) { background: #D9DDE8; }
.craft-card:nth-child(3) { background: #E8D9D9; }
.craft-card:nth-child(4) { background: #D9E8E0; }
.craft-card:nth-child(5) { background: #E8E2D9; }
.craft-card:nth-child(6) { background: #DDD9E8; }

/* ---- Process ---- */
.craft-process {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--gray-100);
}
.craft-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.craft-process__step {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--gray-200);
  padding-left: 2rem;
}
.craft-process__step:first-child { padding-left: 0; }
.craft-process__step:last-child { border-right: none; }
.craft-process__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.craft-process__title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 0.6rem;
}
.craft-process__desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---- Related Projects ---- */
.craft-projects {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.craft-projects__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.craft-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

/* ---- Artists ---- */
.craft-artists__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.5rem;
}
.craft-artist__img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 4px;
  background: var(--gray-200);
  margin-bottom: 1rem;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
}
.craft-artist__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 0.2rem;
}
.craft-artist__role {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  margin-bottom: 0.6rem;
}
.craft-artist__bio {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .craft-artists__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .craft-intro__grid { grid-template-columns: 1fr; }
  .craft-styles__grid { grid-template-columns: 1fr 1fr; }
  .craft-card--tall { aspect-ratio: 4/3; grid-row: span 1; }
  .craft-process__steps { grid-template-columns: repeat(2, 1fr); }
  .craft-projects__grid { grid-template-columns: repeat(2, 1fr); }
  .craft-artists__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .craft-styles__grid { grid-template-columns: 1fr; }
  .craft-process__steps { grid-template-columns: 1fr; }
  .craft-process__step { border-right: none; border-bottom: 1px solid var(--gray-200); padding-left: 0; }
  .craft-process__step:last-child { border-bottom: none; }
  .craft-projects__grid { grid-template-columns: 1fr; }
  .craft-artists__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   DVR — IMAGE CAROUSEL
   ============================================= */
/* DVR trend 2×2 layout (built by js/dvr-layout.js):
   [ concept text ] [ mosaic A ]
   [ key points   ] [ mosaic B ]
   Higher specificity to beat the page's inline .dv-section__body rule. */
.dv-section .dv-section__body {
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 3rem;
  align-items: start;
}
.dv-section .dv-section__body > .dv-section__text { grid-column: 1; grid-row: 1; }
.dv-section .dv-section__body > .dvr-mosaic-a     { grid-column: 2; grid-row: 1; }
.dv-section .dv-section__body > .dvr-kp-block     { grid-column: 1; grid-row: 2; }
.dv-section .dv-section__body > .dvr-mosaic-b     { grid-column: 2; grid-row: 2; }

.dv-section .dvr-kp-block { align-self: start; }

@media (max-width: 700px) {
  .dv-section .dv-section__body { grid-template-columns: 1fr; }
  .dv-section .dv-section__body > .dv-section__text { grid-column: 1; grid-row: 1; }
  .dv-section .dv-section__body > .dvr-mosaic-a     { grid-column: 1; grid-row: 2; }
  .dv-section .dv-section__body > .dvr-kp-block     { grid-column: 1; grid-row: 3; }
  .dv-section .dv-section__body > .dvr-mosaic-b     { grid-column: 1; grid-row: 4; }
}

.dv-carousel {
  position: relative;
  width: 100%;
  background: transparent;
  margin-bottom: 1.75rem;
}

/* Packed mosaic — varied tiles, tightly fitted */
.dv-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 90px;
  grid-auto-flow: dense;
  gap: 6px;
  width: 100%;
}

.dv-carousel__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  opacity: 1;
  background: #111;
  cursor: zoom-in;
  grid-column: span 1;
  grid-row: span 2;
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Varied spans for a rich packed mosaic */
.dv-carousel__img:nth-child(6n + 1) { grid-column: span 2; grid-row: span 3; }
.dv-carousel__img:nth-child(6n + 4) { grid-row: span 3; }
.dv-carousel__img:nth-child(6n + 5) { grid-column: span 2; grid-row: span 2; }

.dv-carousel__img:hover {
  filter: brightness(1.1);
  transform: scale(1.015);
}

/* Hide carousel controls — no longer a slider */
.dv-carousel__btn,
.dv-carousel__dots {
  display: none !important;
}

.dv-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
  padding: 0;
}

.dv-carousel__btn:hover {
  background: rgba(0,0,0,0.85);
}

.dv-carousel__btn--prev { left: 0.6rem; }
.dv-carousel__btn--next { right: 0.6rem; }

.dv-carousel__dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 2;
}

.dv-carousel__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dv-carousel__dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* =============================================
   MOBILE CORRECTIONS — SITE V2 review
   All fixes scoped to ≤ 700px unless noted.
   ============================================= */
@media (max-width: 700px) {

  /* ---- LOOM PAGE HERO ---- */
  /* Bring "LARGE OUTPUT OPTIMIZATION MODEL" closer to the LOOM logo */
  .flow-page-hero__logo {
    width: clamp(220px, 60vw, 320px);
    margin-bottom: 0.6rem;
  }
  /* Slightly bigger label for readability */
  .flow-page-hero__label {
    font-size: 0.78rem;
    margin-bottom: 1rem;
  }
  /* Title bigger + let "Built to scale." breathe on its own line */
  .flow-page-hero__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
  }
  /* Description bigger */
  .flow-page-hero__sub {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  /* ---- LOOM PANELS ("What happens") ---- */
  /* Hide the small italic descriptions under Data Intake / QC / etc. */
  .loom-deliverables em { display: none; }
  .loom-deliverables strong { font-size: 1rem; }

  /* ---- HOME MODULE — "Less friction. More output. Same team." ---- */
  .flow-product__quote p {
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    line-height: 1.15;
  }
  .flow-product__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.1;
  }

  /* ---- HOME hero: darker overlay so text/logo read better ---- */
  .hero--search::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
  }

  /* ---- PROJECT PAGES — force cover heros to 4:3 on mobile ---- */
  .cs-hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 4/3;
    padding-bottom: 1.5rem;
  }
  .cs-hero__img-bg { background-position: center; }
  .cs-hero__inner { padding: 0 1.25rem; }
  .cs-hero__title { font-size: clamp(2rem, 8vw, 3rem); margin: 0.5rem 0 0.5rem; }
  .cs-hero__meta { margin-bottom: 0.5rem; }

  /* ---- SOLUTIONS project cards (ais-case) — 4:3 media ---- */
  .ais-case__img { aspect-ratio: 4/3; }
}

/* ---- Mobile: stack project cards vertically (Solutions + Craft) ---- */
@media (max-width: 700px) {
  /* Solutions pages — ais-case cards */
  .ais-cases-scroll {
    overflow-x: hidden !important;
    overflow-y: visible;
    padding: 0 1rem;
    cursor: default;
  }
  .ais-cases-track {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: auto;
    padding: 0;
  }
  .ais-case {
    width: 100% !important;
    max-width: 100%;
    flex-shrink: 1;
  }

  /* Craft pages — ci-carousel cards */
  .ci-carousel {
    overflow-x: hidden !important;
    overflow-y: visible;
    cursor: default;
  }
  .ci-carousel__track {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: auto;
    padding: 0 1rem;
  }
  .ci-carousel__card {
    width: 100% !important;
    max-width: 100%;
    flex-shrink: 1;
  }

  /* Hide "drag to explore" hint on mobile since cards no longer scroll */
  .ci-work__hint { display: none; }
}

/* ----- Accessibility utilities (S5, S13, S14) ----- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee, .marquee-track { animation: none !important; }
}
