/* Proof: client journeys, results wall, before/after. Loaded after jdg-inner.css */

@font-face {
  font-family: "Digital 7 Mono";
  src: url("/assets/fonts/digital-7-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Global navbar hide/show transition */
.navbar {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.navbar.is-hidden {
  transform: translateY(-100%) !important;
}

/* journey chapter nav: only move downwards when header is above; otherwise keep it at the top */
.ji-jnav { position: sticky !important; top: 96px; z-index: 90 !important; margin: 0 auto; width: min(760px, calc(100% - 32px)); background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--ji-line); border-radius: 100px; padding: 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; box-shadow: 0 10px 30px -18px rgba(15, 16, 17, .35); pointer-events: auto; transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important; }
body.nav-hidden .ji-jnav,
.ji-jnav.is-top {
  top: 16px !important;
}
.ji-jnav a { text-decoration: none; color: var(--ji-muted); font: 500 13px/1 Inter, sans-serif; padding: 11px 8px; border-radius: 100px; text-align: center; white-space: nowrap; transition: color .3s, background .3s; pointer-events: auto; cursor: pointer; }
.ji-jnav a b { font: 500 11px/1 Switzer, sans-serif; margin-right: 6px; color: var(--ji-accent); }
.ji-jnav a.is-on { background: var(--ji-ink); color: #fff; }

.ji-sec, #start, #plan, #changes, #outcome { scroll-margin-top: 160px !important; }

.ji-chapter-head { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 28px); margin-bottom: clamp(28px, 4vw, 48px); }
.ji-chapter-num { font: 500 clamp(3.5rem, 8vw, 7.5rem)/.8 Switzer, sans-serif; letter-spacing: -.05em; color: var(--ji-accent); flex: none; }
.ji-chapter-head .ji-h2 { margin: 0; }

/* project phases along the engagement: high-contrast text both filled & unfilled */
.ji-phases { margin-top: clamp(32px, 4vw, 56px); }
.ji-phase-bar { display: flex; min-height: 64px; border-radius: 16px; overflow: hidden; gap: 3px; }
.ji-phase-bar div { flex: 1; background: #e3e3e3; display: flex; align-items: center; padding: 0 16px; font: 500 14px/1.2 Switzer, sans-serif; position: relative; overflow: hidden; }
.ji-phase-bar div::before { content: ""; position: absolute; inset: 0; background: #1d1e20; transform-origin: left; transform: scaleX(var(--p, 0)); z-index: 1; }
.ji-phase-bar div:last-child::before { background: var(--ji-accent); }
.ji-phase-bar div span { position: relative; z-index: 2; mix-blend-mode: normal; background: linear-gradient(to right, #ffffff calc(var(--p, 0) * 100%), #1d1e20 calc(var(--p, 0) * 100%)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; }
.ji-phase-scale { display: flex; justify-content: space-between; margin-top: 12px; font: 500 12px/1 Inter, sans-serif; color: var(--ji-muted); }

/* before / after */
.ji-ba { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #ddd; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ji-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ji-ba .ji-ba-after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ji-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; translate: -1px 0; pointer-events: none; }
.ji-ba-handle::after { content: ""; background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%230f1011%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M9 7l-5 5 5 5M15 7l5 5-5 5%27/%3E%3C/svg%3E") center / 22px no-repeat; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ji-ba-tag { position: absolute; top: 16px; padding: 8px 12px; border-radius: 40px; background: rgba(15, 16, 17, .6); color: #fff; font: 500 12px/1 Inter, sans-serif; backdrop-filter: blur(8px); pointer-events: none; }
.ji-ba-tag.is-before { left: 16px; }
.ji-ba-tag.is-after { right: 16px; }

/* outcome cards with meters */
.ji-outcome { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ji-outcome > div { background: #fff; border-radius: var(--ji-radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.ji-outcome b { font: 500 clamp(3rem, 5.5vw, 5rem)/.9 Switzer, sans-serif; letter-spacing: -.045em; }
.ji-outcome b sup { font-size: .45em; vertical-align: baseline; }
.ji-outcome p { margin: 0; font: 500 15px/1.45 Inter, sans-serif; color: var(--ji-muted); }
.ji-meter { height: 8px; border-radius: 8px; background: #efefef; overflow: hidden; margin-top: auto; }
.ji-meter i { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg, var(--ji-ink), var(--ji-accent)); border-radius: 8px; transform-origin: left; }
html.ji-anim .ji-meter i, html.ji-anim .ji-bar i { transform: scaleX(0); }

/* proof wall */
.ji-proof-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.ji-proof-kpis div { background: #fff; border-radius: var(--ji-radius); padding: 26px; }
.ji-proof-kpis b { display: block; font: 500 clamp(2.6rem, 5vw, 4.6rem)/.95 Switzer, sans-serif; letter-spacing: -.04em; }
.ji-proof-kpis b sup { font-size: .45em; vertical-align: baseline; }
.ji-proof-kpis div > span { display: block; margin-top: 12px; font: 500 14px/1.45 Inter, sans-serif; color: var(--ji-muted); }
.ji-cat { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.ji-cat:first-of-type { border-top: 0; }
.ji-cat-sum b { display: block; font: 500 clamp(3rem, 6vw, 5.5rem)/.9 Switzer, sans-serif; letter-spacing: -.045em; color: var(--ji-accent); margin-top: 18px; }
.ji-cat-sum b sup { font-size: .45em; vertical-align: baseline; }
.ji-cat-sum span { display: block; margin-top: 10px; color: #9d9d9d; font: 500 14px/1.45 Inter, sans-serif; max-width: 34ch; }
.ji-bars { display: flex; flex-direction: column; gap: 10px; }
.ji-bar { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 64px; gap: 14px; align-items: center; text-decoration: none; color: #fff; }
.ji-bar span { font: 500 13px/1.3 Inter, sans-serif; color: #bdbdbd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ji-bar em { font-style: normal; font: 500 15px/1 Switzer, sans-serif; text-align: right; }
.ji-bar i { display: block; height: 10px; border-radius: 10px; width: var(--w); background: linear-gradient(90deg, #3a3b3d, var(--ji-accent)); transform-origin: left; }
.ji-bar:hover span { color: #fff; }
.ji-bar-note { font: 500 12px/1.5 Inter, sans-serif; color: #8d8d8d; margin-top: 14px; }

/* moving results wall */
.ji-chips { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); display: grid; gap: 10px; }
.ji-chips-track { display: flex; gap: 10px; width: max-content; animation: ji-marquee 360s linear infinite; }
.ji-chips-track.is-rev { animation-direction: reverse; animation-duration: 400s; }
.ji-chips:hover .ji-chips-track { animation-play-state: paused; }

/* Keep tabs left-aligned and sticky without overlapping navbar or cards */
.section_home-services .tab-menu {
  position: sticky !important;
  top: 96px !important; /* Clears the 84px fixed navbar with clean 12px gap */
  z-index: 10 !important;
  max-width: 61.25rem !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1rem !important;
  justify-content: flex-start !important;
  display: flex !important;
  background-color: var(--_colors---bg, #000) !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease !important;
}

/* Unstick tabs on reaching the last card so it NEVER overlaps */
.section_home-services .tab-menu.unstick-on-last {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: translateY(-20px) !important;
}

/* Service cards sticky stacking animation */
.section_home-services .service-sticky {
  position: sticky !important;
  top: 165px !important; /* Sits 20px below sticky tab-menu with zero overlap */
  z-index: 2 !important;
  width: 100% !important;
  min-height: 385px !important;
  background-color: var(--_colors---bg, #000) !important;
}

.section_home-services .home-services_item {
  background-color: var(--_colors---bg, #000) !important;
  padding-bottom: 3.5rem !important;
}

.section_home-services .home-services_items {
  padding-bottom: 2rem !important; /* Clean, compact transition into next section without extra space */
}
.ji-chip { display: inline-flex; align-items: baseline; gap: 10px; background: #fff; border: 1px solid var(--ji-line); border-radius: 100px; padding: 12px 18px; text-decoration: none; color: var(--ji-ink); white-space: nowrap; }
.ji-chip b { font: 600 16px/1 Switzer, sans-serif; color: var(--ji-accent); }
.ji-chip span { font: 500 14px/1 Inter, sans-serif; }
.ji-chip small { font: 500 12px/1 Inter, sans-serif; color: var(--ji-muted); }

/* journey cards (home + results) */
.ji-journeys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.ji-journey { background: #fff; border-radius: 24px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .5s var(--ji-ease); }
.ji-journey:hover { transform: translateY(-6px); }
.ji-journey-img { aspect-ratio: 16 / 10; overflow: hidden; }
.ji-journey-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ji-ease); }
.ji-journey:hover .ji-journey-img img { transform: scale(1.06); }
.ji-journey-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ji-journey-body h3 { margin: 0 0 4px; font: 500 1.35rem/1.2 Switzer, sans-serif; letter-spacing: -.015em; }
.ji-journey-step { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font: 500 14px/1.4 Inter, sans-serif; color: var(--ji-muted); padding-top: 12px; border-top: 1px solid var(--ji-line); }
.ji-journey-step small { font: 500 11px/1.4 Switzer, sans-serif; text-transform: uppercase; color: var(--ji-ink); }
.ji-journey-result { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--ji-line); }
.ji-journey-result b { font: 500 2.8rem/1 Switzer, sans-serif; letter-spacing: -.04em; color: var(--ji-accent); flex: none; }
.ji-journey-result span { font: 500 14px/1.35 Inter, sans-serif; color: var(--ji-ink); }

@media (max-width: 991px) {
  .ji-proof-kpis { grid-template-columns: 1fr 1fr; }
  .ji-cat { grid-template-columns: 1fr; }
  .ji-journeys { grid-template-columns: 1fr; }
  .ji-jnav { top: 86px; }
  body.nav-hidden .ji-jnav,
  .ji-jnav.is-top { top: 12px !important; }
  .ji-jnav a { font-size: 12px; padding: 10px 4px; }
  .ji-jnav a b { display: none; }
}
@media (max-width: 600px) {
  .ji-jnav { top: 76px; }
  body.nav-hidden .ji-jnav,
  .ji-jnav.is-top { top: 10px !important; }
  .ji-bar { grid-template-columns: 104px 1fr 50px; gap: 10px; }
  .ji-phase-bar { flex-direction: column; }
  .ji-phase-bar div { padding: 16px; }
  .ji-proof-kpis div { padding: 20px; }
  .ji-chapter-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ji-chips-track { animation: none; } }

/* numbered lists on light sections */
.ji-sec:not(.ji-dark) .ji-challenges li { border-top-color: var(--ji-line); }

.ji-proof-kpis b span { font: inherit; letter-spacing: inherit; display: inline; margin: 0; color: inherit; }


/* ============================================================
   CLEAN REFINED WHITE FOOTER & WORLD CLOCKS (COSMOS WHITE THEME)
   ============================================================ */
.section_footer {
  background-color: var(--_colors---primary--white, #f5f5f5) !important;
  color: var(--_colors---primary--dark, #0f1011) !important;
  border-radius: var(--border-radius--medium, 2rem) !important;
  margin-bottom: 1rem !important;
  position: relative !important;
  overflow: clip !important;
  box-shadow: none !important;
}

/* Chat Message Fix (prevent text clipping and preserve animation) */
.chat_message._5 {
  overflow: clip !important;
  max-height: 6rem !important;
}

.home-grid_message-text._3 {
  max-height: 4.5rem !important;
  max-width: 16rem !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
}

/* Polished Form Inputs on White */
.section_footer .newsletter-field.is-light {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #0f1011 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  transition: all 0.25s ease !important;
}

.section_footer .newsletter-field.is-light::placeholder {
  color: #9aa0a6 !important;
}

.section_footer .newsletter-field.is-light:focus {
  border-color: #0f1011 !important;
  box-shadow: 0 0 0 3px rgba(15, 16, 17, 0.08) !important;
  outline: none !important;
}

.section_footer .button-solid.w-button {
  background-color: #0f1011 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  padding: 14px 28px !important;
  border: 1px solid #0f1011 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.section_footer .button-solid.w-button:hover {
  background-color: #2b2d33 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================================
   WORLD CLOCK CARDS (Crisp Digital LCD Style)
   ============================================================ */
.section_footer .footer_content-in.is-time {
  gap: 16px !important;
}

.section_footer .timer-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 18px !important;
  padding: 22px 20px 18px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.section_footer .timer-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07) !important;
}

.section_footer .timer-card .relative {
  position: relative !important;
  display: flex !important;
  align-items: baseline !important;
  height: 56px !important;
}

/* Ghost background digits (88:88) */
.section_footer .timer-card .timer-ghost {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  font-family: "Digital 7 Mono", monospace, sans-serif !important;
  font-size: 54px !important;
  font-weight: 400 !important;
  color: #e5e7eb !important;
  letter-spacing: 2px !important;
  user-select: none !important;
  pointer-events: none !important;
  line-height: 1 !important;
}

/* Active illuminated digits */
.section_footer .timer-card .timer-active {
  position: relative !important;
  z-index: 2 !important;
  font-family: "Digital 7 Mono", monospace, sans-serif !important;
  font-size: 54px !important;
  font-weight: 400 !important;
  color: #0f1011 !important;
  letter-spacing: 2px !important;
  line-height: 1 !important;
}

/* Blinking colon */
.section_footer .timer-card .timer-colon {
  display: inline-block !important;
  animation: timerBlinkLight 1s ease-in-out infinite !important;
}

@keyframes timerBlinkLight {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.section_footer .timer-card .time-pm {
  position: relative !important;
  z-index: 2 !important;
  font-family: "Digital 7 Mono", monospace, sans-serif !important;
  font-size: 18px !important;
  color: #0f1011 !important;
  margin-left: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  align-self: flex-start !important;
  padding-top: 4px !important;
}

.section_footer .timer-divider {
  height: 1px !important;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1) !important;
  background: transparent !important;
  margin: 14px 0 12px !important;
}

.section_footer .date-time_wr {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.section_footer .date-time {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #636875 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
}

.section_footer .date-time svg.icon path {
  stroke: #707070 !important;
}

.section_footer .date-time svg.icon path[fill] {
  fill: #707070 !important;
}

/* ============================================================
   ALWAYS-PLAYING SEAMLESS LOOPING SVG WORDMARK ANIMATION
   ============================================================ */
.section_footer .jdg-big-logo {
  color: #0f1011 !important;
  margin-top: 2.5rem !important;
  overflow: visible !important;
  display: block !important;
}

@keyframes jdgWaveLoopContinuous {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.18));
  }
}

.section_footer .jdg-big-logo path {
  transform-box: fill-box !important;
  transform-origin: center bottom !important;
  animation: jdgWaveLoopContinuous 3.2s ease-in-out infinite !important;
  will-change: transform !important;
}

/* Stagger each letter for a continuous rolling wave */
.section_footer .jdg-big-logo g:nth-child(1) path { animation-delay: 0.00s !important; }
.section_footer .jdg-big-logo g:nth-child(2) path { animation-delay: 0.14s !important; }
.section_footer .jdg-big-logo g:nth-child(3) path { animation-delay: 0.28s !important; }
.section_footer .jdg-big-logo g:nth-child(4) path { animation-delay: 0.42s !important; }
.section_footer .jdg-big-logo g:nth-child(5) path { animation-delay: 0.56s !important; }
.section_footer .jdg-big-logo g:nth-child(6) path { animation-delay: 0.70s !important; }
.section_footer .jdg-big-logo g:nth-child(7) path { animation-delay: 0.84s !important; }
.section_footer .jdg-big-logo g:nth-child(8) path { animation-delay: 0.98s !important; }
.section_footer .jdg-big-logo g:nth-child(9) path { animation-delay: 1.12s !important; }
.section_footer .jdg-big-logo g:nth-child(10) path { animation-delay: 1.26s !important; }
.section_footer .jdg-big-logo g:nth-child(11) path { animation-delay: 1.40s !important; }
.section_footer .jdg-big-logo g:nth-child(12) path { animation-delay: 1.54s !important; }
.section_footer .jdg-big-logo g:nth-child(13) path { animation-delay: 1.68s !important; }
.section_footer .jdg-big-logo g:nth-child(14) path { animation-delay: 1.82s !important; }
.section_footer .jdg-big-logo g:nth-child(15) path { animation-delay: 1.96s !important; }
.section_footer .jdg-big-logo g:nth-child(16) path { animation-delay: 2.10s !important; }

/* ============================================================
   REFINED FOOTER LAYOUT & NAVIGATION COLUMNS
   ============================================================ */
.section_footer .footer_content-in:not(.is-time) {
  display: grid !important;
  grid-template-columns: minmax(320px, 0.42fr) minmax(480px, 1fr) !important;
  column-gap: clamp(2rem, 5vw, 5rem) !important;
  row-gap: 2.5rem !important;
  width: 100% !important;
  align-items: start !important;
}

.section_footer .footer_content-in.is-time {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
}

.section_footer .footer-right {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

.section_footer .footer-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr 1.35fr 1fr !important;
  column-gap: clamp(1.5rem, 3vw, 2.5rem) !important;
  row-gap: 1.5rem !important;
}

.section_footer .footer_links-wrap {
  width: 100% !important;
  max-width: none !important;
  display: block !important;
}

.section_footer .footer-right > div:not(.footer-grid) {
  margin-top: 2.25rem !important;
  padding-top: 0 !important;
  border-top: none !important;
}

.section_footer .footer-right .email {
  margin-top: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

@media (max-width: 991px) {
  .section_footer .footer_content-in:not(.is-time) {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .section_footer .footer_content-in.is-time {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .section_footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 540px) {
  .section_footer .footer_content-in.is-time {
    grid-template-columns: 1fr !important;
  }
  .section_footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
}

/* ============================================================
   STICKY REVENUE COUNTER SHOWCASE (HOMEPAGE)
   ============================================================ */
.jdg-revenue-section {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--ji-paper, #f4f4f4);
}

.jdg-revenue-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(440px, 1.25fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

/* Sticky Left Hero Panel */
.jdg-revenue-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 110px !important;
  background: #0f1011;
  color: #ffffff;
  border-radius: clamp(24px, 2.5vw, 36px);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: 0 30px 70px -20px rgba(15, 16, 17, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}

.jdg-revenue-sticky::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 73, 34, 0.35), transparent 70%);
  pointer-events: none;
}

.jdg-rev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11.5px/1 Switzer, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff4922;
  background: rgba(255, 73, 34, 0.12);
  padding: 8px 14px;
  border-radius: 100px;
  align-self: flex-start;
  border: 1px solid rgba(255, 73, 34, 0.25);
  position: relative;
  z-index: 1;
}

.jdg-rev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4922;
  box-shadow: 0 0 8px #ff4922;
  animation: jdgDotPulse 2s infinite ease-in-out;
}

@keyframes jdgDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.jdg-rev-h2 {
  font: 500 clamp(2rem, 3.2vw, 3rem)/1.1 Switzer, sans-serif;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Big Live Counter */
.jdg-rev-counter-wrap {
  display: flex;
  align-items: baseline;
  margin: 6px 0;
  position: relative;
  z-index: 1;
}

.jdg-rev-curr {
  font: 500 clamp(2.4rem, 4vw, 4rem)/1 Switzer, sans-serif;
  color: #ff4922;
  margin-right: 2px;
}

.jdg-rev-num {
  font: 600 clamp(3.8rem, 6.4vw, 6.4rem)/0.92 Switzer, sans-serif;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.jdg-rev-unit {
  font: 500 clamp(2.4rem, 4vw, 4rem)/1 Switzer, sans-serif;
  color: #ff4922;
  margin-left: 2px;
}

.jdg-rev-unit sup {
  font-size: 0.55em;
  top: -0.4em;
}

.jdg-rev-desc {
  font: 400 15px/1.6 Inter, sans-serif;
  color: #a3a3a3;
  margin: 0;
  position: relative;
  z-index: 1;
}

.jdg-rev-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.jdg-rev-stat-item b {
  display: block;
  font: 500 clamp(1.4rem, 2vw, 1.8rem)/1.1 Switzer, sans-serif;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.jdg-rev-stat-item b sup {
  font-size: 0.6em;
  color: #ff4922;
}

.jdg-rev-stat-item > span {
  display: block;
  font: 400 12px/1.4 Inter, sans-serif;
  color: #888888;
  margin-top: 4px;
}

.jdg-rev-cta {
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.jdg-btn-revenue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0f1011;
  text-decoration: none;
  font: 500 14px/1 Switzer, sans-serif;
  padding: 15px 24px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.jdg-btn-revenue:hover {
  background: #ff4922;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(255, 73, 34, 0.4);
}

/* Right Scrolling Breakdown Cards */
.jdg-revenue-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jdg-rev-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(28px, 3.2vw, 40px);
  border: 1px solid rgba(15, 16, 17, 0.08);
  box-shadow: 0 10px 30px -15px rgba(15, 16, 17, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.jdg-rev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -18px rgba(15, 16, 17, 0.12);
  border-color: rgba(255, 73, 34, 0.3);
}

.jdg-rev-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.jdg-rev-card-tag {
  display: inline-flex;
  align-items: center;
  background: var(--ji-paper, #f4f4f4);
  padding: 6px 12px;
  border-radius: 100px;
  font: 500 12px/1 Inter, sans-serif;
  color: #555555;
}

.jdg-rev-card-num {
  font: 600 clamp(2.4rem, 3.6vw, 3.6rem)/1 Switzer, sans-serif;
  letter-spacing: -0.035em;
  color: #0f1011;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.jdg-rev-card-num sup {
  font-size: 0.55em;
  color: #ff4922;
}

.jdg-rev-card h3 {
  font: 500 clamp(1.3rem, 1.8vw, 1.6rem)/1.2 Switzer, sans-serif;
  letter-spacing: -0.02em;
  color: #0f1011;
  margin: 0 0 10px;
}

.jdg-rev-card p {
  font: 400 14.5px/1.6 Inter, sans-serif;
  color: #666666;
  margin: 0 0 20px;
}

.jdg-rev-card-bar {
  height: 6px;
  background: #efefef;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
}

.jdg-rev-card-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f1011, #ff4922);
  border-radius: 6px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.jdg-rev-card.is-visible .jdg-rev-card-bar i {
  transform: scaleX(1);
}

.jdg-rev-card-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 16, 17, 0.06);
  font: 500 13px/1.4 Inter, sans-serif;
  color: #888888;
}

.jdg-rev-card-proof a {
  color: #0f1011;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: color 0.2s;
}

.jdg-rev-card-proof a:hover {
  color: #ff4922;
}

@media (max-width: 991px) {
  .jdg-revenue-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .jdg-revenue-sticky {
    position: relative !important;
    top: auto !important;
  }
}

/* Results: live dashboard screenshots + lightbox */
.ji-live-group { margin-top: clamp(48px, 6vw, 88px); }
.ji-live-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--ji-line); }
.ji-live-head span { font: 400 12px/1.2 Switzer, sans-serif; text-transform: uppercase; color: var(--ji-muted); }
.ji-live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ji-live-card { margin: 0; background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.ji-live-shot { display: block; width: 100%; padding: 0; border: 0; background: #eef0f3; cursor: zoom-in; aspect-ratio: 12 / 5; overflow: hidden; border-bottom: 1px solid var(--ji-line); }
.ji-live-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1s var(--ji-ease); }
.ji-live-card:hover .ji-live-shot img { transform: scale(1.04); }
.ji-live-shot:focus-visible { outline: 2px solid var(--ji-accent); outline-offset: -2px; }
.ji-live-card figcaption { text-align: left; padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ji-live-card figcaption b { font: 500 clamp(2.2rem, 3.4vw, 3.2rem)/1 Switzer, sans-serif; letter-spacing: -.04em; color: var(--ji-ink); }
.ji-live-card figcaption b small { font-size: .5em; margin-left: 2px; color: var(--ji-accent); }
.ji-live-card h3 { margin: 6px 0 0; font: 500 1.1rem/1.25 Switzer, sans-serif; letter-spacing: -.015em; }
.ji-live-card p { margin: 0; font: 400 .92rem/1.55 Inter, sans-serif; color: var(--ji-muted); flex: 1; }
.ji-live-link { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 Switzer, sans-serif; color: var(--ji-ink); text-decoration: none; }
.ji-live-link .ji-arrow { width: 12px; height: 12px; transition: transform .4s var(--ji-ease); }
.ji-live-link:hover .ji-arrow { transform: translate(2px, -2px); }
.ji-live-link.is-plain { color: var(--ji-muted); }
.ji-lb { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; }
.ji-lb::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(4px); }
.ji-lb img { display: block; max-width: 100%; max-height: 88vh; border-radius: 14px; }
.ji-lb-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ji-ink); font: 400 26px/1 Inter, sans-serif; cursor: pointer; }
@media (max-width: 991px) { .ji-live-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .ji-live-grid { grid-template-columns: 1fr; }
  .ji-live-head { flex-direction: column; gap: 6px; }
  .ji-lb-close { top: -48px; right: 0; }
}

/* ---------- Case study template refinements ---------- */
/* problem cards: balanced rows (5 = 3 + 2, 4 = one row) instead of a lone orphan */
#start .ji-cards { grid-template-columns: repeat(12, 1fr); }
#start .ji-cards > .ji-card { grid-column: span 4; }
#start .ji-cards > .ji-card:nth-child(4):nth-last-child(2), #start .ji-cards > .ji-card:nth-child(5):last-child { grid-column: span 6; }
#start .ji-cards > .ji-card:first-child:nth-last-child(4), #start .ji-cards > .ji-card:first-child:nth-last-child(4) ~ .ji-card { grid-column: span 3; }
#start .ji-card { min-height: 190px; justify-content: space-between; }
.ji-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--ji-ink), var(--ji-accent)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ji-ease); }
.ji-card:hover::before { transform: scaleX(1); }
.ji-card-num { display: inline-flex; align-items: center; gap: 8px; }
.ji-card-num::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ji-accent); }
@media (max-width: 991px) {
  #start .ji-cards > .ji-card, #start .ji-cards > .ji-card:first-child:nth-last-child(4), #start .ji-cards > .ji-card:first-child:nth-last-child(4) ~ .ji-card, #start .ji-cards > .ji-card:nth-child(4):nth-last-child(2) { grid-column: span 6; }
  #start .ji-cards > .ji-card:nth-child(5):last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { #start .ji-cards { grid-template-columns: 1fr !important; } #start .ji-cards > .ji-card { grid-column: auto !important; } }

/* gallery: wide strips span the row and are capped so mixed ratios never leave grey gaps */
.ji-gallery figure { will-change: clip-path; }
.ji-gallery figure img { transform-origin: center; }
.ji-gallery figure.is-wide img { aspect-ratio: 16 / 7.5; object-fit: cover; object-position: center; }
.ji-gallery figure.is-strip img { aspect-ratio: auto; object-fit: contain; }
.ji-gallery figure.is-fill { display: flex; }
.ji-gallery figure.is-fill img { height: 100%; object-fit: cover; object-position: top center; }

/* outcome tiles: subtle lift */
.ji-outcome > div { transition: transform .6s var(--ji-ease), box-shadow .6s var(--ji-ease); }
.ji-outcome > div:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(15, 16, 17, .4); }

/* reading progress on case studies */
.ji-readbar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 1000; background: var(--ji-accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* hero result card tilt */
.ji-case-card { transform-style: preserve-3d; will-change: transform; }

/* ---------- Case study: verified on Google chapter ---------- */
.ji-proof .ji-lead { max-width: 60ch; }
.ji-proof-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); margin-top: clamp(32px, 4vw, 56px); }
.ji-proof-stats > div { padding: 28px clamp(16px, 2vw, 32px) 8px 0; min-width: 0; }
.ji-proof-stats > div + div { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid rgba(255, 255, 255, .14); }
.ji-proof-stats b { display: block; font: 500 clamp(2.6rem, 5vw, 4.6rem)/.9 Switzer, sans-serif; letter-spacing: -.045em; color: #fff; }
.ji-proof-stats b sup { font-size: .45em; vertical-align: baseline; color: var(--ji-accent); margin-left: 2px; }
.ji-proof-stats > div > span { display: block; margin-top: 12px; font: 500 14px/1.45 Inter, sans-serif; color: #9d9d9d; max-width: 30ch; }
.ji-proof-frames { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.ji-proof-frame { margin: 0; background: var(--ji-dark-2); border-radius: 22px; padding: 10px; }
.ji-proof-bar { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; font: 500 12px/1 Switzer, sans-serif; color: #8d8d8d; text-transform: uppercase; letter-spacing: .01em; }
.ji-proof-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3b3d; flex: none; }
.ji-proof-bar i:first-child { background: var(--ji-accent); }
.ji-proof-bar em { font-style: normal; margin-left: 6px; }
.ji-proof-bar small { margin-left: auto; font: inherit; color: #6f6f6f; }
.ji-proof-shot { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #fff; cursor: zoom-in; }
.ji-proof-shot img { width: 100%; height: auto; display: block; }
.ji-proof-shot:focus-visible { outline: 2px solid var(--ji-accent); outline-offset: 3px; }
.ji-proof-frame figcaption { padding: 16px 8px 6px; font: 400 14px/1.5 Inter, sans-serif; color: #9d9d9d; }
.ji-proof-frame figcaption b { color: #fff; font-weight: 500; }
@media (max-width: 600px) {
  .ji-proof-stats { grid-template-columns: 1fr; }
  .ji-proof-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .ji-proof-bar small { display: none; }
}

/* ---------- Homepage: verified-on-Google showcase ---------- */
.ji-home-live { background: transparent; padding: clamp(24px, 3vw, 48px) 0 clamp(72px, 9vw, 144px); }
.ji-home-live .ji-dark { padding: clamp(40px, 5vw, 80px) 0; }
.ji-hl-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.ji-hl-tabs { display: flex; flex-direction: column; margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid rgba(255, 255, 255, .12); }
.ji-hl-tab { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; text-align: left; padding: 18px 0 20px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); background: none; color: #fff; cursor: pointer; opacity: .45; transition: opacity .4s; }
.ji-hl-tab:hover, .ji-hl-tab.is-on { opacity: 1; }
.ji-hl-tab b { grid-row: span 2; font: 500 clamp(1.8rem, 2.8vw, 2.6rem)/1 Switzer, sans-serif; letter-spacing: -.04em; min-width: 3.4ch; }
.ji-hl-tab b sup { font-size: .5em; vertical-align: baseline; color: var(--ji-accent); }
.ji-hl-tab span { font: 500 16px/1.3 Switzer, sans-serif; }
.ji-hl-tab small { font: 400 13px/1.4 Inter, sans-serif; color: #9d9d9d; }
.ji-hl-tab i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--ji-accent); transform: scaleX(0); transform-origin: left; }
.ji-hl-tab:focus-visible { outline: 2px solid var(--ji-accent); outline-offset: 4px; }
.ji-hl-stage { position: relative; aspect-ratio: 12 / 7; border-radius: 22px; background: var(--ji-dark-2); padding: 10px; }
.ji-hl-stage .ji-proof-bar { position: relative; z-index: 2; }
.ji-hl-slides { position: absolute; inset: 44px 10px 10px; }
.ji-hl-slide { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: #fff; clip-path: inset(0 0 0 100%); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.ji-hl-slide.is-on { clip-path: inset(0 0 0 0); z-index: 1; }
.ji-hl-slide img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ji-hl-slide.is-dark { background: #202124; }
.ji-hl-slide.is-dark img { object-fit: contain; object-position: center; }
.ji-hl-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 991px) {
  .ji-hl-grid { grid-template-columns: 1fr; }
  .ji-hl-stage { order: -1; }
}

/* reduced motion: no clip/transform tricks */
@media (prefers-reduced-motion: reduce) {
  .ji-hl-slide { clip-path: none; opacity: 0; }
  .ji-hl-slide.is-on { opacity: 1; }
}

/* ---------- Case study: redesign story (previous design -> live redesign) ---------- */
.ji-rd { margin-top: clamp(56px, 7vw, 112px); }
.ji-rd-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.ji-rd-title { font: 500 clamp(1.9rem, 3.6vw, 3.4rem)/1.04 Switzer, sans-serif; letter-spacing: -.03em; margin: 14px 0 0; }
.ji-rd-compare { display: grid; grid-template-columns: minmax(0, 5fr) auto minmax(0, 7fr); gap: clamp(12px, 2vw, 28px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.ji-rd-compare figure { margin: 0; position: relative; border-radius: var(--ji-radius); overflow: hidden; background: #111; }
.ji-rd-compare img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ji-rd-then img { filter: saturate(.55) brightness(.8); }
.ji-rd-tag { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 8px 12px; border-radius: 40px; background: rgba(15, 16, 17, .7); color: #d8d8d8; font: 500 12px/1 Inter, sans-serif; backdrop-filter: blur(8px); }
.ji-rd-tag.is-now { background: var(--ji-accent); color: #fff; }
.ji-rd-tag.is-now::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 7px; vertical-align: 1px; animation: jiPulse 1.6s infinite; }
@keyframes jiPulse { 50% { opacity: .25; } }
.ji-rd-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--ji-ink); color: #fff; display: grid; place-items: center; font: 500 22px/1 Switzer, sans-serif; }
.ji-rd-points { list-style: none; padding: 0; margin: clamp(32px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.ji-rd-points li { background: #fff; border-radius: var(--ji-radius); padding: 24px; font: 500 15px/1.45 Inter, sans-serif; color: var(--ji-muted); }
.ji-rd-points li b { display: block; color: var(--ji-ink); font: 500 1.1rem/1.25 Switzer, sans-serif; letter-spacing: -.015em; margin-bottom: 8px; }
.ji-rd-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ji-rd-shots .ji-proof-frame.is-wide { grid-column: 1 / -1; }
.ji-rd-shots .ji-proof-shot { background: #111; }
.ji-prev { margin-top: clamp(48px, 6vw, 88px); }
.ji-prev-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--ji-line); }
.ji-prev-head span { font: 400 12px/1.2 Switzer, sans-serif; text-transform: uppercase; color: var(--ji-muted); }
.ji-gallery.is-prev { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ji-gallery.is-prev figure, .ji-gallery.is-prev figure.is-wide { grid-column: auto; position: relative; }
.ji-gallery.is-prev figure img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; filter: saturate(.6); transition: filter .5s; }
.ji-gallery.is-prev figure:hover img { filter: none; }
.ji-gallery.is-prev figure::after { content: "Previous design"; position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 30px; background: rgba(15, 16, 17, .7); color: #ddd; font: 500 11px/1 Inter, sans-serif; }
@media (max-width: 991px) {
  .ji-rd-head { grid-template-columns: 1fr; }
  .ji-rd-compare { grid-template-columns: 1fr; }
  .ji-rd-arrow { justify-self: center; transform: rotate(90deg); }
  .ji-rd-shots { grid-template-columns: 1fr; }
}

/* chapter nav holds a fifth "Verified" chapter on case studies that have one */
.ji-jnav:has(> a:nth-child(5)) { width: min(900px, calc(100% - 32px)); grid-template-columns: repeat(5, 1fr); }
@media (min-width: 992px) { .ji-home-live .ji-h2 { max-width: 14ch; } }
@media (max-width: 767px) {
  .ji-jnav:has(> a:nth-child(5)) { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .ji-jnav:has(> a:nth-child(5))::-webkit-scrollbar { display: none; }
  .ji-jnav:has(> a:nth-child(5)) a { flex: none; padding: 10px 12px; scroll-snap-align: start; }
}

/* navbar rotating label: size the box to the longest phrase so none get clipped on small screens */
@media (max-width: 991px) {
  .navbar_logo-anim { width: 14.2em !important; max-width: calc(100vw - 140px); }
  .navbar_logo-anim_text { font-size: clamp(11px, 3.7vw, 15px); }
}

/* touch targets: give small text links a comfortable (>= 32px) hit area on phones and tablets */
@media (max-width: 991px) {
  .footer_link { padding-block: 7px; }
  .footer_copyright.link { display: inline-block; padding-block: 9px; }
  .copy-icon { min-width: 36px; min-height: 36px; display: inline-grid; place-items: center; }
  .ji-crumbs a { display: inline-block; padding-block: 10px; }
  .ji-link, .ji-live-link, .ji-case-meta a, .clutch-heading { display: inline-flex; align-items: center; min-height: 36px; }
  .ji-bar { padding-block: 8px; }
}
@media (max-width: 479px) { .ji-steps { grid-template-columns: 1fr; } .ji-step::before { margin-bottom: 16px; } }

/* ---------- Sticky scroll scenes (inner pages) ---------- */
/* "What's included" rows: focus on the row in view, sticky image stage beside them */
.ji-rows.is-focus .ji-row > * { transition: opacity .5s var(--ji-ease); }
.ji-rows.is-focus .ji-badge { transition: transform .5s var(--ji-ease), box-shadow .5s; }
.ji-rows.is-focus .ji-row.is-active .ji-badge { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(255, 73, 34, .18); }
.ji-rows-stage { display: none; }
@media (min-width: 992px) {
  .ji-rows.is-focus .ji-row:not(.is-active) > * { opacity: .32; }
  .ji-rows-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
  .ji-rows-wrap .ji-row { grid-template-columns: 56px 1fr; row-gap: 12px; }
  .ji-rows-wrap .ji-row > :last-child { grid-column: 2; }
  .ji-rows-wrap .ji-row-img { display: none; }
  .ji-rows-stage { display: block; position: sticky; top: 18vh; margin-top: clamp(40px, 5vw, 72px); }
  .ji-rows-shots { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--ji-dark-2); }
  .ji-rows-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); }
  .ji-rows-count { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; font: 500 14px/1 Switzer, sans-serif; color: #8d8d8d; }
  .ji-rows-count b { font: 500 2.4rem/1 Switzer, sans-serif; letter-spacing: -.04em; color: #fff; }
}

/* process steps spotlight while pinned */
.ji-step { transition: background-color .5s var(--ji-ease), color .5s var(--ji-ease), transform .5s var(--ji-ease), box-shadow .5s; }
.ji-step.is-on { background: var(--ji-ink); color: #fff; transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(15, 16, 17, .5); }
.ji-step.is-on .ji-p { color: #b5b5b5; }
.ji-step.is-done::before { opacity: .45; }

/* redesign screenshots as a pinned horizontal track */
.ji-hscroll { overflow: hidden; margin-top: 16px; }
.ji-rd-shots.is-track { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; width: max-content; margin-top: 0; }
.ji-rd-shots.is-track .ji-proof-frame { width: min(62vw, 980px); flex: none; }

/* next journey: preview grows into a full-bleed cover */
.ji-sec.has-zoom { overflow: hidden; }
.ji-sec.has-zoom > .ji-wrap { position: relative; z-index: 1; }
.ji-next-zoom { position: absolute; inset: 0; z-index: 0; pointer-events: none; clip-path: inset(100% 0 0 0); }
.ji-next-zoom img { width: 100%; height: 100%; object-fit: cover; }
.ji-next-zoom::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .75) 100%); }
.ji-sec.has-zoom .ji-next-title { text-shadow: 0 10px 40px rgba(0, 0, 0, .45); }

/* results: category summary stays beside its long list */
@media (min-width: 992px) {
  .ji-cat { align-items: start; }
  .ji-cat-sum { position: sticky; top: 120px; }
}

/* legal pages: sticky table of contents */
.ji-toc { display: none; }
@media (min-width: 992px) {
  .legal_update-wrap.has-toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 140px); overflow: auto; scrollbar-width: none; }
  .ji-toc { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(15, 16, 17, .1); }
  .ji-toc p { margin: 0 0 10px; font: 400 12px/1.2 Switzer, sans-serif; text-transform: uppercase; color: #6f6f6f; }
  .ji-toc a { position: relative; padding: 7px 0 7px 16px; font: 500 14px/1.35 Inter, sans-serif; color: #6f6f6f; text-decoration: none; transition: color .3s; }
  .ji-toc a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #d5d5d5; transition: background .3s, transform .3s; }
  .ji-toc a:hover, .ji-toc a.is-on { color: #0f1011; }
  .ji-toc a.is-on::before { background: #ff4922; transform: scale(1.4); }
}
.ji-proof-shot img, .ji-lb img { height: auto; }
.ji-cover img, .ji-work-img img, .ji-journey-img img, .ji-next-img img, .ji-rd-compare img, .ji-live-shot img, .ji-hl-slide img { height: 100%; }

/* icons (SVG, never text glyphs or emoji) */
.ji-ico-star { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; flex: none; }
.ji-stars { display: flex; gap: 2px; color: #f59e0b; letter-spacing: 0; line-height: 1; margin-bottom: 6px; }
.jdg-review-stars { display: inline-flex; gap: 2px; color: #f59e0b; letter-spacing: 0; line-height: 1; }
.ji-stars .ji-ico-star { width: 15px; height: 15px; }
.jdg-review-stars .ji-ico-star { width: 16px; height: 16px; }
.ji-sup-ico .ji-ico-star { width: .5em; height: .5em; vertical-align: .55em; color: var(--ji-accent); margin-left: .06em; }
.ji-ico-arrow { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; transition: transform .35s var(--ji-ease); }
a:hover > .ji-ico-arrow { transform: translateX(3px); }
.ji-ico-inline { width: .62em; height: .62em; margin: 0 .08em; vertical-align: .08em; color: var(--ji-accent); }
.ji-rd-arrow .ji-ico-arrow { width: 22px; height: 22px; }
.ji-lb-close { display: grid; place-items: center; }
.ji-lb-close svg { width: 16px; height: 16px; }

/* ---------- Image framing: show the whole picture where cropping hurts ---------- */
/* hero illustration has its own white canvas: show it whole instead of cropping to a portrait box */
.ji-hero-img.is-contain { background: #fff; aspect-ratio: 5 / 4; }
.ji-hero-img.is-contain img { object-fit: contain; height: 100%; }
.ji-hero-img.is-wide { aspect-ratio: 16 / 10; }
.ji-hero-img.is-wide img { height: 100%; }
/* 2:1 laptop mockups read better at 16:10 than 4:3 */
.ji-work-img, .ji-next-img { aspect-ratio: 16 / 10; }
@media (max-width: 991px) { .ji-cover { aspect-ratio: 16 / 10; } }
/* previous-design thumbnails */
.ji-gallery.is-prev figure img { aspect-ratio: 16 / 10; }
.ji-gallery.is-prev figure.is-strip img { object-fit: contain; background: #111; }
/* homepage showcase: dashboards are wide, show them whole */
.ji-hl-slide img { object-fit: contain; object-position: center; }
/* team collage on phones: lead photo spans the width instead of a tall sliver */
@media (max-width: 600px) {
  .ji-life { grid-auto-rows: 180px; }
  .ji-life figure:first-child { grid-row: auto; grid-column: 1 / -1; height: 240px; }
}
/* homepage selected-works cards on phones: keep the laptop mockups whole */
@media (max-width: 767px) { .works_card-wrap { aspect-ratio: 4 / 3 !important; } }

/* chapter nav leaves after the last chapter */
.ji-jnav { transition: opacity .45s var(--ji-ease), translate .45s var(--ji-ease), top .35s; }
.ji-jnav.is-gone { opacity: 0; translate: 0 -24px; pointer-events: none; }

/* perf: a Webflow scroll interaction animates this variable on <html> every frame, but no rule reads it.
   As an inherited custom property each change restyled the whole page (~50ms per frame on the home hero);
   non-inheriting, the change stays on <html> and costs nothing. */
@property --border-radius--hero-padding { syntax: '*'; inherits: false; }

/* ---------- Page transition curtain ----------
   leave:  ink curtain sweeps up from the bottom with an orange leading edge, destination name rises in
   arrive: the new page starts covered, and the curtain lifts off the top once it is ready */
html::before, html::after { content: ""; position: fixed; left: 0; right: 0; z-index: 2147483000; pointer-events: none; visibility: hidden; }
html::before { top: 0; height: 100vh; height: 100lvh; background: #0f1011; transform: translateY(100%); }
html::after {
  top: 0; height: 100vh; height: 100lvh; display: flex; align-items: center; justify-content: center; padding: 0 24px; text-align: center;
  content: attr(data-pt); color: #fff; font: 500 clamp(2.2rem, 7vw, 6.5rem)/1 Switzer, sans-serif; letter-spacing: -.045em;
  opacity: 0; transform: translateY(40px);
  background: linear-gradient(#ff4922, #ff4922) left bottom / 0% 3px no-repeat;
}
html.pt-leave::before, html.pt-leave::after, html.pt-cover::before, html.pt-cover::after, html.pt-reveal::before, html.pt-reveal::after { visibility: visible; pointer-events: auto; }
html.pt-leave::before { transform: translateY(0); transition: transform .62s cubic-bezier(.76, 0, .24, 1); box-shadow: 0 -6px 0 #ff4922; }
html.pt-leave::after { opacity: 1; transform: translateY(0); transition: opacity .35s .28s, transform .6s .22s cubic-bezier(.22, 1, .36, 1); }
html.pt-cover::before { transform: translateY(0); }
html.pt-cover::after { opacity: 1; transform: translateY(0); background-size: 0% 3px; animation: jiPtLoad 1.2s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes jiPtLoad { to { background-size: 100% 3px; } }
html.pt-reveal::before { transform: translateY(-100%); transition: transform .75s cubic-bezier(.76, 0, .24, 1); box-shadow: 0 6px 0 #ff4922; }
html.pt-reveal::after { opacity: 0; transform: translateY(-60px); transition: opacity .3s, transform .5s cubic-bezier(.76, 0, .24, 1); background-size: 100% 3px; }
html.pt-cover, html.pt-leave { cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  html.pt-leave::before, html.pt-reveal::before { transition: opacity .2s; transform: none; }
  html::before { transform: none; opacity: 0; }
  html.pt-leave::before, html.pt-cover::before { opacity: 1; }
  html.pt-reveal::before { opacity: 0; }
  html::after { display: none; }
}

/* header logo: optical alignment. The icon's box includes the small TM mark, which pushed the square mark
   2.4px below the centre of the capital letters; lift it onto the cap-height centre and tighten the gap. */
.navbar_logo-brand { column-gap: 8px; }
.navbar_logo-badge .menu_logo { transform: translateY(-2.4px); }

/* ---------- Internal linking components ---------- */
/* "Keep exploring" cross-links on service and industry pages */
.ji-xlinks { padding-top: clamp(24px, 3vw, 48px); }
.ji-xl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ji-line); }
.ji-xl-head .ji-h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.ji-xl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 28px; }
.ji-xl-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ji-xl { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 16px; border-radius: 40px; background: #fff; border: 1px solid var(--ji-line);
  color: var(--ji-ink); text-decoration: none; font: 500 14px/1 Inter, sans-serif; transition: background .35s var(--ji-ease), color .35s var(--ji-ease), border-color .35s; }
.ji-xl .ji-arrow { width: 11px; height: 11px; opacity: .45; transition: transform .35s var(--ji-ease), opacity .35s; }
.ji-xl:hover { background: var(--ji-ink); color: #fff; border-color: var(--ji-ink); }
.ji-xl:hover .ji-arrow { opacity: 1; transform: translate(2px, -2px); }
.ji-xl:focus-visible { outline: 2px solid var(--ji-accent); outline-offset: 2px; }
.ji-xl.is-here { background: transparent; color: var(--ji-muted); border-style: dashed; pointer-events: none; }
.ji-xl.is-here .ji-arrow { display: none; }
@media (max-width: 767px) { .ji-xl-grid { grid-template-columns: 1fr; } .ji-xl-head { flex-direction: column; gap: 8px; } }

/* case study facts: Industry / Services values link to their pages */
.ji-meta-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(15, 16, 17, .25); text-underline-offset: 3px; transition: text-decoration-color .3s, color .3s; }
.ji-meta-link:hover { color: var(--ji-accent); text-decoration-color: currentColor; }

/* homepage services: industry tags are links */
.tag-link { color: inherit; text-decoration: none; }
.tag-text p:has(> .tag-link) { transition: background-color .3s, color .3s; cursor: pointer; }
.tag-text p:has(> .tag-link):hover { background-color: #fff; color: #0f1011; }
.tag-link::after { content: ""; position: absolute; inset: 0; }
.tag-text p:has(> .tag-link) { position: relative; }

/* 404: helpful links */
.ji-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; }
.ji-404-links a { color: inherit; font: 500 15px/1.4 Inter, sans-serif; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.ji-404-links a:hover { opacity: 1; color: #ff4922; }
/* services dropdown: 10 services + All services, one line each */
@media (min-width: 992px) { .navbar .w-dropdown-list { min-width: 250px; } .navbar .dropdown-link { white-space: nowrap; } }
/* legal TOC: the scroll container clipped the active dot (it scales up); give it room on the left */
@media (min-width: 992px) { .legal_update-wrap.has-toc { padding-left: 6px; margin-left: -6px; } .ji-toc a::before { left: 1px; } }
/* seamless badge marquee (set width measured in JS): spacing lives on the items so the loop point has no half-gap */
.ji-marquee-track[data-loop] { gap: 0; animation: ji-marquee-px var(--loop-dur, 38s) linear infinite; }
.ji-marquee-track[data-loop] > * { margin-right: 56px; flex: none; }
@media (max-width: 767px) { .ji-marquee-track[data-loop] > * { margin-right: 32px; } }
@keyframes ji-marquee-px { to { transform: translateX(calc(-1 * var(--loop, 50%))); } }
@media (prefers-reduced-motion: reduce) { .ji-marquee-track[data-loop] { animation: none; } }
