/* =====================================================================
 * Indirect Media rebuild, round 2 (2026-10-06 night): depth and movement.
 * Bold headings, page-load and scroll motion, photo department cards, client logo strip, films,
 * galleries + lightbox, capabilities, the one-shoot diagram, portfolio cards, the guided enquiry intro.
 * Loaded after style.css and dept.css. Everything respects prefers-reduced-motion.
 * ===================================================================== */

/* ---------- Bold headings (Heebo 700; Tenor Sans stays for numerals) ---------- */
body.im-rebuild h1, body.im-rebuild h2, body.im-rebuild h3,
body.im-rebuild .im-door-title, body.im-rebuild .im-dcard-title, body.im-rebuild .im-feature-title,
body.im-rebuild .im-case-card-title, body.im-rebuild .im-brief h3, body.im-rebuild .im-brief-brand b {
	font-family: 'Heebo', Helvetica, Arial, sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
}
body.im-rebuild h1 { line-height: 1.04 !important; letter-spacing: -0.03em; }
body.im-rebuild h2 { line-height: 1.1 !important; }
body.im-rebuild .im-center { text-align: center; margin-left: auto; margin-right: auto; }
body.im-rebuild .im-h2-sm { font-size: 15px !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: var(--im-muted) !important; font-weight: 500 !important; padding-bottom: 20px !important; }
body.im-rebuild .im-kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--im-red); margin-bottom: 18px; padding: 0; }
body.im-rebuild .im-kicker a { color: inherit; text-decoration: none; }
body.im-rebuild .im-more-link { margin-top: 8px; }
body.im-rebuild .im-more-link a { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--im-red); padding-bottom: 2px; }
body.im-rebuild .im-pending::after { display: none !important; }

/* ---------- Sticky header that tightens on scroll ---------- */
body.im-rebuild .et-l--header { position: sticky; top: 0; z-index: 990; transition: box-shadow 0.3s ease; }
body.admin-bar.im-rebuild .et-l--header { top: 32px; }
body.im-rebuild .et-l--header .et_pb_section { transition: padding 0.3s ease, background-color 0.3s ease; }
body.im-rebuild.im-scrolled .et-l--header { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8); }
body.im-rebuild.im-scrolled .et-l--header .et_pb_section { padding-top: 4px !important; padding-bottom: 4px !important; background-color: rgba(0, 0, 0, 0.92) !important; backdrop-filter: blur(10px); }
body.im-rebuild .et-l--header img { transition: transform 0.3s ease; transform-origin: left center; }
body.im-rebuild.im-scrolled .et-l--header img { transform: scale(0.82); }

/* ---------- Page transitions ---------- */
#im-curtain { position: fixed; inset: 0; z-index: 100000; background: #000; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; display: grid; place-items: center; }
#im-curtain::after { content: ""; width: 64px; height: 70px; background: var(--im-c-mark) center / contain no-repeat; opacity: 0.9; animation: im-spin 1.2s linear infinite; }
body.im-loading #im-curtain, body.im-leaving #im-curtain { opacity: 1; pointer-events: auto; }
@keyframes im-spin { to { transform: rotate(360deg); } }

/* ---------- Hero entrance (first section of every rebuild page) ---------- */
body.im-rebuild .im-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
body.im-rebuild .im-w > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
body.im-rebuild.im-loaded .im-w > span { transform: none; }
body.im-rebuild .im-hero-fade { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--d, 0) * 1ms); }
body.im-rebuild.im-loaded .im-hero-fade { opacity: 1; transform: none; }
body.im-rebuild .im-hero-media { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1) 0.25s; }
body.im-rebuild.im-loaded .im-hero-media { clip-path: inset(0 0 0 0); }
body.im-rebuild .im-hero-media img { transform: scale(1.14); transition: transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s; will-change: transform; }
body.im-rebuild.im-loaded .im-hero-media img { transform: scale(1.02); }

/* ---------- Buttons: sweep, press and ripple ---------- */
body.im-rebuild .im-btn { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.15s ease, color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease; }
body.im-rebuild .im-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; transform: translateX(-101%); transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1); }
body.im-rebuild .im-btn:hover::before { transform: none; }
body.im-rebuild .et_pb_bg_layout_dark .im-btn::before, body.im-rebuild .im-on-dark .im-btn::before { background: #fff; }
body.im-rebuild .et_pb_bg_layout_dark .im-btn:hover { color: #000 !important; }
body.im-rebuild .im-btn:active { transform: scale(0.97); }
body.im-rebuild .im-btn-ghost { background: transparent !important; border: 1px solid currentColor !important; }
body.im-rebuild .im-btn-play span { display: inline-block; margin-right: 6px; font-size: 0.8em; transition: transform 0.3s ease; }
body.im-rebuild .im-btn-play:hover span { transform: scale(1.3); }
body.im-rebuild .im-buttons--quiet { margin-top: 12px; }
body.im-rebuild .im-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transform: scale(0); animation: im-ripple 0.6s ease-out forwards; pointer-events: none; }
@keyframes im-ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- Scroll reveals: stronger, staggered ---------- */
body.im-rebuild.im-reveals .im-reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
body.im-rebuild.im-reveals .im-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Home: three departments as photo cards ---------- */
body.im-rebuild ul.im-dcards { list-style: none !important; padding: 0 !important; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.im-rebuild li.im-dcard { position: relative; min-height: 560px; overflow: hidden; background: #000; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; padding: 0 !important; }
body.im-rebuild .im-dcard-media { position: absolute; inset: 0; z-index: -2; }
body.im-rebuild .im-dcard-media img.im-door-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease; filter: saturate(0.9); }
body.im-rebuild li.im-dcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.88) 78%); transition: background 0.5s ease; }
body.im-rebuild li.im-dcard:hover .im-dcard-media img { transform: scale(1.12); filter: saturate(1.1); }
body.im-rebuild li.im-dcard:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.94) 70%); }
body.im-rebuild .im-dcard-body { padding: 28px; position: static; }
body.im-rebuild .im-dcard-num { position: absolute; top: 24px; left: 28px; width: 56px; height: 61px; display: grid; place-items: center; font-family: 'Tenor Sans', serif; font-size: 20px; color: #fff; background: var(--im-c-mark) center / contain no-repeat; padding: 0 !important; }
body.im-rebuild .im-dcard-title { font-size: 30px !important; line-height: 1.05 !important; padding-bottom: 12px !important; color: #fff !important; }
body.im-rebuild .im-dcard-title a { color: #fff !important; text-decoration: none; }
body.im-rebuild .im-dcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
body.im-rebuild li.im-dcard p { color: rgba(255, 255, 255, 0.82); }
body.im-rebuild ul.im-dcard-services { list-style: none !important; padding: 0 !important; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease; }
body.im-rebuild ul.im-dcard-services li { padding: 6px 0 6px 18px !important; border-top: 1px solid rgba(255, 255, 255, 0.16); position: relative; font-size: 15px; color: #fff; }
body.im-rebuild ul.im-dcard-services li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 2px; background: var(--im-red); }
body.im-rebuild li.im-dcard:hover ul.im-dcard-services, body.im-rebuild li.im-dcard:focus-within ul.im-dcard-services { max-height: 200px; opacity: 1; margin: 10px 0 14px; }
body.im-rebuild .im-dcard-link { font-weight: 500; color: #fff !important; padding: 0; }
body.im-rebuild .im-dcard-link { display: inline-block; transition: transform 0.3s ease; }
body.im-rebuild li.im-dcard:hover .im-dcard-link { transform: translateX(8px); color: var(--im-red) !important; }
body.im-rebuild li.im-dcard--labs .im-dcard-media { display: grid; place-items: center; padding: 28px 28px 220px; background: radial-gradient(70% 60% at 70% 20%, rgba(237, 31, 76, 0.22), transparent 60%), #0b0b0b; }
@media (max-width: 980px) {
	body.im-rebuild ul.im-dcards { grid-template-columns: 1fr; }
	body.im-rebuild li.im-dcard { min-height: 460px; }
	body.im-rebuild ul.im-dcard-services { max-height: 200px; opacity: 1; margin: 10px 0 14px; }
}

/* ---------- Labs code-drawn visual ---------- */
body.im-rebuild .im-labs-visual { width: 100%; max-width: 520px; background: #111; border: 1px solid #2a2a2a; box-shadow: 0 30px 60px -30px rgba(237, 31, 76, 0.45); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #cfcfcf; aspect-ratio: 4 / 3; display: flex; flex-direction: column; }
body.im-rebuild .im-lv-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #2a2a2a; }
body.im-rebuild .im-lv-bar span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
body.im-rebuild .im-lv-bar span:first-child { background: var(--im-red); }
body.im-rebuild .im-lv-bar em { margin-left: auto; font-style: normal; font-size: 12px; color: #777; }
body.im-rebuild ul.im-lv-scores { list-style: none !important; padding: 18px 18px 6px !important; margin: 0; display: grid; gap: 14px; }
body.im-rebuild ul.im-lv-scores li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; padding: 0 !important; font-size: 12px; }
body.im-rebuild ul.im-lv-scores i { display: block; height: 8px; background: #222; position: relative; overflow: hidden; }
body.im-rebuild ul.im-lv-scores i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 1%); background: linear-gradient(90deg, var(--im-red), #ff6a8a); transform: scaleX(0); transform-origin: left; animation: im-grow 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards; }
body.im-rebuild ul.im-lv-scores li:nth-child(2) i::after { animation-delay: 0.8s; }
body.im-rebuild ul.im-lv-scores li:nth-child(3) i::after { animation-delay: 1s; }
body.im-rebuild ul.im-lv-scores li:nth-child(4) i::after { animation-delay: 1.2s; }
@keyframes im-grow { to { transform: scaleX(1); } }
body.im-rebuild .im-lv-code { margin: auto 18px 18px; padding: 12px; background: #0a0a0a; color: #9fe3b0; font-size: 12px; line-height: 1.7; white-space: pre-wrap; border-left: 2px solid var(--im-red); }
body.im-rebuild .im-lv-code code::after { content: "▍"; color: var(--im-red); animation: im-blink 1s steps(1) infinite; }
@keyframes im-blink { 50% { opacity: 0; } }

/* ---------- Client logo strip ---------- */
body.im-rebuild .im-marquee { position: relative; display: flex; overflow: hidden; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
body.im-rebuild ul.im-marquee-track { list-style: none !important; margin: 0; padding: 0 !important; display: flex; align-items: center; gap: 64px; padding-right: 64px !important; flex-shrink: 0; min-width: 100%; justify-content: space-around; animation: im-marquee 38s linear infinite; }
body.im-rebuild .im-marquee:hover ul.im-marquee-track { animation-play-state: paused; }
@keyframes im-marquee { to { transform: translateX(-100%); } }
body.im-rebuild li.im-logo { padding: 0 !important; flex: 0 0 auto; display: flex; align-items: center; height: 64px; }
body.im-rebuild li.im-logo img { height: 46px; width: auto; max-width: 170px; object-fit: contain; transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease; opacity: 0.75; }
body.im-rebuild li.im-logo--mono img { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
body.im-rebuild li.im-logo--sil img { filter: brightness(0); }
body.im-rebuild li.im-logo:hover img { opacity: 1; filter: none; transform: scale(1.06); }
body.im-rebuild li.im-logo--sil:hover img { filter: brightness(0); }
body.im-rebuild li.im-logo--word span { font-family: 'Heebo', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase; color: #9a9a9a; white-space: nowrap; transition: color 0.3s ease; }
body.im-rebuild li.im-logo--word:hover span { color: var(--im-ink); }

/* ---------- Films (click-to-play Vimeo) ---------- */
body.im-rebuild .im-film { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; aspect-ratio: 16 / 9; color: #fff; text-align: left; }
body.im-rebuild .im-film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease; opacity: 0.85; }
body.im-rebuild .im-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.8)); }
body.im-rebuild .im-film:hover img { transform: scale(1.06); opacity: 1; }
body.im-rebuild .im-film-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--im-red); box-shadow: 0 0 0 0 rgba(237, 31, 76, 0.6); animation: im-pulse-ring 2.2s ease-out infinite; transition: transform 0.3s ease; }
body.im-rebuild .im-film-play::before { content: ""; position: absolute; left: 27px; top: 22px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
body.im-rebuild .im-film:hover .im-film-play { transform: scale(1.12); }
@keyframes im-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(237, 31, 76, 0.55); } 70% { box-shadow: 0 0 0 22px rgba(237, 31, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 31, 76, 0); } }
body.im-rebuild .im-film-meta { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
body.im-rebuild .im-film-title { font-weight: 500; font-size: 15px; line-height: 1.3; }
body.im-rebuild .im-film-dur { font-size: 12px; font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, 0.6); padding: 2px 8px; }
body.im-rebuild .im-film--lg .im-film-play, body.im-rebuild .im-film--hero .im-film-play { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
body.im-rebuild .im-film--lg .im-film-play::before, body.im-rebuild .im-film--hero .im-film-play::before { left: 37px; top: 30px; border-width: 16px 0 16px 25px; }
body.im-rebuild .im-film--hero .im-film-title { font-size: clamp(20px, 3vw, 34px); font-weight: 700; }
body.im-rebuild .im-film.is-playing { cursor: default; }
body.im-rebuild .im-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
body.im-rebuild .im-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
body.im-rebuild .im-reel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
body.im-rebuild .im-reel-feature { padding: 0; }
@media (max-width: 767px) { body.im-rebuild .im-reel { grid-template-columns: 1fr; } }

/* ---------- Modal (showreel button, lightbox) ---------- */
.im-modal { position: fixed; inset: 0; z-index: 100001; background: rgba(0, 0, 0, 0.94); display: grid; place-items: center; opacity: 0; transition: opacity 0.3s ease; }
.im-modal.is-open { opacity: 1; }
.im-modal-inner { width: min(1200px, 92vw); aspect-ratio: 16 / 9; position: relative; transform: scale(0.96); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.im-modal.is-open .im-modal-inner { transform: none; }
.im-modal-inner iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.im-modal-close, .im-lb-nav { position: absolute; z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 22px; line-height: 48px; text-align: center; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.im-modal-close { top: 18px; right: 18px; }
.im-modal-close:hover, .im-lb-nav:hover { background: #ED1F4C; transform: scale(1.06); }
.im-lb .im-modal-inner { aspect-ratio: auto; width: auto; height: auto; display: grid; place-items: center; }
.im-lb img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; display: block; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); transition: opacity 0.25s ease; }
.im-lb-nav { top: 50%; margin-top: -24px; }
.im-lb-prev { left: 18px; }
.im-lb-next { right: 18px; }
.im-lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font: 500 13px/1 'Heebo', sans-serif; letter-spacing: 0.1em; }

/* ---------- Galleries (masonry) ---------- */
body.im-rebuild .im-gallery { columns: 3 300px; column-gap: 12px; margin-top: 24px; }
body.im-rebuild .im-gallery-item { display: block; margin: 0 0 12px; break-inside: avoid; overflow: hidden; position: relative; cursor: zoom-in; background: #eee; }
body.im-rebuild .im-gallery-item[hidden] { display: none; }
body.im-rebuild .im-gallery-item img { display: block; width: 100%; height: auto; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease; }
body.im-rebuild .im-gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(237, 31, 76, 0.35)); opacity: 0; transition: opacity 0.4s ease; }
body.im-rebuild .im-gallery-item:hover img { transform: scale(1.05); }
body.im-rebuild .im-gallery-item:hover::after { opacity: 1; }
body.im-rebuild .im-gallery-more { text-align: center; margin-top: 20px; }
@media (max-width: 767px) { body.im-rebuild .im-gallery { columns: 2; column-gap: 8px; } body.im-rebuild .im-gallery-item { margin-bottom: 8px; } }

/* ---------- Capabilities (dark band) ---------- */
body.im-rebuild ul.im-caps { list-style: none !important; padding: 0 !important; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.1); }
body.im-rebuild li.im-cap { background: var(--im-ink); padding: 28px 24px !important; position: relative; transition: background 0.35s ease; }
body.im-rebuild li.im-cap::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 32px; background: var(--im-red); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
body.im-rebuild li.im-cap:hover { background: #1b1b1b; }
body.im-rebuild li.im-cap:hover::before { width: 100%; }
body.im-rebuild li.im-cap h3 { color: #fff !important; font-size: 21px !important; }
body.im-rebuild li.im-cap p { color: rgba(255, 255, 255, 0.72); }
body.im-rebuild ul.im-chips { list-style: none !important; padding: 0 !important; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
body.im-rebuild ul.im-chips li { padding: 8px 16px !important; border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-size: 14px; font-weight: 500; transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
body.im-rebuild ul.im-chips li:hover { background: var(--im-red); border-color: var(--im-red); transform: translateY(-3px); }

/* ---------- One shoot, every channel: orbit diagram ---------- */
body.im-rebuild .im-orbit { position: relative; width: min(440px, 86vw); aspect-ratio: 1; margin: 0 auto; }
body.im-rebuild .im-orbit-ring { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.28); animation: im-spin 40s linear infinite; }
body.im-rebuild .im-orbit-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--im-red); box-shadow: 0 0 18px var(--im-red); }
body.im-rebuild .im-orbit-core { position: absolute; inset: 33%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(237, 31, 76, 0.35), rgba(237, 31, 76, 0.05) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; font-weight: 700; line-height: 1.1; animation: im-breathe 4s ease-in-out infinite; }
body.im-rebuild .im-orbit-core span:nth-child(2) { color: var(--im-red); }
@keyframes im-breathe { 50% { transform: scale(1.06); } }
body.im-rebuild .im-orbit ul { list-style: none !important; padding: 0 !important; margin: 0; }
body.im-rebuild .im-orbit-node { position: absolute; padding: 0 !important; width: 26%; aspect-ratio: 1; margin: -13% 0 0 -13%; border-radius: 50%; background: #000; border: 1px solid rgba(255, 255, 255, 0.2); display: grid; place-items: center; color: #fff; font-weight: 500; font-size: 15px; transition: transform 0.3s ease, border-color 0.3s ease; animation: im-float 5s ease-in-out infinite; }
body.im-rebuild .im-orbit-node:hover { transform: scale(1.1); border-color: var(--im-red); }
body.im-rebuild .im-orbit-node--1 { left: 50%; top: 12%; }
body.im-rebuild .im-orbit-node--2 { left: 88%; top: 50%; animation-delay: -1.2s; }
body.im-rebuild .im-orbit-node--3 { left: 50%; top: 88%; animation-delay: -2.4s; }
body.im-rebuild .im-orbit-node--4 { left: 12%; top: 50%; animation-delay: -3.6s; }
@keyframes im-float { 50% { translate: 0 -8px; } }

/* ---------- Featured work + portfolio cards ---------- */
body.im-rebuild a.im-feature--link, body.im-rebuild a.im-case-card { position: relative; display: block; overflow: hidden; background: #000; color: #fff !important; text-decoration: none !important; aspect-ratio: 4 / 5; isolation: isolate; }
body.im-rebuild a.im-feature--link img, body.im-rebuild a.im-case-card img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; z-index: -2; transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease; }
body.im-rebuild a.im-feature--link::after, body.im-rebuild a.im-case-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.85)); transition: opacity 0.4s ease; }
body.im-rebuild a.im-feature--link:hover img, body.im-rebuild a.im-case-card:hover img { transform: scale(1.08); }
body.im-rebuild a.im-feature--link .im-num { position: absolute; top: 18px; left: 18px; color: #fff; }
body.im-rebuild a.im-feature--link, body.im-rebuild a.im-case-card { display: flex !important; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; }
body.im-rebuild .im-feature-tag, body.im-rebuild .im-case-card-tag { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--im-red); }
body.im-rebuild .im-feature-title, body.im-rebuild .im-case-card-title { font-size: 26px; line-height: 1.08; font-weight: 700; }
body.im-rebuild .im-feature-line, body.im-rebuild .im-case-card-cta { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.82); transition: transform 0.3s ease, color 0.3s ease; }
body.im-rebuild a.im-case-card:hover .im-case-card-cta { transform: translateX(8px); color: #fff; }
body.im-rebuild .im-proof--cases { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { body.im-rebuild .im-proof--cases { grid-template-columns: 1fr; } body.im-rebuild a.im-case-card { aspect-ratio: 4 / 3; } }

/* Work page case cards */
body.im-rebuild li.im-case { transition: transform 0.35s ease; }
body.im-rebuild li.im-case .im-img { transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
body.im-rebuild li.im-case--link { cursor: pointer; }
body.im-rebuild li.im-case { overflow: hidden; }
body.im-rebuild li.im-case--link:hover .im-img { transform: scale(1.05); }
body.im-rebuild li.im-case h3 a { color: inherit; text-decoration: none; }
body.im-rebuild li.im-case--link h3 a::after { content: ""; position: absolute; inset: 0; }
body.im-rebuild li.im-case--link { position: relative; }
body.im-rebuild .im-case-cta a { font-weight: 500; color: var(--im-red) !important; text-decoration: none; }
body.im-rebuild li.im-case > .im-img, body.im-rebuild li.im-case > .im-placeholder { margin-bottom: 14px; }
body.im-rebuild .im-filter { margin: 8px 0 24px; }

/* ---------- Guided enquiry: department picker (step 0) ---------- */
body.im-rebuild .im-wizard-form[hidden] { display: none !important; }
body.im-rebuild .im-wizard--on .im-wizard-form > .fluentform:not(.im-brief-host) { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
body.im-rebuild .im-wizard-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
body.im-rebuild .im-wizard-opt { display: grid; grid-template-columns: 56px 1fr 26px; align-items: center; gap: 16px; text-align: left; width: 100%; padding: 18px 18px; background: #fff; border: 1px solid var(--im-line); cursor: pointer; font-family: 'Heebo', sans-serif; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease; }
body.im-rebuild .im-wizard-opt:hover { border-color: var(--im-red); transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(237, 31, 76, 0.55); }
body.im-rebuild .im-wizard-opt.is-pref { border-color: var(--im-ink); }
body.im-rebuild .im-wizard-ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--im-blush); color: var(--im-red); }
body.im-rebuild .im-wizard-ic svg { width: 28px; height: 28px; }
body.im-rebuild .im-wizard-tx b { display: block; font-size: 19px; font-weight: 700; color: var(--im-ink); }
body.im-rebuild .im-wizard-tx small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--im-red); margin: 2px 0 4px; }
body.im-rebuild .im-wizard-tx span { display: block; font-size: 15px; color: var(--im-muted); }
body.im-rebuild .im-wizard-go { font-size: 22px; color: var(--im-red); transition: transform 0.25s ease; }
body.im-rebuild .im-wizard-opt:hover .im-wizard-go { transform: translateX(6px); }
body.im-rebuild .im-wizard .im-brief { max-width: none; }

/* ---------- Social links (Contact) ---------- */
body.im-rebuild ul.im-social { list-style: none !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 12px; }
body.im-rebuild ul.im-social a { display: inline-block; padding: 12px 22px; border: 1px solid var(--im-ink); color: var(--im-ink); text-decoration: none; font-weight: 500; transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease; }
body.im-rebuild ul.im-social a:hover { background: var(--im-ink); color: #fff; transform: translateY(-2px); }

/* ---------- Image hover life everywhere ---------- */
body.im-rebuild .im-proof .im-img, body.im-rebuild .im-feature .im-img { transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
body.im-rebuild .im-proof .im-img:hover { transform: scale(1.04); }
body.im-rebuild .im-proof { overflow: hidden; }
body.im-rebuild ul.im-cards li.im-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
body.im-rebuild ul.im-cards li.im-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.35); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	body.im-rebuild .im-w > span, body.im-rebuild .im-hero-fade, body.im-rebuild .im-hero-media, body.im-rebuild .im-hero-media img { transform: none !important; opacity: 1 !important; clip-path: none !important; transition: none !important; }
	body.im-rebuild ul.im-marquee-track, body.im-rebuild .im-orbit-ring, body.im-rebuild .im-orbit-core, body.im-rebuild .im-orbit-node, body.im-rebuild .im-film-play { animation: none !important; }
	#im-curtain { display: none !important; }
}

/* ---------- No flash before the entrance runs (Divi sets html.js in the head) ---------- */
html.js body.im-rebuild:not(.im-loaded) #main-content .et_pb_section:first-child .et_pb_text_inner > * { opacity: 0; transform: translateY(18px); animation: im-show 0.4s ease 2.5s forwards; }
html.js body.im-rebuild:not(.im-loaded) #main-content .et_pb_section:first-child .et_pb_text_inner > img { opacity: 1; transform: scale(1.14); clip-path: inset(100% 0 0 0); }
@keyframes im-show { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
	html.js body.im-rebuild:not(.im-loaded) #main-content .et_pb_section:first-child .et_pb_text_inner > * { opacity: 1; transform: none; clip-path: none; animation: none; }
}

/* ---------- 2026-10-06: Work brand plates (case studies with no photos in hand yet) ---------- */
body.im-rebuild .im-case-plate { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin-bottom: 14px; padding: 10%; background: #F4F4F4; }
body.im-rebuild .im-case-plate img { width: auto !important; height: auto !important; max-width: 72%; max-height: 46%; object-fit: contain; }
body.im-rebuild .im-case-plate--mono img { filter: grayscale(1); mix-blend-mode: multiply; }
body.im-rebuild .im-case-plate--sil img { filter: brightness(0); }
body.im-rebuild .im-case-plate span { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; color: #000; }
body.im-rebuild li.im-case--link:hover .im-case-plate img { transform: none; }
body.im-rebuild a.im-proof-link { display: block; overflow: hidden; }

/* ---------- 2026-10-06: About, team ---------- */
body.im-rebuild ul.im-team2 { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
body.im-rebuild ul.im-team2 li { padding: 0; }
body.im-rebuild .im-member-photo { overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 18px; background: #E4E8EF; }
body.im-rebuild .im-member-photo .im-img, body.im-rebuild .im-member-photo .im-placeholder { width: 100% !important; height: 100% !important; object-fit: cover; aspect-ratio: auto !important; }
body.im-rebuild .im-member-photo .im-img { transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
body.im-rebuild .im-member:hover .im-member-photo .im-img { transform: scale(1.04); }
body.im-rebuild .im-member-name { font-size: 24px; font-weight: 700; line-height: 1.15; padding: 0 0 4px; }
body.im-rebuild .im-member-role { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--im-red); padding: 0 0 10px; }
body.im-rebuild .im-member-bio { font-size: 16px; line-height: 1.6; }
body.im-rebuild .im-member .im-placeholder-small { margin-top: 8px; }
@media (max-width: 980px) { body.im-rebuild ul.im-team2 { grid-template-columns: 1fr; gap: 40px; } body.im-rebuild .im-member-photo { max-width: 480px; } }
@media (prefers-reduced-motion: reduce) { body.im-rebuild .im-member:hover .im-member-photo .im-img { transform: none; } }

/* =====================================================================
 * Round 3 (2026-10-06, Christiaan's walkthrough): depth.
 * 1. Heroes with a photo: the photo fills the whole hero behind a black scrim (left-to-right + bottom-up
 *    gradient, ~85% behind the text easing to ~12%), so the image reads and the text stays legible (WCAG 4.5:1).
 * 2. White sections: headings with a red accent bar, process steps as cards with ghost numerals,
 *    a soft dot texture with a red glow so plain white bands are not flat.
 * ===================================================================== */
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) {
	display: flex; align-items: center; min-height: clamp(560px, 84vh, 880px);
	position: relative; isolation: isolate; overflow: hidden; background-color: #000 !important;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) > .et_pb_row {
	position: static; display: block; width: 90%; max-width: 1180px; margin: 0 auto;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) .et_pb_column:last-child {
	position: absolute !important; inset: 0; width: 100% !important; max-width: none !important; margin: 0 !important; z-index: -2;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) .et_pb_column:last-child :is(.et_pb_module, .et_pb_text_inner, p) {
	position: static; height: 100%; margin: 0 !important; padding: 0 !important;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) .et_pb_column:last-child :is(img, video) {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important;
	aspect-ratio: auto !important; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; scale: 1.08;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) .et_pb_column:last-child::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.66) 38%, rgba(0, 0, 0, 0.25) 74%, rgba(0, 0, 0, 0.12) 100%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
}
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) .et_pb_column:first-child {
	position: relative; z-index: 1; float: none; width: min(100%, 700px) !important; margin: 0 !important;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) .et_pb_column:first-child :is(h1, p, li, .im-lead, .im-kicker a) {
	color: #fff !important; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) .et_pb_column:first-child .im-lead { color: rgba(255, 255, 255, 0.88) !important; }
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) h1 { font-size: clamp(42px, 5.4vw, 74px) !important; line-height: 0.98 !important; letter-spacing: -0.025em; }
/* Digital's light-hero blush wash would sit over the photo: keep only its red glow. */
body.im-dept-digital #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video))::before {
	background: radial-gradient(50% 60% at 15% 90%, rgba(237, 31, 76, 0.28), transparent 60%);
}
@media (max-width: 980px) {
	body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) { min-height: 78vh; align-items: flex-end; }
	body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) .et_pb_column:last-child::after {
		background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.66) 50%, rgba(0, 0, 0, 0.35) 100%);
	}
}

/* ---------- Headings: bigger, tighter, a red accent bar ---------- */
body.im-rebuild #main-content .et_pb_section:not(:first-child) h2 { font-size: clamp(32px, 4vw, 56px) !important; letter-spacing: -0.02em; }
body.im-rebuild #main-content .et_pb_section:not(:first-child) h2::before {
	content: ""; display: block; width: 44px; height: 4px; margin: 0 0 20px; background: var(--im-red);
}
body.im-rebuild #main-content .et_pb_section:not(:first-child) h2.im-center::before { margin-left: auto; margin-right: auto; }
body.im-rebuild #main-content .et_pb_section:not(:first-child) :is(.im-h2-sm, .im-callout h2, .im-callout-lg h2, .im-callout-dark h2, .im-brief h2, .im-wizard h2)::before { display: none; }
body.im-rebuild #main-content .et_pb_section:not(:first-child) :is(.im-h2-sm) { font-size: 13px !important; letter-spacing: 0.16em; }

body.im-rebuild #main-content .et_pb_section:has(.im-sidetabs) h2 { font-size: clamp(30px, 3.2vw, 44px) !important; }

/* ---------- Numerals: crisp Heebo inside the C mark ---------- */
body.im-rebuild .im-num, body.im-rebuild .im-card-num { font-family: 'Heebo', Helvetica, Arial, sans-serif; font-weight: 700; font-size: 20px; }

/* ---------- Process steps: cards with a ghost numeral ---------- */
body.im-rebuild ol.im-steps { display: grid; gap: 16px; counter-reset: im-step; margin: 32px 0 24px; }
body.im-rebuild .et_pb_section:not(:has(.im-sidetabs)) ol.im-steps { grid-auto-flow: column; grid-auto-columns: 1fr; }
body.im-rebuild .et_pb_section:has(.im-sidetabs) ol.im-steps { grid-template-columns: repeat(2, 1fr); }
body.im-rebuild .et_pb_section:has(> .et_pb_row ol.im-steps):not(:has(.im-sidetabs)) > .et_pb_row { max-width: 1180px !important; }
body.im-rebuild .im-step {
	counter-increment: im-step; position: relative; overflow: hidden; isolation: isolate;
	flex-direction: column; gap: 22px; padding: 28px 26px 34px !important; margin: 0;
	border: 1px solid rgba(18, 18, 18, 0.08) !important; border-radius: 4px; background: #F7F7F7;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, background-color 0.35s ease;
}
body.im-rebuild .im-step::before {
	content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--im-red), rgba(237, 31, 76, 0));
	transform: scaleX(0.3); transform-origin: left; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.im-rebuild .im-step::after {
	content: counter(im-step, decimal-leading-zero); position: absolute; right: -4px; bottom: -34px; z-index: -1;
	font: 700 132px/1 'Heebo', Helvetica, Arial, sans-serif; letter-spacing: -0.05em; color: rgba(18, 18, 18, 0.05);
}
body.im-rebuild .im-step:hover { transform: translateY(-6px); background-color: #fff; box-shadow: 0 28px 50px -28px rgba(0, 0, 0, 0.28); }
body.im-rebuild .im-step:hover::before { transform: scaleX(1); }
body.im-rebuild .im-step h3 { font-size: 24px !important; padding-bottom: 8px; }
body.im-rebuild .im-step p { font-size: 15px; line-height: 1.6; }
body.im-rebuild .et_pb_bg_layout_dark .im-step { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1) !important; }
body.im-rebuild .et_pb_bg_layout_dark .im-step::after { color: rgba(255, 255, 255, 0.06); }
@media (max-width: 980px) {
	body.im-rebuild .et_pb_section ol.im-steps { grid-auto-flow: row !important; grid-template-columns: 1fr !important; }
	body.im-rebuild .im-step { flex-direction: row; gap: 16px; padding: 22px 20px !important; }
}
@media (prefers-reduced-motion: reduce) { body.im-rebuild .im-step, body.im-rebuild .im-step::before { transition: none; } body.im-rebuild .im-step:hover { transform: none; } }

/* ---------- White bands: soft dot texture and a red glow ---------- */
body.im-rebuild #main-content .et_pb_section:not(:first-child):not(:has(.et_pb_bg_layout_dark)) { position: relative; isolation: isolate; }
body.im-rebuild #main-content .et_pb_section:not(:first-child):not(:has(.et_pb_bg_layout_dark))::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(42% 55% at 100% 0%, rgba(237, 31, 76, 0.07), transparent 70%),
		radial-gradient(rgba(18, 18, 18, 0.09) 1px, transparent 1.4px) 0 0 / 22px 22px;
	-webkit-mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 80%);
	mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 80%);
}
body.im-rebuild #main-content .et_pb_section:not(:first-child):not(:has(.et_pb_bg_layout_dark)):nth-of-type(even)::before {
	background:
		radial-gradient(42% 55% at 0% 100%, rgba(237, 31, 76, 0.06), transparent 70%),
		radial-gradient(rgba(18, 18, 18, 0.09) 1px, transparent 1.4px) 0 0 / 22px 22px;
	-webkit-mask-image: linear-gradient(20deg, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 80%);
	mask-image: linear-gradient(20deg, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 80%);
}
/* Readable measure for running text on white */
body.im-rebuild #main-content .et_pb_section:not(:first-child) .et_pb_text_inner > p:not(.im-buttons):not(.im-center) { max-width: 68ch; }

/* =====================================================================
 * Round 4 (2026-10-07, Christiaan): the header over the hero photo, full-width photo strips,
 * a numbers strip, and photo cards for "What we do".
 * ===================================================================== */
:root { --im-hdr-h: 97px; }   /* im.js sets the measured header height */

/* ---------- See-through header on pages with a full-bleed photo hero ---------- */
/* The header keeps its sticky place but no longer pushes the hero down: the hero slides up under it. */
body.im-rebuild:has(#main-content .et_pb_section:first-child .et_pb_column:last-child :is(img.im-img, video.im-video)) .et-l--header {
	margin-bottom: calc(-1 * var(--im-hdr-h));
}
body.im-rebuild:not(.im-scrolled):has(#main-content .et_pb_section:first-child .et_pb_column:last-child :is(img.im-img, video.im-video)) .et-l--header .et_pb_section {
	background-color: transparent !important;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 60%, rgba(0, 0, 0, 0) 100%) !important;
}
body.im-rebuild .et-l--header .et_pb_section { transition: padding 0.3s ease, background-color 0.35s ease; }
body.im-rebuild .et-l--header .et_mobile_menu { background-color: #000 !important; }
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) {
	min-height: clamp(640px, 94vh, 980px); padding-top: calc(var(--im-hdr-h) + 40px) !important;
}
@media (max-width: 980px) {
	:root { --im-hdr-h: 80px; }
	body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)) { min-height: 88vh; }
}

/* ---------- Full-width photo strips between sections ---------- */
body.im-rebuild .et_pb_section:has(> .et_pb_row ul.im-strip) { padding: 0 !important; }
body.im-rebuild .et_pb_section:has(> .et_pb_row ul.im-strip) :is(.et_pb_row, .et_pb_column, .et_pb_module, .et_pb_text_inner) {
	width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
}
body.im-rebuild ul.im-strip {
	list-style: none !important; margin: 0 !important; padding: 0 !important;
	display: grid; grid-template-columns: repeat(4, 1fr); height: clamp(300px, 34vw, 540px); overflow: hidden;
}
body.im-rebuild ul.im-strip li.im-strip-item { position: relative; overflow: hidden; margin: 0; padding: 0 !important; }
body.im-rebuild ul.im-strip li.im-strip-item::before { content: none !important; }
body.im-rebuild ul.im-strip li.im-strip-item::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.4) 100%);
}
body.im-rebuild ul.im-strip li.im-strip-item + li.im-strip-item { box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.6); }
body.im-rebuild img.im-strip-img {
	display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover;
	border-radius: 0 !important; scale: 1.12; filter: saturate(0.92);
	transition: scale 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}
body.im-rebuild ul.im-strip li.im-strip-item:hover img.im-strip-img { scale: 1.18; filter: saturate(1.06); }
/* the strip arrives as one piece, photos staggered */
body.im-rebuild.im-reveals ul.im-strip li.im-strip-item { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1); }
body.im-rebuild.im-reveals ul.im-strip li.im-strip-item:nth-child(2) { transition-delay: 0.1s; }
body.im-rebuild.im-reveals ul.im-strip li.im-strip-item:nth-child(3) { transition-delay: 0.2s; }
body.im-rebuild.im-reveals ul.im-strip li.im-strip-item:nth-child(4) { transition-delay: 0.3s; }
body.im-rebuild.im-reveals .is-in ul.im-strip li.im-strip-item { clip-path: inset(0 0 0 0); }
body.im-rebuild.im-reveals .im-reveal:has(ul.im-strip) { opacity: 1; transform: none; }
@media (max-width: 980px) {
	body.im-rebuild ul.im-strip { grid-template-columns: repeat(2, 1fr); height: clamp(240px, 62vw, 420px); }
	body.im-rebuild ul.im-strip li.im-strip-item:nth-child(n+3) { display: none; }
}

/* ---------- Numbers strip ---------- */
body.im-rebuild .im-sr { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.im-rebuild .et_pb_section:has(ul.im-stats) {
	position: relative; overflow: hidden;
	background: radial-gradient(55% 140% at 0% 100%, rgba(237, 31, 76, 0.26), transparent 62%),
		radial-gradient(40% 90% at 100% 0%, rgba(237, 31, 76, 0.1), transparent 60%), #000 !important;
}
body.im-rebuild ul.im-stats { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); }
body.im-rebuild ul.im-stats li.im-stat { position: relative; margin: 0; padding: 6px 28px !important; border-left: 1px solid rgba(255, 255, 255, 0.16); }
body.im-rebuild ul.im-stats li.im-stat::before { content: none !important; }
body.im-rebuild ul.im-stats li.im-stat:first-child { border-left: 0; padding-left: 0 !important; }
body.im-rebuild .im-stat-num {
	font-family: 'Heebo', Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(56px, 6.6vw, 104px) !important;
	line-height: 0.92 !important; letter-spacing: -0.045em; color: #fff !important; padding: 0 0 16px !important;
	font-variant-numeric: tabular-nums;
}
body.im-rebuild .im-stat-num em { font-style: normal; color: var(--im-red); margin-left: 0.04em; }
body.im-rebuild .im-stat-num::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 18px; background: var(--im-red); transform-origin: left; transform: scaleX(0); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s; }
body.im-rebuild .is-in .im-stat-num::after, body.im-rebuild:not(.im-reveals) .im-stat-num::after { transform: scaleX(1); }
body.im-rebuild .im-stat-label { color: rgba(255, 255, 255, 0.74) !important; font-size: 16px; line-height: 1.5; max-width: 26ch; padding: 0 !important; }
@media (max-width: 980px) {
	body.im-rebuild ul.im-stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
	body.im-rebuild ul.im-stats li.im-stat:nth-child(odd) { border-left: 0; padding-left: 0 !important; }
	body.im-rebuild ul.im-stats li.im-stat:nth-child(even) { padding-right: 0 !important; }
}
@media (max-width: 520px) {
	body.im-rebuild ul.im-stats li.im-stat { padding: 0 0 0 16px !important; }
	body.im-rebuild ul.im-stats li.im-stat:nth-child(odd) { padding-left: 0 !important; }
}

/* ---------- "What we do": full photo cards ---------- */
body.im-rebuild ul.im-cards:has(li.im-card--photo) { gap: 20px; }
body.im-rebuild ul.im-cards li.im-card.im-card--photo {
	min-height: clamp(400px, 36vw, 500px); justify-content: flex-end; padding: 28px !important;
	border: 0 !important; background: #000 !important; color: #fff; overflow: hidden; isolation: isolate;
}
body.im-rebuild li.im-card--photo .im-card-media { position: absolute; inset: 0; z-index: -2; }
body.im-rebuild li.im-card--photo img.im-card-img {
	display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover;
	scale: 1.04; filter: saturate(0.9); transition: scale 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}
body.im-rebuild li.im-card--photo::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 10%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.9) 82%);
	transition: background 0.5s ease;
}
body.im-rebuild li.im-card--photo::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 1; background: var(--im-red);
	transform-origin: left; transform: scaleX(0.22); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.im-rebuild li.im-card--photo:hover::before, body.im-rebuild li.im-card--photo:focus-within::before { transform: scaleX(1); }
body.im-rebuild li.im-card--photo:hover img.im-card-img { scale: 1.12; filter: saturate(1.08); }
body.im-rebuild li.im-card--photo:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.94) 78%); }
body.im-rebuild ul.im-cards li.im-card--photo .im-card-num { position: absolute; top: 24px; left: 28px; margin: 0; color: #fff; }
body.im-rebuild li.im-card--photo h3 { font-size: clamp(24px, 2.2vw, 28px) !important; line-height: 1.1 !important; padding-bottom: 10px !important; color: #fff !important; }
body.im-rebuild li.im-card--photo h3 a { color: #fff !important; }
body.im-rebuild li.im-card--photo h3 a::after { z-index: 2; }
body.im-rebuild li.im-card--photo p:not(.im-card-num) { color: rgba(255, 255, 255, 0.84) !important; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4); }
@media (max-width: 980px) {
	body.im-rebuild ul.im-cards li.im-card.im-card--photo { min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
	body.im-rebuild img.im-strip-img, body.im-rebuild li.im-card--photo img.im-card-img { transition: none; }
	body.im-rebuild.im-reveals ul.im-strip li.im-strip-item { clip-path: none; transition: none; }
	body.im-rebuild .im-stat-num::after { transform: scaleX(1); transition: none; }
}
body.im-rebuild .et_pb_section:has(> .et_pb_row ul.im-strip)::before, body.im-rebuild .et_pb_section:has(> .et_pb_row ul.im-strip)::after { content: none !important; }
body.im-rebuild ul.im-cards:has(li.im-card--photo) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { body.im-rebuild ul.im-cards:has(li.im-card--photo) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { body.im-rebuild ul.im-cards:has(li.im-card--photo) { grid-template-columns: 1fr; } }
body.im-rebuild li.im-dcard { min-height: clamp(560px, 46vw, 660px); }
@media (max-width: 980px) { body.im-rebuild li.im-dcard { min-height: 480px; } }

/* Round 4 fix: on this site the Theme Builder header renders as section.im-header straight inside #et-boc
   (no .et-l--header wrapper), so the header rules above target it directly. */
/* Divi's script sets overflow-y:hidden inline on #page-container, which stops position:sticky; clip sideways only. */
body.im-rebuild #page-container { overflow-x: clip !important; overflow-y: visible !important; }
body.im-rebuild .im-header { display: flow-root; position: sticky !important; top: 0; z-index: 990; transition: background-color 0.35s ease, box-shadow 0.3s ease; }
body.admin-bar.im-rebuild .im-header { top: 32px; }
body.im-rebuild.im-scrolled .im-header { background-color: rgba(0, 0, 0, 0.92) !important; background-image: none !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8); }
body.im-rebuild .im-header .et_pb_menu__logo img { transition: transform 0.3s ease; transform-origin: left center; }
body.im-rebuild.im-scrolled .im-header .et_pb_menu__logo img { transform: scale(0.82); }
body.im-rebuild:has(#main-content .et_pb_section:first-child .et_pb_column:last-child :is(img.im-img, video.im-video)) .im-header {
	margin-bottom: calc(-1 * var(--im-hdr-h));
}
body.im-rebuild:not(.im-scrolled):has(#main-content .et_pb_section:first-child .et_pb_column:last-child :is(img.im-img, video.im-video)) .im-header {
	background-color: transparent !important;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 60%, rgba(0, 0, 0, 0) 100%) !important;
}
body.im-rebuild .im-header .et_mobile_menu { background-color: #000 !important; }
/* the menu module carries its own black fill; the section provides the colour instead */
body.im-rebuild .im-header :is(.et_pb_row, .et_pb_column, .et_pb_module, .et_pb_menu_inner_container) { background-color: transparent !important; }

/* =====================================================================
 * Round 5 (2026-10-07, Christiaan: Home looked too much like the Productions page).
 * Home hero = the three doors: centred headline on black with a slow red orbit (the logo's C),
 * then three full-height department panels that widen on hover. No single car photo, no left-aligned block.
 * ===================================================================== */
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) {
	position: relative; isolation: isolate; overflow: hidden; padding: 0 !important;
	background: radial-gradient(56% 46% at 50% 8%, rgba(237, 31, 76, 0.2), rgba(237, 31, 76, 0) 70%), #000 !important;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors)::before {
	content: ""; position: absolute; z-index: -1; left: 50%; top: clamp(-520px, -34vw, -260px); width: min(1180px, 130vw); aspect-ratio: 1;
	margin-left: calc(min(1180px, 130vw) / -2); border-radius: 50%; border: 1px solid rgba(237, 31, 76, 0.55);
	-webkit-mask: conic-gradient(from 210deg, #000 0deg 300deg, transparent 300deg); mask: conic-gradient(from 210deg, #000 0deg 300deg, transparent 300deg);
	animation: im-orbit-spin 60s linear infinite; pointer-events: none;
}
@keyframes im-orbit-spin { to { transform: rotate(360deg); } }
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) > .et_pb_row { width: 100% !important; max-width: none !important; padding: 0 !important; }
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) :is(.et_pb_column, .et_pb_module) { margin: 0 !important; }
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .et_pb_text_inner > :is(.im-kicker, h1, .im-lead, .im-buttons, .im-hh-label) {
	width: 90%; max-width: 1040px; margin-left: auto !important; margin-right: auto !important; text-align: center;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-kicker { padding-top: clamp(40px, 7vh, 80px) !important; color: rgba(255, 255, 255, 0.72) !important; }
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) h1 {
	font-size: clamp(44px, 6.6vw, 104px) !important; line-height: 0.94 !important; letter-spacing: -0.035em; color: #fff !important; padding-bottom: 20px !important;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-lead { max-width: 720px !important; color: rgba(255, 255, 255, 0.82) !important; }
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-buttons--quiet { margin-top: 16px; color: #fff; justify-content: center; }
body.im-rebuild .im-hh-label {
	margin-top: clamp(28px, 4.5vh, 52px) !important; padding: 0 0 16px !important; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6) !important;
}
body.im-rebuild ul.im-hh-doors { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; gap: 2px; height: clamp(460px, 60vh, 640px); }
body.im-rebuild li.im-hh-door {
	position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; padding: 0 !important; background: #0b0b0b;
	display: flex; flex-direction: column; justify-content: flex-end; text-align: left; color: #fff;
	transition: flex-grow 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1) calc(500ms + var(--i, 0) * 140ms);
}
html.js body.im-rebuild:not(.im-loaded) li.im-hh-door { clip-path: inset(100% 0 0 0); }
body.im-rebuild ul.im-hh-doors:hover li.im-hh-door { flex-grow: 0.8; }
body.im-rebuild ul.im-hh-doors li.im-hh-door:is(:hover, :focus-within) { flex-grow: 1.7; }
body.im-rebuild .im-hh-media { position: absolute; inset: 0; z-index: -2; }
body.im-rebuild .im-hh-media img.im-hh-img {
	width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.06); filter: saturate(0.85) brightness(0.8);
	transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}
body.im-rebuild li.im-hh-door:is(:hover, :focus-within) img.im-hh-img { transform: scale(1.12); filter: saturate(1.05) brightness(1); }
body.im-rebuild li.im-hh-door::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.9) 88%);
}
body.im-rebuild li.im-hh-door::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; background: var(--im-red);
	transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.im-rebuild li.im-hh-door:is(:hover, :focus-within)::before { transform: scaleX(1); }
body.im-rebuild li.im-hh-door--labs .im-hh-media {
	display: grid; place-items: start center; padding: clamp(48px, 8vh, 88px) 9% 0;
	background: radial-gradient(70% 60% at 70% 20%, rgba(237, 31, 76, 0.22), transparent 60%), #0b0b0b;
}
body.im-rebuild li.im-hh-door--labs .im-labs-visual { max-width: 400px; }
body.im-rebuild .im-hh-body { padding: 0 clamp(20px, 2.6vw, 40px) clamp(28px, 4vh, 44px); max-width: 560px; }
body.im-rebuild .im-hh-num {
	position: absolute; top: 24px; left: clamp(20px, 2.6vw, 40px); width: 56px; height: 61px; display: grid; place-items: center; padding: 0 !important;
	font-family: 'Tenor Sans', serif; font-size: 20px; color: #fff !important; background: var(--im-c-mark) center / contain no-repeat;
}
body.im-rebuild h2.im-hh-title { font-size: clamp(30px, 2.8vw, 44px) !important; line-height: 1 !important; letter-spacing: -0.025em; padding-bottom: 12px !important; color: #fff !important; }
body.im-rebuild h2.im-hh-title::before { display: none !important; }
body.im-rebuild h2.im-hh-title a { color: #fff !important; text-decoration: none; }
body.im-rebuild h2.im-hh-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
body.im-rebuild .im-hh-pre { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }
body.im-rebuild li.im-hh-door p.im-hh-desc { color: rgba(255, 255, 255, 0.84) !important; font-size: 16px; line-height: 1.5; padding-bottom: 4px !important; }
body.im-rebuild ul.im-hh-services { list-style: none !important; padding: 0 !important; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease; }
body.im-rebuild ul.im-hh-services li { padding: 6px 0 6px 18px !important; border-top: 1px solid rgba(255, 255, 255, 0.16); position: relative; font-size: 15px; color: #fff; white-space: nowrap; }
body.im-rebuild ul.im-hh-services li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 2px; background: var(--im-red); }
body.im-rebuild li.im-hh-door:is(:hover, :focus-within) ul.im-hh-services { max-height: 200px; opacity: 1; margin: 10px 0 14px; }
body.im-rebuild li.im-hh-door p.im-hh-link { display: inline-block; padding: 0 0 2px !important; font-weight: 500; color: #fff !important; border-bottom: 2px solid var(--im-red); transition: transform 0.3s ease, color 0.3s ease; }
body.im-rebuild li.im-hh-door:is(:hover, :focus-within) p.im-hh-link { transform: translateX(8px); color: var(--im-red) !important; }
@media (max-width: 980px) {
	body.im-rebuild ul.im-hh-doors { flex-direction: column; height: auto; gap: 2px; }
	body.im-rebuild li.im-hh-door, body.im-rebuild ul.im-hh-doors:hover li.im-hh-door { flex: none; min-height: 520px; }
	body.im-rebuild li.im-hh-door::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 22%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.92) 78%); }
	body.im-rebuild ul.im-hh-services { max-height: 200px; opacity: 1; margin: 10px 0 14px; }
	body.im-rebuild li.im-hh-door--labs .im-hh-media { padding-top: 96px; }
	body.im-rebuild li.im-hh-door--labs { min-height: 640px; }
}
@media (prefers-reduced-motion: reduce) {
	body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors)::before { animation: none; }
	body.im-rebuild li.im-hh-door, html.js body.im-rebuild:not(.im-loaded) li.im-hh-door { transition: none; clip-path: none; }
}

/* =====================================================================
 * Round 6 (2026-10-07): numbers strip with real figures (100M+, 2023, 3–6).
 * Wider numbers than before, so all four numbers share one size worked out from the strip width and never overflows on phones.
 * ===================================================================== */
body.im-rebuild ul.im-stats { container-type: inline-size; }
body.im-rebuild .im-stat-num { font-size: min(clamp(56px, 6.6vw, 104px), calc((25cqi - 56px) / 3)) !important; }
@media (max-width: 980px) {
	body.im-rebuild .im-stat-num { font-size: min(clamp(56px, 6.6vw, 104px), calc((50cqi - 24px) / 3)) !important; }
}

/* =====================================================================
 * Round 10 (2026-10-08)
 * ===================================================================== */

/* ---------- Photo strip: a continuous, slowly moving reel ----------
   Markup: .im-strip-run > ul.im-strip--run (x2, the second aria-hidden) so the loop is seamless.
   --n is the number of photos; speed stays constant however many there are. */
body.im-rebuild .im-strip-run { display: flex; width: 100%; overflow: hidden; --im-run-w: 25vw; }
body.im-rebuild ul.im-strip.im-strip--run {
	display: flex !important; flex: 0 0 auto; grid-template-columns: none; width: auto; overflow: visible;
	animation: im-strip-run calc(var(--n, 12) * 5s) linear infinite; will-change: transform;
}
body.im-rebuild ul.im-strip--run li.im-strip-item { flex: 0 0 var(--im-run-w); display: block !important; }
body.im-rebuild .im-strip-run:is(:hover, :focus-within) ul.im-strip--run { animation-play-state: paused; }
body.im-rebuild.im-reveals ul.im-strip--run li.im-strip-item { clip-path: none; transition: none; }
@keyframes im-strip-run { to { transform: translateX(-100%); } }
@media (max-width: 980px) {
	body.im-rebuild .im-strip-run { --im-run-w: 62vw; }
	body.im-rebuild ul.im-strip.im-strip--run { height: clamp(240px, 70vw, 420px); }
}
@media (prefers-reduced-motion: reduce) {
	body.im-rebuild .im-strip-run { overflow-x: auto; scroll-snap-type: x mandatory; }
	body.im-rebuild ul.im-strip.im-strip--run { animation: none; }
	body.im-rebuild ul.im-strip--run[aria-hidden="true"] { display: none !important; }
	body.im-rebuild ul.im-strip--run li.im-strip-item { scroll-snap-align: start; }
}

/* ---------- How it works: one number per step, sequenced reveal ----------
   The numeral now lives only in the C mark (the ghost counter repeated it). */
body.im-rebuild .im-step::after { content: none !important; }
body.im-rebuild .im-step .im-num { width: 72px; height: 78px; padding-right: 5px; font-size: 28px; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
body.im-rebuild .im-step:hover .im-num { transform: rotate(-8deg) scale(1.06); }
body.im-rebuild .im-step h3 { letter-spacing: -0.01em; }
body.im-rebuild.im-steps-js ol.im-steps li.im-step { opacity: 0; transform: translateY(28px); }
body.im-rebuild.im-steps-js ol.im-steps li.im-step .im-num { transform: scale(0.5) rotate(-40deg); opacity: 0; }
body.im-rebuild.im-steps-js ol.im-steps.is-run li.im-step {
	opacity: 1; transform: none;
	transition: opacity 0.7s ease calc(var(--si, 0) * 0.16s), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--si, 0) * 0.16s), box-shadow 0.35s ease, background-color 0.35s ease;
}
body.im-rebuild.im-steps-js ol.im-steps.is-run li.im-step .im-num {
	opacity: 1; transform: none; transition: transform 0.9s cubic-bezier(0.3, 1.4, 0.4, 1) calc(var(--si, 0) * 0.16s + 0.2s), opacity 0.4s ease calc(var(--si, 0) * 0.16s + 0.2s);
}
/* The red bar fills step by step, like a progress line running through the process. */
body.im-rebuild.im-steps-js ol.im-steps li.im-step::before { transform: scaleX(0); }
body.im-rebuild.im-steps-js ol.im-steps.is-run li.im-step::before { transform: scaleX(1); transition: transform 0.6s cubic-bezier(0.6, 0, 0.2, 1) calc(var(--si, 0) * 0.32s + 0.5s); }
body.im-rebuild.im-steps-js ol.im-steps.is-run li.im-step:hover { transform: translateY(-6px); transition-delay: 0s; }
@media (max-width: 980px) { body.im-rebuild .im-step .im-num { width: 56px; height: 61px; padding-right: 4px; font-size: 22px; } }

/* ---------- About: matched portrait crops ----------
   The three portraits were shot at different distances; each is scaled and offset inside the same 4:5 frame
   so heads and shoulders sit at the same size (offsets are % of the frame width). */
body.im-rebuild .im-member-photo { position: relative; }
body.im-rebuild li:is(.im-member--christiaan-mostert, .im-member--kopano-tsengiwe,.im-member--tanya-da-silva) .im-member-photo .im-img {
	position: absolute; top: 0; left: 0; height: auto !important; max-width: none !important; object-fit: fill; transform-origin: 50% 25%;
}
body.im-rebuild li.im-member--christiaan-mostert .im-member-photo .im-img { width: 152% !important; margin: -12.2% 0 0 -27.5%; }
body.im-rebuild li.im-member--kopano-tsengiwe .im-member-photo .im-img { width: 152% !important; margin: -47.9% 0 0 -39.7%; }
body.im-rebuild li.im-member--tanya-da-silva .im-member-photo .im-img { width: 100% !important; margin: -10% 0 0 0; }

/* ---------- Case heroes with a portrait photo: keep the whole head in frame ----------
   On wide screens a portrait shot is shown on the right half, full height, feathered into the black. */
body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)):has(img.im-img--tall) .et_pb_column:last-child img.im-img--tall { scale: 1; transform-origin: 50% 0; }
@media (min-width: 981px) {
	body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)):has(img.im-img--tall) .et_pb_column:last-child img.im-img--tall {
		left: auto; right: 0; width: min(54%, 860px) !important;
		-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
	}
	body.im-rebuild #main-content .et_pb_section:first-child:has(.et_pb_column:last-child :is(img.im-img, video.im-video)):has(img.im-img--tall) .et_pb_column:last-child::after {
		background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 35%);
	}
}

/* ---------- Home: blended editorial banner behind the headline ----------
   Attachment 2570: our photography in high-contrast black and white with the logo's red C.
   Replaces the thin orbit ring; it fades to black before the three doors. */
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors)::before {
	left: 0; right: 0; top: 0; width: auto; margin: 0; aspect-ratio: auto; border: 0; border-radius: 0;
	height: calc(100% - clamp(460px, 60vh, 640px));
	-webkit-mask: none; mask: none;
	background:
		radial-gradient(60% 70% at 50% 46%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 72%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.5) 64%, #000 92%),
		url("/wp-content/uploads/2026/10/Indirect-Media-home-banner-2026-brands-v2.jpg") 50% 46% / cover no-repeat;
	animation: im-banner-drift 28s ease-in-out infinite alternate;
}
@keyframes im-banner-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (max-width: 980px) {
	body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors)::before { height: clamp(560px, 92vh, 780px); background-position: 0 0, 0 0, 50% 40%; }
}
@media (prefers-reduced-motion: reduce) { body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors)::before { animation: none; } }

/* ---------- Round 11: brand compliance (2026-10-10) ----------
 * Square corners, no lift-and-soft-shadow hovers, palette tokens only. Hover is now a red hairline or red bar.
 * Overrides only: the original rules above are left as they were. */
body.im-rebuild .im-step { border-radius: 0; background: var(--im-white); border-color: var(--im-line) !important; }
body.im-rebuild .im-step:hover,
body.im-rebuild.im-steps-js ol.im-steps.is-run li.im-step:hover { transform: none; box-shadow: none; background-color: var(--im-white); border-color: var(--im-red) !important; }
body.im-rebuild .et_pb_bg_layout_dark .im-step:hover { background-color: rgba(255, 255, 255, 0.04); }
body.im-rebuild .im-wizard-opt:hover { transform: none; box-shadow: inset 3px 0 0 var(--im-red); }
body.im-rebuild:not(.im-dept-digital) ul.im-cards li.im-card:hover { transform: none; box-shadow: none; }   /* Digital keeps its approved department hover (dept.css) */
html body.im-rebuild .im-brief { box-shadow: none; }
body.im-rebuild .im-member-photo { background: var(--im-ink); }
body.im-rebuild .im-gallery-item { background: var(--im-ink); }
body.im-rebuild .im-case-plate { background: var(--im-white); border: 1px solid var(--im-line); }
body.im-rebuild li.im-logo--word span { color: var(--im-muted); }
body.im-rebuild li.im-cap:hover { background: var(--im-black); }
body.im-rebuild li.im-dcard--labs .im-dcard-media,
body.im-rebuild li.im-hh-door--labs .im-hh-media { background: radial-gradient(70% 60% at 70% 20%, rgba(237, 31, 76, 0.22), transparent 60%), var(--im-black); }
body.im-rebuild li.im-hh-door { background: var(--im-black); }
body.im-rebuild .im-labs-visual { background: var(--im-ink); border-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); }
body.im-rebuild .im-lv-bar { border-bottom-color: rgba(255, 255, 255, 0.12); }
body.im-rebuild .im-lv-bar span { background: var(--im-text); }
body.im-rebuild .im-lv-bar span:first-child { background: var(--im-red); }
body.im-rebuild .im-lv-bar em { color: var(--im-muted); }
body.im-rebuild ul.im-lv-scores i { background: rgba(255, 255, 255, 0.08); }
body.im-rebuild ul.im-lv-scores i::after { background: var(--im-red); }
body.im-rebuild .im-lv-code { background: var(--im-black); color: var(--im-white); }

/* ---------- Round 11b: team feedback (Kopano, 2026-10-12) ----------
 * Home: the first screen is only the kicker, headline, lead and showreel button; the three divisions start below the fold.
 * The showreel button is red and bigger so it stands out. */
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-hh-intro {
	display: flex; flex-direction: column; justify-content: center;
	min-height: calc(100svh - var(--im-hdr-h)); padding-bottom: clamp(32px, 6vh, 72px);
}
body.admin-bar.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-hh-intro { min-height: calc(100svh - var(--im-hdr-h) - 32px); }
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-hh-intro > :is(.im-kicker, h1, .im-lead, .im-buttons) {
	width: 90%; max-width: 1040px; margin-left: auto !important; margin-right: auto !important; text-align: center;
}
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-hh-intro .im-kicker { padding-top: 0 !important; }
body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-hh-intro .im-buttons--quiet { margin-top: 28px; }
html body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-btn-play {
	background: var(--im-red) !important; border: 1px solid var(--im-red) !important; border-radius: 0; color: var(--im-white) !important;
	font-size: 19px; font-weight: 500; line-height: 1.2; padding: 17px 36px !important; letter-spacing: 0.02em;
}
html body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-btn-play:is(:hover, :focus-visible) { color: var(--im-black) !important; }
@media (max-width: 600px) {
	html body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors) .im-btn-play { font-size: 17px; padding: 15px 28px !important; }
}

/* ---------- Round 11c: Tanya's and Kopano's notes (2026-10-12) ----------
 * Numbers strip centred under its red line; bigger Mercedes-Benz and Miss Universe logos; the Design and reporting card
 * shows a whole poster (contain, on black) instead of a cropped photo. Banner above uses the G-Class set (2601); back to brands-v2 (2595) in Round 12b. */
html body.im-rebuild ul.im-stats li.im-stat { text-align: center; padding-left: 16px !important; padding-right: 16px !important; }
body.im-rebuild ul.im-stats .im-stat-num::after { margin-left: auto; margin-right: auto; transform-origin: center; }
body.im-rebuild ul.im-stats .im-stat-label { margin-left: auto !important; margin-right: auto !important; }
body.im-rebuild li.im-logo--mercedes-benz { height: 80px; }
body.im-rebuild li.im-logo--mercedes-benz img { height: 76px; max-width: 150px; }
body.im-rebuild li.im-logo--mercedes-benz:not(:hover) img { filter: grayscale(1) brightness(0.7) contrast(3); }   /* the silver logo washed out to light grey */
body.im-rebuild li:is(.im-logo--miss-universe, .im-logo--miss-universe-2023) img { height: 60px; max-width: 200px; }
body.im-rebuild li.im-logo--warner-bros img { height: 56px; }
html body.im-rebuild li.im-card--photo img.im-card-img--poster { object-fit: contain; object-position: 50% 42%; scale: 1; filter: none; background: var(--im-black); }
body.im-rebuild li.im-card--photo:has(img.im-card-img--poster):hover img.im-card-img--poster { scale: 1.03; filter: none; }
body.im-rebuild li.im-card--photo:has(img.im-card-img--poster)::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.9) 82%); }

/* ---------- Round 12: speed (2026-10-12, launch-day benchmark) ----------
 * The first screen no longer waits for im.js to appear: it rises in with CSS from the first paint, so the main photo
 * and headline count as painted straight away (mobile "render delay" was 2-6 s). The header height is its real 97px at
 * every width (im.js measured it before Divi's header styles had arrived and moved the page). Smaller Home banner
 * file on phones and tablets. Bigger tap targets for the footer links. */
:root { --im-hdr-h: 97px !important; }
html.js body.im-rebuild:not(.im-zz) #main-content .et_pb_section:first-child .et_pb_text_inner > * { opacity: 1; transform: none; clip-path: none; animation: im-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes im-rise { from { opacity: 0.01; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body.im-rebuild .im-hero-fade, body.im-rebuild.im-loaded .im-hero-fade { opacity: 1; transform: none; transition: none; }
body.im-rebuild .im-hero-media, body.im-rebuild.im-loaded .im-hero-media { clip-path: none; transition: none; }
body.im-rebuild .im-hero-media img, body.im-rebuild.im-loaded .im-hero-media img { transform: scale(1.02); transition: none; }
body.im-rebuild .im-w > span, body.im-rebuild.im-loaded .im-w > span { transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { html.js body.im-rebuild:not(.im-zz) #main-content .et_pb_section:first-child .et_pb_text_inner > * { animation: none; } }
@media (max-width: 980px) {
	body.im-rebuild #main-content .et_pb_section:first-child:has(ul.im-hh-doors)::before {
		background-image:
			radial-gradient(60% 70% at 50% 46%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 72%),
			linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.5) 64%, #000 92%),
			url("/wp-content/uploads/2026/10/Indirect-Media-home-banner-2026-brands-v2-1536x806.jpg");
	}
}
body.im-rebuild .im-footer li a { display: inline-block; padding-top: 8px; padding-bottom: 8px; }
/* Photography archive on the Portfolio page (Round 12): four columns on wide screens, two on phones */
body.im-rebuild .im-archive-count { color: var(--im-muted); font-size: 14px; letter-spacing: 0.04em; margin: 4px 0 0 !important; }
body.im-rebuild .im-gallery.im-archive { columns: 4 240px; }
@media (max-width: 767px) { body.im-rebuild .im-gallery.im-archive { columns: 2; } }
