/* Inner pages (services, industries, projects): same language as the homepage */
:root {
  --ji-ink: #0f1011;
  --ji-paper: #f4f4f4;
  --ji-white: #fff;
  --ji-muted: #6f6f6f;
  --ji-line: rgba(15, 16, 17, .1);
  --ji-accent: #ff4922;
  --ji-dark: #000;
  --ji-dark-2: #161718;
  --ji-pill: #292929;
  --ji-radius: 20px;
  --ji-gutter: clamp(16px, 2.2vw, 32px);
  --ji-max: 1376px;
  --ji-ease: cubic-bezier(.22, 1, .36, 1);
}

.ji { background: var(--ji-paper); color: var(--ji-ink); overflow-x: clip; }
.ji *, .ji *::before, .ji *::after { box-sizing: border-box; }
.ji img { max-width: 100%; display: block; }
.ji-wrap { width: 100%; max-width: var(--ji-max); margin: 0 auto; padding: 0 var(--ji-gutter); }
.ji-sec { padding: clamp(72px, 9vw, 144px) 0; position: relative; }
.ji-sec.is-tight { padding-top: clamp(40px, 5vw, 72px); }
.ji-dark { background: var(--ji-dark); color: #fff; border-radius: clamp(20px, 2.4vw, 32px); margin: 0 clamp(8px, 1vw, 16px); }
.ji-label { font: 400 12px/1.2 Switzer, sans-serif; letter-spacing: -.01em; text-transform: uppercase; color: var(--ji-muted); display: inline-flex; align-items: center; gap: 10px; }
.ji-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ji-accent); }
.ji-dark .ji-label { color: #9a9a9a; }
.ji-h1 { font: 500 clamp(2.6rem, 6.4vw, 6rem)/.98 Switzer, sans-serif; letter-spacing: -.035em; margin: 18px 0 0; }
.ji-h1.is-long { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.02; }
.ji-h2 { font: 500 clamp(2rem, 4.2vw, 4rem)/1.04 Switzer, sans-serif; letter-spacing: -.03em; margin: 16px 0 0; max-width: 20ch; }
.ji-h3 { font: 500 clamp(1.15rem, 1.5vw, 1.4rem)/1.2 Switzer, sans-serif; letter-spacing: -.015em; margin: 0; }
.ji-lead { font: 500 clamp(1rem, 1.15vw, 1.125rem)/1.6 Inter, sans-serif; color: var(--ji-muted); margin: 0; max-width: 62ch; }
.ji-dark .ji-lead { color: #a3a3a3; }
.ji-p { font: 400 .98rem/1.6 Inter, sans-serif; color: var(--ji-muted); margin: 0; }
.ji-dark .ji-p { color: #9d9d9d; }
.ji-statement { font: 500 clamp(1.6rem, 3.2vw, 3rem)/1.18 Switzer, sans-serif; letter-spacing: -.025em; margin: 0; max-width: 28ch; }

/* buttons + pills */
.ji-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.ji-btn { max-width: 100%; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 10px; background: var(--ji-ink); color: #fff; text-decoration: none; font: 500 15px/1 Switzer, sans-serif; padding: 17px 24px; border-radius: 10px; position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ji-ease); }
.ji-btn::after { content: ""; position: absolute; inset: 0; background: var(--ji-accent); transform: translateY(101%); transition: transform .45s var(--ji-ease); z-index: -1; }
.ji-btn:hover::after { transform: translateY(0); }
.ji-btn.is-ghost { background: transparent; color: var(--ji-ink); box-shadow: inset 0 0 0 1px var(--ji-line); }
.ji-btn.is-ghost:hover { color: #fff; }
.ji-dark .ji-btn { background: #fff; color: var(--ji-ink); }
.ji-dark .ji-btn:hover { color: #fff; }
.ji-arrow { width: 14px; height: 14px; transition: transform .4s var(--ji-ease); }
.ji-btn:hover .ji-arrow, .ji-link:hover .ji-arrow { transform: translate(3px, -3px); }
.ji-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.ji-pills li { background: #fff; border: 1px solid var(--ji-line); border-radius: 48px; padding: 8px 14px; font: 500 14px/1 Inter, sans-serif; }
.ji-dark .ji-pills li, .ji-pills.is-dark li { background: var(--ji-pill); border-color: transparent; color: #b6b6b6; }
.ji-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font: 500 15px/1 Switzer, sans-serif; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* hero */
.ji-hero { padding: clamp(140px, 14vw, 200px) 0 clamp(48px, 6vw, 88px); }
.ji-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ji-crumbs { display: flex; gap: 8px; font: 500 13px/1 Inter, sans-serif; color: var(--ji-muted); margin-bottom: 26px; flex-wrap: wrap; }
.ji-crumbs a { color: inherit; text-decoration: none; }
.ji-crumbs a:hover { color: var(--ji-ink); }
.ji-hero-media { position: relative; }
.ji-hero-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #e6e6e6; }
.ji-hero-img img { width: 100%; height: 115%; object-fit: cover; }
.ji-float { position: absolute; left: clamp(-40px, -3vw, -16px); bottom: 32px; background: #fff; border-radius: var(--ji-radius); padding: 20px 22px; box-shadow: 0 24px 56px -20px rgba(15, 16, 17, .25); min-width: 230px; }
.ji-float b { font: 700 2.4rem/1 Switzer, sans-serif; letter-spacing: -.03em; }
.ji-float .ji-stars { color: #f59e0b; letter-spacing: 2px; font-size: 15px; }
.ji-float span { display: block; font: 500 13px/1.4 Inter, sans-serif; color: var(--ji-muted); margin-top: 6px; }

/* marquee of credentials */
.ji-marquee { overflow: hidden; padding: 28px 0; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ji-marquee-track { display: flex; gap: 56px; width: max-content; animation: ji-marquee 38s linear infinite; }
.ji-marquee:hover .ji-marquee-track { animation-play-state: paused; }
.ji-marquee img { height: 74px; width: auto; filter: grayscale(1) invert(1) contrast(1.3); opacity: .8; }
.ji-dark .ji-marquee img { filter: none; opacity: .9; }
@keyframes ji-marquee { to { transform: translateX(-50%); } }

/* stats */
.ji-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ji-line); }
.ji-dark .ji-stats { border-color: rgba(255, 255, 255, .12); }
.ji-stat { padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 36px) 12px; border-right: 1px solid var(--ji-line); min-width: 0; }
.ji-stat:first-child { padding-left: 0; }
.ji-dark .ji-stat { border-color: rgba(255, 255, 255, .12); }
.ji-stat:last-child { border-right: 0; }
.ji-stat b { display: block; font: 500 clamp(2.8rem, 5.6vw, 5.6rem)/1 Switzer, sans-serif; letter-spacing: -.04em; }
.ji-stat b sup { font-size: .5em; vertical-align: baseline; margin-left: .04em; }
.ji-stat > span { display: block; margin-top: 16px; font: 500 14px/1.45 Inter, sans-serif; color: var(--ji-muted); max-width: 22ch; }
.ji-dark .ji-stat > span { color: #9d9d9d; }
.ji-stat b span { font: inherit; letter-spacing: inherit; }

/* split section: sticky heading left, content right */
.ji-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.ji-split-head { position: sticky; top: 120px; }
.ji-split-body > * + * { margin-top: 18px; }

/* cards */
.ji-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.ji-card { background: #fff; border-radius: var(--ji-radius); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; transition: transform .5s var(--ji-ease), box-shadow .5s var(--ji-ease); }
.ji-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15, 16, 17, .35); }
.ji-card-num { font: 500 13px/1 Switzer, sans-serif; color: var(--ji-muted); }
.ji-card-img { margin: -28px -26px 8px; aspect-ratio: 16 / 10; overflow: hidden; }
.ji-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ji-ease); }
.ji-card:hover .ji-card-img img { transform: scale(1.06); }
.ji-card ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ji-card li { font: 500 12.5px/1 Inter, sans-serif; background: var(--ji-paper); border-radius: 40px; padding: 7px 11px; color: #444; }
.ji-dark .ji-card { background: var(--ji-dark-2); }
.ji-dark .ji-card li { background: var(--ji-pill); color: #b6b6b6; }

/* numbered rows (homepage services style, on dark) */
.ji-rows { margin-top: clamp(40px, 5vw, 72px); }
.ji-row { display: grid; grid-template-columns: 56px 1fr 1fr; gap: clamp(16px, 3vw, 48px); padding: 36px 0; border-top: 1px dashed rgba(255, 255, 255, .18); align-items: start; }
.ji-row:last-child { border-bottom: 1px dashed rgba(255, 255, 255, .18); }
.ji-badge { width: 22px; height: 22px; border-radius: 50%; background: var(--ji-accent); color: var(--ji-ink); display: grid; place-items: center; font: 600 11px/1 Switzer, sans-serif; margin-top: 6px; }
.ji-row .ji-h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.ji-row-img { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 16px; }
.ji-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ji-ease); }
.ji-row:hover .ji-row-img img { transform: scale(1.05); }

/* feature: image + text */
.ji-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.ji-feature.is-flip .ji-feature-media { order: 2; }
.ji-feature-media { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: #e6e6e6; }
.ji-feature-media img { width: 100%; height: 118%; object-fit: cover; }

/* process */
.ji-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); position: relative; counter-reset: step; }
.ji-step { background: #fff; border-radius: var(--ji-radius); padding: 26px; position: relative; }
.ji-step::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 3rem/1 Switzer, sans-serif; letter-spacing: -.04em; color: var(--ji-accent); margin-bottom: 28px; }
.ji-progress { height: 2px; background: var(--ji-line); margin-top: 48px; border-radius: 2px; overflow: hidden; }
.ji-progress i { display: block; height: 100%; width: 100%; background: var(--ji-accent); transform-origin: left; transform: scaleX(0); }

/* works */
.ji-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.ji-works.is-listing { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ji-work { display: block; text-decoration: none; color: inherit; }
.ji-work-img { border-radius: var(--ji-radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; background: #ddd; }
.ji-work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ji-ease); }
.ji-work:hover .ji-work-img img { transform: scale(1.07); }
.ji-work-tag { position: absolute; left: 14px; top: 14px; background: rgba(15, 16, 17, .55); backdrop-filter: blur(8px); color: #fff; font: 500 12px/1 Inter, sans-serif; padding: 8px 12px; border-radius: 40px; }
.ji-work-view { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: .45s var(--ji-ease); }
.ji-work:hover .ji-work-view { transform: scale(1); opacity: 1; }
.ji-work-meta { display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px 0; align-items: baseline; }
.ji-work-meta h3 { font: 500 1.2rem/1.2 Switzer, sans-serif; letter-spacing: -.015em; margin: 0; }
.ji-work-meta span { font: 500 13px/1.4 Inter, sans-serif; color: var(--ji-muted); text-align: right; }
.ji-dark .ji-work-meta span { color: #9d9d9d; }
.ji-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ji-filter button { border: 1px solid var(--ji-line); background: #fff; border-radius: 48px; padding: 11px 18px; font: 500 14px/1 Inter, sans-serif; cursor: pointer; transition: background .3s, color .3s; }
.ji-filter button.is-active { background: var(--ji-ink); color: #fff; border-color: var(--ji-ink); }
.ji-filter button em { font-style: normal; opacity: .55; margin-left: 4px; font-size: 12px; }
.ji-work.is-hidden { display: none; }

/* hub list (services / industries index) */
.ji-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ji-line); }
.ji-list a { display: grid; grid-template-columns: 64px 1fr auto 44px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--ji-line); text-decoration: none; color: inherit; position: relative; }
.ji-list a .ji-h3 { font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.03em; transition: transform .5s var(--ji-ease), color .3s; }
.ji-list a:hover .ji-h3 { transform: translateX(14px); color: var(--ji-accent); }
.ji-list a p { max-width: 38ch; }
.ji-list-num { font: 500 14px/1 Switzer, sans-serif; color: var(--ji-muted); }
.ji-list-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ji-line); display: grid; place-items: center; transition: .4s var(--ji-ease); }
.ji-list a:hover .ji-list-arrow { background: var(--ji-ink); color: #fff; border-color: var(--ji-ink); }
.ji-peek { position: fixed; left: 0; top: 0; width: 320px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 40; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .4s var(--ji-ease); }
.ji-peek.is-on { opacity: 1; transform: scale(1); }
.ji-peek img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.ji-faq { margin-top: clamp(32px, 4vw, 56px); }
.ji-faq details { border-top: 1px solid var(--ji-line); }
.ji-faq details:last-child { border-bottom: 1px solid var(--ji-line); }
.ji-faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 32px; gap: 16px; align-items: center; padding: 26px 0; font: 500 clamp(1.05rem, 1.4vw, 1.3rem)/1.3 Switzer, sans-serif; }
.ji-faq summary::-webkit-details-marker { display: none; }
.ji-faq summary small { font: 500 13px/1 Switzer, sans-serif; color: var(--ji-muted); }
.ji-faq summary i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ji-line); position: relative; transition: .4s var(--ji-ease); }
.ji-faq summary i::before, .ji-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .4s var(--ji-ease); }
.ji-faq summary i::after { transform: rotate(90deg); }
.ji-faq details[open] summary i { background: var(--ji-ink); color: #fff; }
.ji-faq details[open] summary i::after { transform: rotate(0); }
.ji-faq-a { overflow: hidden; }
.ji-faq-a p { padding: 0 48px 28px 60px; margin: 0; font: 400 1rem/1.65 Inter, sans-serif; color: var(--ji-muted); max-width: 80ch; }

/* case study */
.ji-case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.ji-case-meta div { border-top: 1px solid var(--ji-line); padding-top: 18px; min-width: 0; }
.ji-case-meta b { overflow-wrap: anywhere; }
.ji-case-meta span { display: block; font: 400 12px/1 Switzer, sans-serif; text-transform: uppercase; color: var(--ji-muted); margin-bottom: 10px; }
.ji-case-meta b { font: 500 1.02rem/1.4 Switzer, sans-serif; }
.ji-case-meta a { color: inherit; }
.ji-cover { margin: 0 clamp(8px, 1vw, 16px); border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden; aspect-ratio: 16 / 8; background: #ddd; }
.ji-cover img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.ji-words .w { opacity: .15; transition: opacity .2s; }
.ji-challenges { counter-reset: ch; margin-top: clamp(32px, 4vw, 56px); }
.ji-challenges li { list-style: none; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .14); font: 500 clamp(1.1rem, 1.8vw, 1.6rem)/1.3 Switzer, sans-serif; letter-spacing: -.015em; }
.ji-challenges li::before { counter-increment: ch; content: "0" counter(ch); color: var(--ji-accent); font-size: .8em; }
.ji-challenges { padding: 0; }
.ji-quote { text-align: center; max-width: 980px; margin: 0 auto; }
.ji-quote-mark { font: 500 7rem/0.6 Switzer, sans-serif; color: var(--ji-accent); display: block; height: 56px; }
.ji-quote blockquote { margin: 0; font: 500 clamp(1.5rem, 3vw, 2.6rem)/1.22 Switzer, sans-serif; letter-spacing: -.025em; }
.ji-quote cite { display: block; margin-top: 28px; font: 500 15px/1.4 Inter, sans-serif; font-style: normal; color: var(--ji-muted); }
.ji-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ji-gallery figure { margin: 0; border-radius: var(--ji-radius); overflow: hidden; background: #ddd; }
.ji-gallery figure:first-child:nth-last-child(odd), .ji-gallery figure.is-wide { grid-column: 1 / -1; }
.ji-gallery img { width: 100%; height: auto; }
.ji-next { display: block; text-decoration: none; color: #fff; position: relative; overflow: hidden; }
.ji-next-inner { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.ji-next-title { font: 500 clamp(2.6rem, 8vw, 8rem)/.95 Switzer, sans-serif; letter-spacing: -.045em; transition: transform .7s var(--ji-ease); }
.ji-next:hover .ji-next-title { transform: translateX(18px); }
.ji-next-img { width: min(420px, 38vw); border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; flex: none; }
.ji-next-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ji-ease); }
.ji-next:hover .ji-next-img img { transform: scale(1.08); }

/* team strip (hubs) */
.ji-team { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ji-team img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1); border: 2px solid var(--ji-paper); margin-left: -18px; }
.ji-team img:first-child { margin-left: 0; }
.ji-life { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 240px; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.ji-life figure { margin: 0; border-radius: var(--ji-radius); overflow: hidden; }
.ji-life figure:first-child { grid-row: span 2; }
.ji-life img { width: 100%; height: 100%; object-fit: cover; }

/* reveal (only when JS is running and motion is allowed) */
html.ji-anim [data-r] { opacity: 0; transform: translateY(36px); }
html.ji-anim [data-r="fade"] { transform: none; }
html.ji-anim .ji-clip { clip-path: inset(12% 8% 12% 8% round 28px); }
.ji-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

@media (max-width: 991px) {
  .ji-hero-grid, .ji-split, .ji-feature { grid-template-columns: 1fr; }
  .ji-feature.is-flip .ji-feature-media { order: 0; }
  .ji-split-head { position: static; }
  .ji-hero-img { aspect-ratio: 16 / 11; }
  .ji-float { left: 16px; bottom: 16px; }
  .ji-stats { grid-template-columns: 1fr 1fr; }
  .ji-stat:nth-child(2) { border-right: 0; }
  .ji-stat:nth-child(odd) { padding-left: 0; }
  .ji-stat:nth-child(n+3) { border-top: 1px solid var(--ji-line); }
  .ji-dark .ji-stat:nth-child(n+3) { border-top-color: rgba(255, 255, 255, .12); }
  .ji-works { grid-template-columns: 1fr 1fr; }
  .ji-row { grid-template-columns: 40px 1fr; }
  .ji-row > :last-child { grid-column: 2; }
  .ji-case-meta { grid-template-columns: 1fr 1fr; }
  .ji-life { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .ji-list a { grid-template-columns: 40px 1fr 44px; }
  .ji-list a p { display: none; }
  .ji-next-inner { flex-direction: column; align-items: start; }
  .ji-next-img { width: 100%; }
}
@media (max-width: 600px) {
  .ji-split-body .ji-cards { grid-template-columns: 1fr !important; }
  .ji-case-card { min-height: 0; }
  .ji-works, .ji-gallery { grid-template-columns: 1fr; }
  .ji-cover { aspect-ratio: 4 / 3; }
  .ji-faq-a p { padding: 0 0 24px; }
  .ji-faq summary { grid-template-columns: 28px 1fr 32px; }
  .ji-stat { padding-right: 12px; padding-left: 16px; }
  .ji-stat:nth-child(odd) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ji-marquee-track { animation: none; }
}

/* case study hero card: client logo + headline result */
.ji-case-card { background: var(--ji-ink); color: #fff; border-radius: 28px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; min-height: 340px; justify-content: space-between; position: relative; overflow: hidden; }
.ji-case-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 73, 34, .55), transparent 70%); }
.ji-case-logo { height: 72px; width: auto; max-width: 240px; object-fit: contain; background: #fff; border-radius: 14px; padding: 10px 16px; position: relative; z-index: 1; align-self: flex-start; }
.ji-case-card b { display: block; font: 500 clamp(3.5rem, 7vw, 6.5rem)/.9 Switzer, sans-serif; letter-spacing: -.05em; position: relative; z-index: 1; }
.ji-case-card b sup { font-size: .5em; vertical-align: baseline; margin-left: .04em; }
.ji-case-card p { margin: 10px 0 0; color: #b5b5b5; font: 500 15px/1.45 Inter, sans-serif; max-width: 26ch; position: relative; z-index: 1; }
.ji-case-card small { font: 400 12px/1 Switzer, sans-serif; text-transform: uppercase; color: #8d8d8d; position: relative; z-index: 1; }

/* long overview statements */
.ji-statement.is-long { font-size: clamp(1.25rem, 2.1vw, 2rem); line-height: 1.32; max-width: 36ch; }

/* closing call to action */
.ji-cta { text-align: left; overflow: hidden; }
.ji-cta-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.ji-cta .ji-h2 { font-size: clamp(2.4rem, 6vw, 5.6rem); max-width: 14ch; }
.ji-cta-side { display: flex; flex-direction: column; gap: 20px; }
.ji-cta-mail { color: #fff; font: 500 clamp(1.1rem, 1.8vw, 1.5rem)/1.2 Switzer, sans-serif; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 8px; align-self: flex-start; }
.ji-cta-mail:hover { border-color: var(--ji-accent); }
.ji-cta .ji-team img { border-color: var(--ji-dark); }
.ji-cta::before { content: ""; position: absolute; right: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 73, 34, .35), transparent 65%); pointer-events: none; }

@media (max-width: 991px) {
  .ji-float { position: relative; left: auto; bottom: auto; margin: -44px 16px 0; display: inline-block; min-width: 0; padding: 14px 18px; }
  .ji-float b { font-size: 1.8rem; }
  .ji-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ji-marquee img { height: 52px; }
  .ji-marquee-track { gap: 32px; }
  .ji-work-meta { flex-direction: column; gap: 4px; }
  .ji-work-meta span { text-align: left; }
  .ji-steps { grid-template-columns: 1fr 1fr; }
}

/* redesign impact table (case studies) */
.ji-impact { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid rgba(255, 255, 255, .14); }
.ji-impact-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); align-items: baseline; }
.ji-impact-row span { font: 500 clamp(1rem, 1.4vw, 1.2rem)/1.3 Switzer, sans-serif; }
.ji-impact-row s { text-decoration: none; color: #8d8d8d; font: 500 clamp(1rem, 1.6vw, 1.4rem)/1 Switzer, sans-serif; }
.ji-impact-row b { font: 500 clamp(1.4rem, 2.6vw, 2.2rem)/1 Switzer, sans-serif; letter-spacing: -.02em; }
.ji-impact-row em { font-style: normal; color: var(--ji-accent); font: 500 15px/1.3 Inter, sans-serif; }
.ji-impact-row.is-head > * { font: 400 12px/1 Switzer, sans-serif !important; text-transform: uppercase; color: #8d8d8d; letter-spacing: 0; }
@media (max-width: 600px) { .ji-impact-row { grid-template-columns: 1fr 1fr; } .ji-impact-row span, .ji-impact-row em { grid-column: 1 / -1; } }

/* consecutive dark panels: keep them separated like the side gutters */
.ji-dark + .ji-dark { margin-top: clamp(8px, 1vw, 16px); }

/* results rows set their column count inline; keep phones at two columns */
@media (max-width: 991px) {
  .ji-stats { grid-template-columns: 1fr 1fr !important; }
  .ji-stats .ji-stat:nth-child(even) { border-right: 0; }
  .ji-stats .ji-stat:nth-child(odd) { padding-left: 0; }
  .ji-stats .ji-stat:nth-child(n+3) { border-top: 1px solid var(--ji-line); }
  .ji-dark .ji-stats .ji-stat:nth-child(n+3) { border-top-color: rgba(255, 255, 255, .12); }
}
