/* =========================================================
   INNER PAGES (solutions, case studies, company, contact)
   ========================================================= */
.nav-links > li > a[aria-current="page"], .nav-links > li.is-active > button { color: #fff; background: rgba(255,255,255,.07); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: #fff; }

.phero { position: relative; overflow: hidden; isolation: isolate; margin-top: calc(var(--nav-h) * -1); padding-top: var(--nav-h); }
.phero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 50px 0 70px; }
.phero h1 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -.03em; margin-top: 18px; line-height: 1.04; }
.phero .lead { max-width: 620px; opacity: 1; animation: none; }
.phero .tagline { margin: 26px 0 0; padding-left: 16px; border-left: 3px solid var(--c, var(--magenta)); font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; color: #fff; max-width: 560px; }
.phero .hero-ctas, .phero .hero-meta { opacity: 1; animation: none; }
.phero .hero-meta a:hover { color: var(--cyan); }
.pstage { height: min(64vh, 600px); }
.pstage .float-tag.t1 { top: 10%; left: -6%; }
.pstage .float-tag i svg { width: 16px; height: 16px; }
.phero-copy > * { animation: fade .9s var(--ease) both; }
.phero-copy > *:nth-child(2) { animation-delay: .05s; }
.phero-copy > *:nth-child(3) { animation-delay: .12s; }
.phero-copy > *:nth-child(4) { animation-delay: .2s; }
.phero-copy > *:nth-child(5) { animation-delay: .28s; }
.phero-copy > *:nth-child(6) { animation-delay: .36s; }

.intro-band { padding-top: 40px; }
.intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: stretch; }
.big-copy { font-size: clamp(19px, 2vw, 26px); font-weight: 300; line-height: 1.5; color: #e6e8f7; margin: 18px 0 0; }
.stat-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 28%, #0e1030), #0c0e24 75%); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}
.stat-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: var(--c); filter: blur(70px); opacity: .5; }
.stat-card strong { position: relative; font-size: clamp(48px, 6vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat-card span { position: relative; color: #cfd3ee; margin-top: 12px; font-size: 15px; }

.use { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: 50px 0; border-top: 1px solid var(--line); }
.use.flip .use-copy { order: 2; }
.use .num { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--c); display: flex; align-items: center; gap: 12px; }
.use .num::after { content: ""; flex: 0 0 50px; height: 2px; background: currentColor; opacity: .6; }
.use h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; margin-top: 16px; letter-spacing: -.03em; }
.use p { color: var(--muted); font-size: 18px; font-weight: 300; margin: 18px 0 0; max-width: 520px; }
.use-vis {
  position: relative; height: 420px; border-radius: 28px; overflow: hidden; display: grid; place-items: end center;
  background: radial-gradient(400px 260px at 50% 70%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), linear-gradient(180deg, #11133a, #0a0b20);
  border: 1px solid var(--line);
}
.use-vis img { height: 92%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.use-n { position: absolute; left: 24px; top: 6px; font-size: 140px; font-weight: 700; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.15); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-grid.two { grid-template-columns: repeat(2, 1fr); }
.why { position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; overflow: hidden; }
.why:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.why .k { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); margin-bottom: 18px; }
.why h3 { font-size: 19px; }
.why p { color: var(--muted); font-size: 15px; margin: 8px 0 0; font-weight: 300; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ccard {
  position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 24px; overflow: hidden; min-height: 400px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 20%, #0e1030), #0c0e24 65%); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
  transition: transform .4s var(--ease), border-color .4s; min-height: 430px;
}
.ccard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.ccard.hide { display: none; }
.ccard-img { position: absolute; right: 10px; bottom: -24px; height: 46%; opacity: .9; transition: transform .6s var(--ease); pointer-events: none; }
.ccard-img img { height: 100%; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.ccard:hover .ccard-img { transform: translateY(-10px) rotate(-2deg); }
.ccard .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); }
.ccard h3 { font-size: 26px; font-weight: 700; margin-top: 12px; letter-spacing: -.02em; }
.ccard p { color: #c9cde4; font-weight: 300; font-size: 14.5px; margin: 12px 0 0; position: relative; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ccard .go { margin-top: auto; padding-top: 20px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; position: relative; }
.ccard .go svg { width: 16px; transition: transform .3s; }
.ccard:hover .go svg { transform: translateX(4px); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip-f { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); transition: all .3s; }
.chip-f:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.chip-f[aria-pressed="true"] { background: #fff; color: #0b0c20; border-color: #fff; }

.other-ind { padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pills a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; color: #dfe2f5; transition: all .3s; }
.pills a svg { width: 16px; height: 16px; color: var(--c); }
.pills a:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }

.meta-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.meta-strip div { padding: 20px 24px; border-right: 1px solid var(--line); }
.meta-strip div:last-child { border-right: 0; }
.meta-strip span { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.meta-strip b { display: block; margin-top: 4px; font-weight: 600; }
.cstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.cstat { padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.cstat::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--c); }
.cstat strong { font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1; display: block; }
.cstat span { color: var(--muted); font-size: 14px; display: block; margin-top: 10px; }

.big-quote {
  margin: 0; padding: clamp(30px, 5vw, 60px); border-radius: 30px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 22%, #0e1030), #0b0c22 70%); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.big-quote blockquote { margin: 0; font-size: clamp(21px, 2.6vw, 32px); line-height: 1.4; font-weight: 400; letter-spacing: -.01em; max-width: 980px; }
.big-quote blockquote::before { content: "\201C"; display: block; font-size: 100px; line-height: .6; height: 44px; background: var(--headline); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-quote figcaption { margin-top: 24px; color: var(--muted); font-size: 14px; font-weight: 500; }
.big-quote figcaption a { display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.big-quote figcaption svg { width: 16px; height: 16px; }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.fstep { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.fstep .n { font-size: 13px; font-weight: 700; color: var(--c); letter-spacing: .1em; }
.fstep h3 { font-size: 19px; margin-top: 12px; }
.fstep p { font-size: 14.5px; color: var(--muted); margin: 8px 0 0; font-weight: 300; }
.fstep:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -12px; width: 10px; height: 10px; border-top: 2px solid var(--c); border-right: 2px solid var(--c); transform: rotate(45deg); opacity: .6; z-index: 1; }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; }
.pager a { padding: 22px 26px; border-radius: 20px; border: 1px solid var(--line); transition: all .3s; }
.pager a:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.pager span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.pager span svg { width: 14px; height: 14px; }
.pager b { display: block; margin-top: 6px; font-size: 18px; }
.pager .next { text-align: right; }
.pager .mid { text-align: center; }

/* company */
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stack { display: grid; gap: 10px; }
.layer {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 22%, #0f1130), #0d0f26); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  margin-left: calc(var(--i) * 14px); transition: transform .4s var(--ease);
}
.layer:hover { transform: translateX(10px); }
.layer b { font-size: 16px; font-weight: 600; white-space: nowrap; }
.layer span { color: var(--muted); font-size: 13.5px; text-align: right; }
.parent-card { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 50px); border-radius: 30px; background: var(--panel); border: 1px solid var(--line); }
.parent-card > img { width: clamp(120px, 14vw, 180px); height: auto; }
.parent-card h3 { font-size: clamp(20px, 2.2vw, 28px); margin-top: 14px; line-height: 1.3; }
.parent-card p { color: var(--muted); font-weight: 300; margin: 14px 0 22px; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.person .ph { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 30%, #111)); }
.person .ph b { font-size: 20px; color: #fff; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(2.4); transform-origin: 50% 20%; }
.person h3 { font-size: 18px; }
.person .role { display: block; font-size: 12.5px; color: var(--c); font-weight: 600; margin-top: 4px; }
.person p { color: var(--muted); font-size: 14px; margin: 10px 0 0; font-weight: 300; }

/* contact */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.route { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.route:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.route .tag { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c); font-weight: 600; }
.route h3 { font-size: 19px; margin-top: 12px; }
.route p { color: var(--muted); font-size: 14px; margin: 10px 0 0; font-weight: 300; }
.route .go { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.route .go svg { width: 15px; height: 15px; flex-shrink: 0; }
.centre .note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.centre-links { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; }
.centre .centre-links a { margin: 0; padding: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-grid .lead a { color: #fff; border-bottom: 1px solid var(--cyan); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: 18px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s; color: var(--muted); }
.faq-item[open] summary svg { transform: rotate(180deg); color: var(--cyan); }
.faq-item p { margin: 0 0 22px; color: var(--muted); font-weight: 300; max-width: 680px; }

@media (max-width: 1180px) { .routes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1020px) {
  .phero-grid, .intro-grid, .use, .stack-grid, .faq-grid { grid-template-columns: 1fr; }
  .use.flip .use-copy { order: 0; }
  .pstage { height: 460px; }
  .why-grid, .case-grid, .people, .routes { grid-template-columns: 1fr 1fr; }
  .meta-strip { grid-template-columns: 1fr 1fr; }
  .meta-strip div:nth-child(2) { border-right: 0; }
  .meta-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-grid .section-head { position: static; }
  .parent-card { grid-template-columns: 1fr; }
  .fstep::after { display: none; }
}
@media (max-width: 640px) {
  .phero h1 { font-size: clamp(30px, 8.6vw, 44px); }
  .pstage { height: 400px; }
  .why-grid, .why-grid.two, .case-grid, .people, .routes, .cstats { grid-template-columns: 1fr; }
  .use-vis { height: 340px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager .mid { display: none; }
  .layer { margin-left: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
  .layer span { text-align: left; }
}

/* =========================================================
   POLISH: seamless page feel
   ========================================================= */
html { scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Page transitions */
.js body { animation: page-in .7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
html.is-leaving body { opacity: 0; transform: translateY(-8px); transition: opacity .26s ease, transform .26s ease; }

/* One continuous backdrop: soft colour fields that drift and shift with scroll (--sp) */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: .16; will-change: transform; }
.ambient i:nth-child(1) { background: radial-gradient(closest-side, var(--blue), transparent); left: -25vmax; top: -10vmax; transform: translateY(calc(var(--sp, 0) * 30vmax)); }
.ambient i:nth-child(2) { background: radial-gradient(closest-side, var(--magenta), transparent); right: -30vmax; top: 20vmax; opacity: .12; transform: translateY(calc(var(--sp, 0) * -25vmax)); }
.ambient i:nth-child(3) { background: radial-gradient(closest-side, var(--purple), transparent); left: 20vmax; bottom: -40vmax; opacity: .14; transform: translateX(calc(var(--sp, 0) * -30vmax)); }

/* Heroes melt into the page instead of ending on a hard edge */
.hero-bg { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

/* Softer seams between bands */
.proof { border: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.03) 20%, rgba(255,255,255,.03) 80%, transparent); position: relative; }
.proof::before, .proof::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); }
.proof::before { top: 0; }
.proof::after { bottom: 0; }
.footer { border-top: 0; background: linear-gradient(180deg, transparent, #04050f 40%); }
.footer::before { opacity: .7; }

/* Nav slides away on scroll down, returns on scroll up */
.nav { transition: transform .45s var(--ease), background .4s, border-color .4s; }
.nav.nav-hidden { transform: translateY(-110%); }

/* Headings wipe up into view */
[data-reveal] h2 { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path 1s var(--ease) .05s, transform 1s var(--ease) .05s; }
[data-reveal].in h2 { clip-path: inset(-10% -5% -20% -5%); transform: none; }
.phero h1 { animation: rise-h 1s var(--ease) .1s both; }
@keyframes rise-h { from { clip-path: inset(0 0 100% 0); transform: translateY(30px); } to { clip-path: inset(-10% -5% -20% -5%); transform: none; } }

/* Buttons: magnetic follow is set inline by JS; add a light sweep on hover */
.btn { transition: transform .35s var(--ease), box-shadow .3s var(--ease), background .3s; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

/* Images fade in instead of popping */
.js img[loading="lazy"] { opacity: 0; transition: opacity .8s var(--ease); }
.js img[loading="lazy"].is-loaded { opacity: 1; }

/* Cards lift with a soft glow in their own accent */
.why:hover, .ccard:hover, .route:hover, .ind:hover, .centre:hover, .spec:hover { box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c, var(--blue)) 60%, transparent); }

/* Mobile quick-contact bar */
.mcta { display: none; }
@media (max-width: 640px) {
  .mcta {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
    padding: 8px; border-radius: 22px; background: rgba(10, 11, 32, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mcta.show { transform: none; }
  .mcta .btn { height: 46px; padding: 0 14px; font-size: 14px; }
  .mcta .btn svg { width: 16px; height: 16px; }
  body.menu-open .mcta { transform: translateY(140%); }
  .footer { padding-bottom: 80px; }
}

/* =========================================================
   Privacy policy + 404
   ========================================================= */
.phero-slim > .container { padding: 50px 0 40px; position: relative; }
.phero-slim h1 { margin-top: 16px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.legal-meta div { padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.legal-meta span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.legal-meta b { font-weight: 600; font-size: 14px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; padding-right: 8px; }
.legal-toc ol { list-style: none; counter-reset: t; padding: 0; margin: 16px 0 0; display: grid; gap: 2px; }
.legal-toc li { counter-increment: t; }
.legal-toc a { display: flex; gap: 10px; padding: 6px 10px; border-radius: 10px; font-size: 13.5px; color: var(--muted); transition: background .2s, color .2s; }
.legal-toc a::before { content: counter(t, decimal-leading-zero); font-size: 11px; color: var(--dim); padding-top: 2px; }
.legal-toc a:hover, .legal-toc a.on { background: rgba(255,255,255,.06); color: #fff; }
.prose { max-width: 760px; color: #cfd3ea; font-weight: 300; font-size: 16.5px; line-height: 1.75; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); color: #fff; margin: 56px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; border: 0; padding-top: 0; }
.prose h3 { font-size: 19px; color: #fff; margin: 30px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--cyan); }
.prose b, .prose strong { color: #fff; font-weight: 600; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(24,232,248,.35); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: #fff; font-weight: 600; background: rgba(255,255,255,.04); }
.pq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 10px 0 24px; }
.pq { padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.pq span { display: block; font-size: 13px; color: var(--muted); }
.pq b { display: block; font-size: 20px; margin-top: 6px; background: var(--headline); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pq p { font-size: 14px; margin: 8px 0 0; }
.phero-404 { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.phero-404 > .container { padding: 80px 0; position: relative; }
.phero-404 h1 { font-size: clamp(40px, 6vw, 84px); margin-top: 18px; }
.phero-404 .lead { margin-inline: auto; max-width: 560px; }
.phero-404 .eyebrow { justify-content: center; }
.phero-404 .pills { justify-content: center; margin-top: 30px; }
@media (max-width: 1020px) {
  .legal-grid { grid-template-columns: 1fr; gap: 20px; }
  .legal-toc { position: static; max-height: none; padding: 20px; border-radius: 18px; border: 1px solid var(--line); }
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .legal-toc ol { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] h2, .phero h1 { clip-path: none !important; transform: none !important; }
}
.legal-grid > * { min-width: 0; }
.legal-toc a { overflow-wrap: anywhere; }

/* =========================================================
   Linking: full Clients menu, "see all" rows, inline text links
   ========================================================= */
.mega-clients { width: 880px; grid-template-columns: repeat(3, 1fr); }
.mega-clients a.item { padding: 10px 12px; }
@media (max-width: 1320px) { .mega-clients { width: 760px; } }
.more-row { display: flex; justify-content: center; margin-top: 30px; }
.work-nav { align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 15px; color: #fff; border-bottom: 1px solid rgba(24, 232, 248, .4); padding-bottom: 2px; transition: border-color .3s, gap .3s; }
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { border-color: var(--cyan); gap: 12px; }
.section-head .text-link { margin-top: 18px; }
.faq-grid .lead a { color: #fff; border-bottom: 1px solid var(--cyan); }
@media (max-width: 640px) {
  .work-nav .btn { order: 3; flex-basis: 100%; }
  .work-nav { flex-wrap: wrap; }
}

/* =========================================================
   Real photos, event video, multi-page cards
   ========================================================= */
/* Hero photo (industries, case studies, how it works, centres) */
.photo-stage { margin: 0; position: relative; perspective: 1200px; }
.photo-frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; margin-left: auto;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04);
  transition: transform .6s var(--ease);
}
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,8,24,.55)); pointer-events: none; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-stage::before {
  content: ""; position: absolute; inset: 8% -4% -4% 8%; border-radius: 34px; z-index: -1; filter: blur(50px); opacity: .5;
  background: conic-gradient(from 200deg, var(--cyan), var(--blue), var(--purple), var(--magenta), var(--yellow), var(--cyan));
}
.photo-stage figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 13px; font-weight: 500; color: #fff; padding: 7px 12px; border-radius: 99px; background: rgba(7,8,24,.6); backdrop-filter: blur(10px); }

/* Event video */
.video-frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c, var(--blue)) 35%, transparent); background: #000; box-shadow: 0 50px 100px -40px color-mix(in srgb, var(--c, var(--blue)) 55%, transparent); }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.video-hint { position: absolute; top: 16px; left: 16px; font-size: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(7,8,24,.65); backdrop-filter: blur(8px); color: #dfe2f5; pointer-events: none; transition: opacity .4s; }
.video-frame.has-sound .video-hint { opacity: 0; }

/* Case study cards: real photo on top */
.ccard { padding: 0; min-height: 0; }
.ccard-img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; overflow: hidden; display: block; opacity: 1; }
.ccard-img img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform .8s var(--ease); }
.ccard:hover .ccard-img { transform: none; }
.ccard:hover .ccard-img img { transform: scale(1.05); }
.ccard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.ccard h3 { font-size: 22px; margin-top: 8px; }
.ccard p { -webkit-line-clamp: 2; }
.play-badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: rgba(236,0,140,.92); color: #fff; }
.play-badge svg { width: 14px; height: 14px; }

/* Home: four modes */
.mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mcard { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.mcard-img, .mcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,8,24,.92)); }
.mcard:hover .mcard-img img { transform: scale(1.06); }
.mcard-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.mcard-body .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 75%, #fff); }
.mcard-body h3 { font-size: 20px; margin-top: 8px; }

/* Home: featured work with video */
.vcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vcard { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); background: linear-gradient(165deg, color-mix(in srgb, var(--c) 16%, #0e1030), #0c0e24 70%); transition: transform .4s var(--ease); }
.vcard:hover { transform: translateY(-6px); }
.vcard-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vcard-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard-body { padding: 22px 24px 26px; }
.vcard-body .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); }
.vcard-body h3 { font-size: 22px; margin-top: 8px; }
.vcard-body p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; font-weight: 300; }

/* Industry cards with photos */
.icard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.icard { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: transform .4s var(--ease), border-color .4s; }
.icard:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.icard-img { aspect-ratio: 16 / 10; overflow: hidden; }
.icard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.icard:hover .icard-img img { transform: scale(1.05); }
.icard-body { position: relative; padding: 20px 22px 22px; }
.icard-body .ic { position: absolute; top: -22px; right: 18px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #0f1130; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); }
.icard-body .ic svg { width: 20px; height: 20px; }
.icard-body h3 { font-size: 19px; }
.icard-body p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

/* "Where next" cards */
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-card { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); transition: transform .4s var(--ease), border-color .4s; }
.next-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.next-card h3 { font-size: 22px; }
.next-card p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; font-weight: 300; }
.next-card .go { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.next-card .go svg { width: 16px; height: 16px; }

/* Use-case rows now carry real photos */
.use-vis { place-items: stretch; }
.use-vis img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.use-n { z-index: 1; -webkit-text-stroke: 1px rgba(255,255,255,.5); }

/* How it works: rent or buy */
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.option { padding: 32px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 14%, #0e1030), #0c0e24 75%); }
.option h3 { font-size: 26px; }
.option ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.option li { position: relative; padding-left: 26px; color: #d6d9ee; font-weight: 300; }
.option li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 4px; background: var(--c); transform: rotate(45deg) scale(.7); }

@media (max-width: 1020px) {
  .mode-grid { grid-template-columns: 1fr 1fr; }
  .vcard-grid, .icard-grid, .next-grid { grid-template-columns: 1fr 1fr; }
  .photo-frame { max-height: 480px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .vcard-grid, .icard-grid, .next-grid, .option-grid { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mcard-body { padding: 14px; }
  .mcard-body h3 { font-size: 15px; }
  .photo-frame { aspect-ratio: 4 / 4.4; }
  .video-frame { border-radius: 18px; }
}

/* =========================================================
   Case study story + "At a glance" panel
   ========================================================= */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.cs-story { max-width: 720px; }
.story-block + .story-block { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line); }
.story-block h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.story-block h2::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--c, var(--magenta)); flex-shrink: 0; }
.story-block p { color: #cfd3ea; font-size: 17.5px; line-height: 1.75; font-weight: 300; margin: 0 0 16px; }
.story-block p:last-child { margin-bottom: 0; }
.story-block [data-reveal] h2, .story-block h2 { clip-path: none; transform: none; }

.glance {
  position: sticky; top: calc(var(--nav-h) + 24px); padding: 28px; border-radius: 26px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 20%, #0f1132), #0c0e24 70%);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--c) 55%, transparent);
}
.gstats { display: grid; gap: 12px; margin: 18px 0 22px; }
.gstat { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.gstat strong { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1; min-width: 4.2ch;
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--c) 70%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gstat span { color: var(--muted); font-size: 14px; }
.gmeta { margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.gmeta dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.gmeta dd { margin: 3px 0 0; font-weight: 600; font-size: 14.5px; }
.glance .btn { width: 100%; }

@media (max-width: 1020px) {
  .story-grid { grid-template-columns: 1fr; }
  .glance { position: static; order: -1; }
}
@media (max-width: 640px) {
  .story-block p { font-size: 16.5px; }
  .gmeta { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   More text, product film, field gallery, format counts
   ========================================================= */
.text-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.text-grid .section-head { margin-bottom: 0; }
.text-body p { color: #cfd3ea; font-size: 17.5px; line-height: 1.75; font-weight: 300; margin: 0 0 16px; }
.text-body .hero-ctas { margin-top: 26px; }
.text-sec .lead .text-link, .video-sec .lead .text-link { margin-top: 0; margin-left: 6px; font-size: 15px; }

/* Product: the HoloBox911 film in a tall frame */
.film-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.film-frame { position: relative; max-width: 380px; width: 100%; margin: 0 auto; border-radius: 30px; overflow: hidden; background: #000;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 100px -40px rgba(0,168,232,.6); }
.film-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* Product: real photos inside the four-jobs slider */
.caps-stage img[src*="/real/"] { height: auto; width: 88%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; border: 1px solid rgba(255,255,255,.14); }
.cap-img-m[src*="/real/"] { height: auto; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }

/* Product: field gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gcell { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.gcell img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gcell:hover img { transform: scale(1.06); }
.gcell span { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: rgba(7,8,24,.7); backdrop-filter: blur(8px); }

/* Case studies hub: the four formats, with counts (clicking filters the grid) */
.kind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kind-card { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #0e1030), #0c0e24 75%); transition: transform .4s var(--ease), border-color .4s; }
.kind-card:hover, .kind-card[aria-pressed="true"] { transform: translateY(-4px); border-color: var(--c); }
.kind-card strong { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--c); }
.kind-card b { font-size: 17px; margin-top: 6px; }
.kind-card span { color: var(--muted); font-size: 14px; }

@media (max-width: 1020px) {
  .text-grid, .film-grid { grid-template-columns: 1fr; }
  .gallery, .kind-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .kind-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kind-card { padding: 16px; }
  .kind-card strong { font-size: 32px; }
  .text-body p { font-size: 16.5px; }
}

/* =========================================================
   Paragraph previews on every card
   ========================================================= */
.preview { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; color: #c9cde4; font-weight: 300; line-height: 1.6; }
.ccard p.preview { -webkit-line-clamp: 4; font-size: 14.5px; margin: 10px 0 0; max-width: none; }
.ccard .meta-line { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 500; }
.icard p.preview { -webkit-line-clamp: 3; font-size: 14px; margin: 8px 0 0; color: var(--muted); }
.vcard p.preview { -webkit-line-clamp: 3; }
.mcard { aspect-ratio: 3 / 4.3; }
.mcard::after { background: linear-gradient(180deg, transparent 25%, rgba(7,8,24,.94) 72%); }
.mcard p.preview { -webkit-line-clamp: 3; font-size: 13.5px; margin: 8px 0 0; color: #d3d6ec; }
@media (max-width: 640px) {
  .mcard { aspect-ratio: 3 / 4.6; }
  .mcard p.preview { -webkit-line-clamp: 4; font-size: 12.5px; }
}

/* =========================================================
   Homepage: numbers band, showreel, mosaic, centres preview
   ========================================================= */
.numband { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.03); overflow: hidden; }
.num-cell { padding: 30px 28px; position: relative; }
.num-cell + .num-cell { border-left: 1px solid var(--line); }
.num-cell::before { content: ""; position: absolute; left: 28px; top: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--c); }
.num-cell strong { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.num-cell > span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

.reel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.reel-player { border-radius: 26px; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 50px 100px -40px rgba(0,168,232,.5); }
.reel-player video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reel-side { display: flex; flex-direction: column; gap: 14px; }
.reel-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reel-tab { text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .3s, background .3s; }
.reel-tab b { display: block; font-size: 15px; }
.reel-tab span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.reel-tab:hover { border-color: rgba(255,255,255,.3); }
.reel-tab[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.reel-info { flex: 1; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(0,168,232,.1), transparent 70%); }
.reel-info h3 { font-size: 21px; line-height: 1.25; }
.reel-info p { color: #cfd3ea; font-weight: 300; font-size: 15px; line-height: 1.65; margin: 12px 0 0; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.mcell { position: relative; display: block; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.mcell img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mcell:hover img { transform: scale(1.06); }
.mcell span { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: rgba(7,8,24,.7); backdrop-filter: blur(8px); }
.mcell.m0 { grid-column: span 2; grid-row: span 2; }
.mcell.m3 { grid-row: span 2; }

.cmini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cmini { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: transform .4s var(--ease), border-color .4s; }
.cmini:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.cmini .flag { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--c); }
.cmini h3 { font-size: 17px; margin-top: 10px; }
.cmini p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

@media (max-width: 1020px) {
  .numband { grid-template-columns: 1fr 1fr; }
  .num-cell:nth-child(3) { border-left: 0; }
  .num-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reel { grid-template-columns: 1fr; }
  .reel-tabs { grid-template-columns: repeat(4, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .mcell.m3 { grid-row: span 1; }
  .cmini-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .num-cell { padding: 22px 18px; }
  .num-cell::before { left: 18px; }
  .reel-tabs { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-auto-rows: 150px; }
  .cmini-grid { grid-template-columns: 1fr; }
}
figure.gcell { margin: 0; }
.gallery .gcell.tall { aspect-ratio: 3 / 4; }

/* =========================================================
   Client logo slider + video on cards
   ========================================================= */
.marquee-track.logos { gap: 16px; align-items: center; animation-duration: 55s; }
.marquee-track.logos .logo-chip::after, .marquee-track.logos > span::after { display: none; }
.logo-chip {
  flex: 0 0 auto; display: inline-flex !important; align-items: center; justify-content: center; gap: 0 !important;
  height: 64px; padding: 0 22px; border-radius: 16px; background: #fff;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); transition: transform .3s var(--ease);
}
.logo-chip img { height: 30px; width: auto; max-width: 170px; object-fit: contain; }
.logo-chip:hover { transform: translateY(-3px); }
.proof { padding: 30px 0; }
@media (max-width: 640px) {
  .logo-chip { height: 52px; padding: 0 16px; border-radius: 13px; }
  .logo-chip img { height: 24px; max-width: 130px; }
}

/* card clips sit over the card photo; the photo shows until the clip is actually playing */
.ccard-img, .icard-img { position: relative; }
.card-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.card-vid.playing { opacity: 1; }
.ccard:hover .card-vid, .icard:hover .card-vid { transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.ccard-img .play-badge { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .card-vid { display: none; } }

/* Footer: brand on top, the four link columns always side by side down to tablet width */
@media (max-width: 1180px) and (min-width: 641px) { .f-top { grid-template-columns: repeat(4, 1fr); gap: 28px; } .f-brand { grid-column: 1 / -1; } }

/* =========================================================
   POP: brighter colour, gradient edges, tilt, holographic sheen
   ========================================================= */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* Brighter colour field behind everything */
.ambient i:nth-child(1) { opacity: .26; }
.ambient i:nth-child(2) { opacity: .22; }
.ambient i:nth-child(3) { opacity: .24; }
.device .glow { opacity: .8; filter: blur(70px); }
.photo-stage::before { opacity: .75; }

/* Section labels become glowing pills */
.eyebrow { padding: 7px 14px 7px 10px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #e2e5f7; backdrop-filter: blur(6px); }

/* Gradient words glow */
.grad-text { filter: drop-shadow(0 0 22px rgba(236, 0, 140, .28)) drop-shadow(0 0 40px rgba(0, 168, 232, .18)); }

/* Primary buttons: gradient keeps moving, soft pulse */
.btn-primary {
  background: linear-gradient(100deg, var(--magenta), var(--purple), var(--blue), var(--cyan), var(--magenta));
  background-size: 300% 100%; animation: btn-flow 7s linear infinite, btn-pulse 3.2s ease-in-out infinite;
}
@keyframes btn-flow { to { background-position: 300% 0; } }
@keyframes btn-pulse { 50% { box-shadow: 0 12px 46px -8px rgba(236,0,140,.75), 0 0 0 6px rgba(236,0,140,.08); } }

/* Numbers band in full spectrum */
.num-cell strong { background: linear-gradient(120deg, #fff 10%, var(--c) 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numband { background: linear-gradient(120deg, rgba(0,168,232,.08), rgba(236,0,140,.07) 50%, rgba(255,208,0,.06)); }

/* Cards: brand-gradient edges that light up and rotate on hover */
.why, .route, .cmini, .centre, .icard, .fstep, .gcell, .mcell, .reel-tab {
  border: 1px solid transparent !important;
  background:
    linear-gradient(#0e1029, #0b0d22) padding-box,
    conic-gradient(from var(--ang), color-mix(in srgb, var(--c, var(--blue)) 55%, transparent), rgba(255,255,255,.07) 22%, rgba(255,255,255,.07) 62%, color-mix(in srgb, var(--c, var(--magenta)) 45%, transparent)) border-box !important;
}
.ccard, .vcard, .kind-card, .next-card, .option, .stat-card, .glance {
  border-color: color-mix(in srgb, var(--c, var(--blue)) 45%, transparent) !important;
}
.why:hover, .route:hover, .cmini:hover, .centre:hover, .icard:hover, .fstep:hover, .gcell:hover, .mcell:hover {
  background:
    linear-gradient(#11133a, #0c0e26) padding-box,
    conic-gradient(from var(--ang), var(--cyan), var(--blue), var(--purple), var(--magenta), var(--yellow), var(--green), var(--cyan)) border-box !important;
  animation: edge-spin 3.5s linear infinite;
}
@keyframes edge-spin { to { --ang: 360deg; } }

/* Big cards tilt toward the cursor (angles set by JS) and glow in their accent */
.ccard, .vcard, .icard, .mcard, .kind-card, .next-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .35s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.ccard:hover, .vcard:hover, .icard:hover, .mcard:hover, .kind-card:hover, .next-card:hover {
  --ty: -8px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty));
  box-shadow: 0 40px 70px -30px color-mix(in srgb, var(--c, var(--magenta)) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--c, var(--magenta)) 40%, transparent);
}

/* Holographic rainbow sheen sweeps across photos and videos on hover */
.ccard-img::after, .icard-img::after, .mcard-img::after, .vcard-media::after, .gcell::after, .mcell::after, .photo-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(24,232,248,.35) 40%, rgba(236,0,140,.3) 50%, rgba(255,208,0,.28) 60%, transparent 75%);
  background-size: 250% 100%; background-position: 120% 0; transition: opacity .3s;
}
.vcard-media, .gcell, .mcell { position: relative; }
.mcell span, .gcell span, .play-badge { z-index: 2; }
.ccard:hover .ccard-img::after, .icard:hover .icard-img::after, .mcard:hover .mcard-img::after, .vcard:hover .vcard-media::after,
.gcell:hover::after, .mcell:hover::after, .photo-stage:hover .photo-frame::before { opacity: 1; animation: sheen 1.1s var(--ease) forwards; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -40% 0; } }

/* Accent tags read as bright chips */
.ccard .tag, .vcard-body .tag, .mcard-body .tag, .route .tag, .centre .flag, .cmini .flag {
  display: inline-block; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c, var(--blue)) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--blue)) 40%, transparent);
}

/* Logo chips lift with a spectrum underline */
.logo-chip { position: relative; overflow: hidden; }
.logo-chip::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--spectrum); transform: scaleX(0); transition: transform .4s var(--ease); }
.logo-chip:hover::before { transform: scaleX(1); }

/* Quote and award cards get a living gradient edge */
.big-quote, .award-card, .cta-band { position: relative; }
.big-quote::after, .award-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), var(--cyan), var(--purple), var(--magenta), var(--yellow), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: edge-spin 8s linear infinite; opacity: .7;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .why:hover, .route:hover, .cmini:hover, .centre:hover, .icard:hover, .fstep:hover, .big-quote::after, .award-card::after { animation: none !important; }
}
.mcard-body .tag, .ccard .tag, .vcard-body .tag { white-space: nowrap; font-size: 10.5px; letter-spacing: .12em; }
@media (max-width: 640px) { .mcard-body .tag { font-size: 9.5px; padding: 3px 8px; } }

/* =========================================================
   LAYOUT RHYTHM: one consistent gap between every section
   (overrides the older one-off inline paddings)
   ========================================================= */
:root { --gap: clamp(64px, 7vw, 104px); }
main > section.section { padding-top: var(--gap) !important; padding-bottom: 0 !important; }
main > section.section:last-child { padding-bottom: var(--gap) !important; }
main > .proof + section.section { padding-top: calc(var(--gap) * .7) !important; }

/* Section heads: same space below every heading block */
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lead { margin-top: 16px; }
.faq-grid .section-head, .text-grid .section-head { margin-bottom: 0; }

/* Heading rows with a "see all" button: button lines up with the heading's bottom edge */
.work-head { align-items: flex-end; margin-bottom: clamp(32px, 4vw, 52px); }
.work-head .section-head { margin-bottom: 0 !important; }
.work-head > .btn { margin-bottom: 6px; }

/* Product four-jobs slider: keep its scroll-telling, lose the oversized empty space */
.caps-steps { padding: 0 0 6vh; }
.cap:first-child { justify-content: flex-start; padding-top: 2vh; min-height: 60vh; }
.cap:last-child { min-height: 60vh; }

/* Grids: consistent gutters */
.case-grid, .icard-grid, .vcard-grid, .why-grid, .routes, .centres, .cmini-grid, .next-grid, .kind-grid, .gallery, .option-grid { gap: clamp(14px, 1.6vw, 20px); }

/* Story + glance, text sections, FAQ: align columns to the top edge */
.story-grid, .text-grid, .faq-grid, .film-grid, .stack-grid { align-items: start; }
.film-grid { align-items: center; }

@media (max-width: 640px) {
  .work-head { align-items: flex-start; gap: 18px; }
  .work-head > .btn { margin-bottom: 0; }
  .cap:first-child, .cap:last-child { min-height: 0; }
}
/* First section under an inner-page hero: the hero already brings bottom padding */
main > .phero + section.section { padding-top: calc(var(--gap) * .35) !important; }

/* =========================================================
   PADDING + HOMEPAGE LAYOUT FIXES
   ========================================================= */
:root { --card-pad: clamp(20px, 1.9vw, 26px); --panel-pad: clamp(28px, 4vw, 56px); }

/* One inner padding for every card, one for every large panel */
.ccard-body, .vcard-body, .icard-body, .mcard-body, .cmini, .spec, .why, .route, .centre, .reel-info,
.option, .next-card, .kind-card, .fstep, .num-cell, .stat-card, .person, .glance, .cstat { padding: var(--card-pad); }
.award-card, .cta-band, .big-quote, .trust, .parent-card, .other-ind { padding: var(--panel-pad); }
.icard-body .ic { top: -22px; right: var(--card-pad); }
.num-cell::before { left: var(--card-pad); }

/* Every section heading aligned left, like the rest of the page */
.section-head.center { margin-inline: 0; text-align: left; }
.section-head.center .eyebrow { justify-content: flex-start; }

/* Heading rows: heading takes the space, "see all" button stays on the right */
.work-head { flex-wrap: nowrap; }
.work-head .section-head { flex: 1 1 auto; min-width: 0; max-width: 820px; }
.work-head > .btn { flex: 0 0 auto; }

/* Showreel: side column never taller than the video */
.reel { align-items: start; }
.reel-info h3 { font-size: clamp(17px, 1.5vw, 20px); }
.reel-info p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.reel-info .text-link { margin-top: 14px; }
@media (max-width: 1180px) {
  .reel { grid-template-columns: 1fr; }
  .reel-tabs { grid-template-columns: repeat(4, 1fr); }
}

/* Quote band: stack on laptops so the form fields get full width */
@media (max-width: 1180px) {
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  form.quote { max-width: 760px; }
}

@media (max-width: 640px) {
  .work-head { flex-wrap: wrap; }
  .reel-tabs { grid-template-columns: 1fr 1fr; }
  form.quote { padding: 18px; }
}

/* Header fit: links + "Get a quote" + theme + sound buttons all inside the container */
.nav-inner { gap: 14px; }
.nav-links { gap: 2px; }
.nav-links > li > a, .nav-links > li > button { padding: 9px 11px; font-size: 14px; }
.nav-cta { margin-left: 8px; }
.theme-toggle, .sound-toggle { flex-shrink: 0; }
@media (max-width: 1320px) { .brand .by { display: none; } }
@media (max-width: 1180px) { .burger { margin-left: 0 !important; } }

/* =========================================================
   SECTION PADDING: equal space above AND below every section
   ========================================================= */
:root { --sec-pad: clamp(48px, 5.6vw, 88px); }
main > section.section { padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad) !important; }
main > .phero + section.section { padding-top: calc(var(--sec-pad) * .6) !important; }
main > .proof + section.section { padding-top: calc(var(--sec-pad) * .8) !important; }
.proof { padding: calc(var(--sec-pad) * .45) 0; }
.hero-grid { padding-bottom: calc(var(--sec-pad) + 20px); }
.phero-grid { padding-bottom: var(--sec-pad); }
.footer { padding-top: calc(var(--sec-pad) * 1.1); }
.footer { margin-top: 0; }
@media (max-width: 640px) { .mcard-body .tag { white-space: normal; line-height: 1.35; max-width: 100%; } }
