/* Metaverse911, site styles. Plain CSS, no framework.
   Identity: Montserrat (the Metaverse911 typeface), violet #8B3DFF, near-black #10131A,
   and the logo gradient (magenta → violet → cyan). Light and dark themes share one set of tokens. */

/* ---------- Tokens ---------- */
:root {
  --brand: #8b3dff;
  --brand-2: #4fe6f7;
  --brand-3: #d62ef7;
  --grad: linear-gradient(135deg, #d62ef7 0%, #8b3dff 50%, #4fe6f7 100%);
  --dark: #0a0d12;            /* always-dark bands: footer, page heroes, CTA */
  --dark-2: #121722;
  --on-dark: #ffffff;
  --on-dark-2: #b9c0cf;
  --on-dark-line: rgba(255,255,255,.12);

  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --surface: #ffffff;
  --ink: #10131a;
  --ink-2: #3d4553;
  --muted: #586273;
  --line: #e3e6ee;
  --line-strong: #c9cfdc;
  --brand-ink: #6a1fe0;       /* violet that passes contrast on the page background */
  --brand-soft: #f1e9ff;
  --header-bg: rgba(255,255,255,.94);
  --shadow: 0 18px 40px rgba(16,19,26,.10);
  --ok-bg: #ecfdf3; --ok-ink: #067647; --ok-line: #c9f0d8;
  --err-bg: #fef3f2; --err-ink: #b42318;

  --radius: 10px;
  --wrap: 1240px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0a0d12;
  --bg-soft: #10141c;
  --surface: #141922;
  --ink: #f2f4f8;
  --ink-2: #c3c9d6;
  --muted: #8d96a8;
  --line: #242b37;
  --line-strong: #3a4352;
  --brand-ink: #b48bff;
  --brand-soft: rgba(139,61,255,.16);
  --header-bg: rgba(10,13,18,.92);
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --dark: #05070a;
  --dark-2: #0e121a;
  --ok-bg: rgba(6,118,71,.18); --ok-ink: #6ce9a6; --ok-line: rgba(108,233,166,.3);
  --err-bg: rgba(180,35,24,.18); --err-ink: #fda29b;
  color-scheme: dark;
}

/* ---------- Base & type ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; font-weight: 400;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
button, input, select, textarea { font-family: inherit; }
img, video { max-width: 100%; display: block; }
main { overflow-x: clip; } /* slide-in animations start off-screen; never let them widen the page */
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; color: inherit; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: .78rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
b, strong { font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--dark); color: var(--on-dark-2); }
.section.dark h2, .section.dark h3 { color: var(--on-dark); }
.section.dark .lead, .section.dark p { color: var(--on-dark-2); }
.eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 12px; }
.section.dark .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--brand-2); }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 760px; }
.muted { color: var(--muted); }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.split-head .lead { margin: 0; }
.section-head h2::after, .split-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--grad); margin-top: 16px; }
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #7426f0; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: #fff; color: #10131a; }
.btn-light:hover { background: var(--brand-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link-arrow { font-weight: 600; font-size: .92rem; }
.link-arrow::after { content: " →"; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s, background .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.topbar { background: var(--dark); color: var(--on-dark-2); font-size: .78rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo img { height: 44px; width: auto; }
.logo .logo-dark, [data-theme="dark"] .logo .logo-light { display: none; }
[data-theme="dark"] .logo .logo-dark { display: block; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 10px 13px; color: var(--ink); font-weight: 600; font-size: .86rem; border-radius: 6px; }
.menu > li > a:hover, .menu > li > a[aria-current="page"] { background: var(--bg-soft); text-decoration: none; }
.menu > li > a[aria-current="page"] { color: var(--brand-ink); }
.menu .has-sub > a::after { content: "▾"; font-size: .7em; margin-left: 6px; opacity: .6; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 12px; color: var(--ink); border-radius: 6px; font-size: .86rem; font-weight: 500; }
.submenu a:hover { background: var(--bg-soft); text-decoration: none; color: var(--brand-ink); }
.menu .nav-cta { margin-left: 8px; }
.menu .nav-cta a { background: var(--brand); color: #fff; padding: 10px 18px; }
.menu .nav-cta a:hover { background: #7426f0; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, transform .3s;
}
.theme-toggle:hover { border-color: var(--brand); transform: rotate(-15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Home hero: full-width slideshow ---------- */
.hero { position: relative; height: clamp(580px, 88vh, 900px); overflow: hidden; background: #05070a; color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active .hero-bg > * { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,7,10,.94) 0%, rgba(5,7,10,.86) 40%, rgba(5,7,10,.45) 68%, rgba(5,7,10,.18) 100%),
    linear-gradient(0deg, rgba(5,7,10,.85) 0%, transparent 35%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: 96px; }
.hero-text { max-width: 700px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-text .eyebrow { color: var(--brand-2); }
.hero-text h1, .hero-text .h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .45em; color: #fff; }
.hero-text .lead { color: #d3d8e3; font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 30px; }
.hero-text .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-caption { position: absolute; right: 24px; bottom: 112px; z-index: 2; font-size: .78rem; font-weight: 600; letter-spacing: .02em; background: rgba(5,7,10,.6); border: 1px solid rgba(255,255,255,.15); padding: 7px 12px; border-radius: 6px; color: #e7eaf0; backdrop-filter: blur(6px); }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255,255,255,.12); background: linear-gradient(0deg, rgba(5,7,10,.6), rgba(5,7,10,.2)); backdrop-filter: blur(6px); }
.hero-controls .wrap { display: flex; align-items: stretch; gap: 0; }
.hero-tabs { display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; }
.hero-tab {
  position: relative; text-align: left; background: none; border: 0; color: rgba(255,255,255,.6); cursor: pointer;
  padding: 22px 18px 20px 0; font-size: .82rem; font-weight: 600; transition: color .2s;
}
.hero-tab span { display: block; font-size: .7rem; letter-spacing: .14em; color: rgba(255,255,255,.45); margin-bottom: 2px; }
.hero-tab::before { content: ""; position: absolute; left: 0; right: 18px; top: -1px; height: 2px; background: rgba(255,255,255,.18); }
.hero-tab i { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--grad); }
.hero-tab.is-active { color: #fff; }
.hero-tab.is-active i { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.paused .hero-tab.is-active i { animation-play-state: paused; }
@keyframes progress { to { width: calc(100% - 18px); } }
.hero-arrows { display: flex; gap: 8px; align-items: center; padding-left: 16px; }
.hero-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; transition: background .2s, border-color .2s; }
.hero-arrows button:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 64px; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: var(--grad); opacity: .22; filter: blur(80px); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--on-dark-2); }
.page-hero.with-media .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero .ph-media { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.page-hero .ph-media img, .page-hero .ph-media video { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { font-size: .8rem; color: #8b93a7; margin-bottom: 18px; }
.breadcrumb a { color: var(--on-dark-2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 2.2rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: 4px;
  background: linear-gradient(135deg, var(--ink) 30%, var(--brand-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .86rem; line-height: 1.5; display: block; }
.section.dark .stats { background: transparent; border-color: var(--on-dark-line); }
.section.dark .stat { border-color: var(--on-dark-line); }
.section.dark .stat b { background: linear-gradient(135deg, #fff 20%, #9fe9f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section.dark .stat span { color: #9aa3b8; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover, .work-card:hover, .loc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card p { color: var(--ink-2); font-size: .93rem; }
.card .link-arrow { margin-top: auto; }
.card .num { font-size: .72rem; font-weight: 700; color: var(--brand-ink); letter-spacing: .12em; margin-bottom: 10px; }
.card ul { color: var(--ink-2); font-size: .93rem; margin: 0 0 1em; }

/* ---------- Solution rows ---------- */
.solution { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr, 72px) + 70px); }
.solution:last-child { border-bottom: 0; }
.solution:nth-child(even) .sol-media { order: -1; }
.sol-media { border-radius: 12px; overflow: hidden; background: #0b1020; aspect-ratio: 16/10; position: relative; margin: 0; }
.sol-media video, .sol-media img { width: 100%; height: 100%; object-fit: cover; }
.sol-media figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(5,7,10,.78); color: #fff; font-size: .75rem; font-weight: 600; padding: 6px 10px; border-radius: 6px; }
.sol-text p { color: var(--ink-2); }
.sol-text .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-ink); background: var(--brand-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--ink-2); font-size: .95rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-ink); font-weight: 800; }
.used-for { font-size: .86rem; color: var(--muted); }
.used-for b { color: var(--ink); }

/* Jump nav */
.jump { position: sticky; top: var(--hdr, 72px); z-index: 20; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.jump a { white-space: nowrap; font-size: .8rem; font-weight: 600; color: var(--ink-2); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); }
.jump a:hover { border-color: var(--brand); color: var(--brand-ink); text-decoration: none; }

/* ---------- Work cards ---------- */
.work-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.work-card .wc-media { aspect-ratio: 16/10; background: #0b1020; position: relative; overflow: hidden; }
.work-card .wc-media img, .work-card .wc-media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.work-card .wc-media img { transition: transform .6s ease; }
.work-card:hover .wc-media img { transform: scale(1.05); }
.work-card .wc-media video { opacity: 0; transition: opacity .25s; }
.work-card:hover .wc-media video.ready { opacity: 1; }
.work-card .wc-media .play { position: absolute; right: 10px; bottom: 10px; background: rgba(5,7,10,.75); color: #fff; font-size: .7rem; font-weight: 600; padding: 4px 9px; border-radius: 5px; z-index: 2; }
.wc-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.4rem; text-align: center; padding: 20px; }
.work-card .wc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.work-card .wc-client { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.work-card h3 { margin: 6px 0 8px; font-size: 1.02rem; }
.work-card p { color: var(--ink-2); font-size: .88rem; margin-bottom: 12px; }
.work-card .wc-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.chip.event { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters button { font-size: .84rem; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.work-card[hidden] { display: none; }

/* ---------- Exhibitions ---------- */
.expo-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.expo { border: 1px solid var(--on-dark-line); border-radius: 8px; padding: 16px 18px; transition: border-color .2s; }
.expo:hover { border-color: var(--brand); }
.expo b { display: block; color: #fff; font-size: .95rem; }
.expo span { font-size: .8rem; color: #9aa3b8; }
.ticker { overflow: hidden; border-top: 1px solid var(--on-dark-line); border-bottom: 1px solid var(--on-dark-line); padding: 18px 0; margin-bottom: 40px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker .logo-track { gap: 0; --speed: 45s; }
.ticker span { font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 700; color: #fff; white-space: nowrap; padding: 0 28px; }
.ticker span::after { content: "◆"; font-size: .5em; color: var(--brand-2); margin-left: 56px; vertical-align: middle; }

/* ---------- Feature blocks ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature p { color: var(--ink-2); }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.media-pair img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Leadership & locations */
.person .avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--brand-ink); font-weight: 600; font-size: .82rem; margin-bottom: 10px; display: block; }
.loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.loc img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.loc div { padding: 18px 20px; }
.loc h3 { font-size: 1rem; }
.loc p { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 48px; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 12px; left: 0; font-size: 1.5rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--ink-2); font-size: .92rem; }

/* CTA band */
.cta-band { background: var(--dark-2); color: #fff; border-radius: 16px; padding: 52px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; border: 1px solid var(--on-dark-line); }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: var(--grad); opacity: .35; filter: blur(40px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-2); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; font-size: .92rem; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; display: none; font-size: .9rem; }
.form-status.ok { display: block; background: var(--ok-bg); color: var(--ok-ink); }
.form-status.err { display: block; background: var(--err-bg); color: var(--err-ink); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.contact-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.contact-box h3 { font-size: .95rem; }
.contact-box p { margin: 0 0 6px; color: var(--ink-2); font-size: .9rem; }

/* ---------- Logo slider ---------- */
.logo-slider { position: relative; overflow: hidden; padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; gap: 18px; animation: marquee var(--speed, 60s) linear infinite; }
.logo-slider.reverse .logo-track { animation-direction: reverse; }
.logo-slider:hover .logo-track { animation-play-state: paused; }
.logo-slider + .logo-slider { margin-top: 14px; }
.logo-item { flex: none; width: 180px; height: 92px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 14px 20px; }
.logo-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logo-item:hover img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Solutions explorer (home) ---------- */
.sx { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
.sx > *, .feature > *, .solution > *, .contact-grid > *, .page-hero.with-media .wrap > * { min-width: 0; }
.sx-tabs { display: flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.sx-tabs button { flex: 1; font-size: .82rem; font-weight: 600; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-2); cursor: pointer; }
.sx-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.sx-list { list-style: none; margin: 0; padding: 0; }
.sx-list[hidden] { display: none; }
.sx-list button {
  width: 100%; text-align: left; font-size: .92rem; font-weight: 600; color: var(--ink-2); background: none; border: 0;
  border-left: 3px solid var(--line); padding: 13px 16px; cursor: pointer; transition: .2s; display: flex; justify-content: space-between; align-items: center;
}
.sx-list button::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: .2s; }
.sx-list button:hover { color: var(--ink); border-left-color: var(--line-strong); }
.sx-list button[aria-selected="true"] { color: var(--ink); border-left-color: var(--brand); background: linear-gradient(90deg, var(--brand-soft), transparent); }
.sx-list button[aria-selected="true"]::after { opacity: 1; transform: none; color: var(--brand-ink); }
.sx-list-foot { margin-top: 18px; padding-left: 19px; }
.sx-stage { position: relative; background: var(--dark-2); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.sx-panel[hidden] { display: none; }
.sx-panel .sx-media { aspect-ratio: 16/9; background: #000; }
.sx-panel .sx-media img, .sx-panel .sx-media video { width: 100%; height: 100%; object-fit: cover; }
.sx-panel .sx-body { padding: 26px 30px 30px; color: var(--on-dark-2); }
.sx-panel h3 { color: #fff; font-size: 1.35rem; }
.sx-panel p { margin-bottom: 14px; font-size: .95rem; }
.sx-panel .sx-proof { font-size: .85rem; color: #9fe9f5; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #aab2c5; font-size: .86rem; padding: 72px 0 28px; border-top: 1px solid var(--on-dark-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #aab2c5; }
.site-footer a:hover { color: #fff; }
.site-footer .f-logo img { height: 52px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .76rem; color: #7f88a0; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #25d366; color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: .84rem; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.wa-float:hover { text-decoration: none; background: #1fb956; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose p, .prose li { color: var(--ink-2); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-40 { margin-top: 40px; } .center { text-align: center; }

/* Before GSAP takes over, hide intro pieces so they don't flash. main.js removes .js-loading. */
.js-loading [data-hero] .hero-text, .js-loading .page-hero[data-hero] .wrap { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (min-width: 1600px) {
  :root { --wrap: 1400px; }
  body { font-size: 17px; }
  .section { padding: 112px 0; }
  .logo-item { width: 200px; height: 100px; }
}
@media (max-width: 1200px) {
  .sx { grid-template-columns: 300px 1fr; }
  .menu > li > a { padding: 10px 10px; }
}
/* Laptops (including 125-150% display scaling and browser zoom): keep the full menu, just tighter.
   Below 1180px the two long labels shorten to "Exhibition" and "Training". */
@media (min-width: 901px) and (max-width: 1240px) {
  .nav { gap: 10px; }
  .logo img { height: 38px; }
  .menu > li > a { padding: 9px 7px; font-size: .78rem; white-space: nowrap; }
  .menu .has-sub > a::after { margin-left: 3px; }
  .menu .nav-cta { margin-left: 4px; }
  .menu .nav-cta a { padding: 9px 12px; }
  .theme-toggle { width: 36px; height: 36px; }
}
@media (min-width: 901px) and (max-width: 1180px) { .menu .nl { display: none; } }
@media (min-width: 901px) and (max-width: 1024px) { .topbar { display: none; } }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .topbar { display: none; }
  .site-header { backdrop-filter: none; background: var(--bg); }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 72px); background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 16px 24px 40px; gap: 0; overflow-y: auto; display: none; margin: 0;
  }
  .nav-open .menu { display: flex; }
  .menu > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .95rem; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; background: transparent; }
  .has-sub.open .submenu { display: block; }
  .menu .nav-cta { margin: 16px 0 0; }
  .menu .nav-cta a { text-align: center; border-radius: 8px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 1024px) {
  .grid-4, .expo-list, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .hero-tab { font-size: .76rem; }
}
@media (max-width: 900px) {
  .page-hero.with-media .wrap, .solution, .feature, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .solution { gap: 28px; padding: 48px 0; }
  .solution:nth-child(even) .sol-media { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section.dark .stat:nth-child(-n+2) { border-bottom-color: var(--on-dark-line); }
  .cta-band .btn-row { justify-content: flex-start; }
  .cta-band { padding: 36px; }
  .sx { grid-template-columns: 1fr; gap: 20px; }
  .sx-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .sx-list button { border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; padding: 9px 16px; font-size: .84rem; width: auto; }
  .sx-list button::after { display: none; }
  .sx-list button[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
  .sx-list-foot { display: none; }
  .hero { height: clamp(560px, 86svh, 760px); }
  .hero-slide::after { background: linear-gradient(0deg, rgba(5,7,10,.95) 0%, rgba(5,7,10,.75) 45%, rgba(5,7,10,.35) 100%); }
  .hero-content { align-items: flex-end; padding-bottom: 120px; }
  .hero-caption { display: none; }
  .hero-tab { padding: 16px 10px 14px 0; font-size: 0; }
  .hero-tab span { font-size: .72rem; margin: 0; }
  .hero-arrows button { width: 38px; height: 38px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .grid-4, .expo-list, .steps, .form, .media-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo img { height: 38px; }
  .wa-float { padding: 10px 14px; font-size: .78rem; }
  .logo-item { width: 136px; height: 72px; padding: 10px 14px; }
  .sx-panel .sx-body { padding: 20px; }
  .cta-band { padding: 28px 20px; }
  .stat { padding: 20px 16px; }
  .stat b { font-size: 1.7rem; }
  .card { padding: 22px; }
  .hero { height: clamp(640px, 94svh, 780px); }
  .hero-content { padding-bottom: 84px; }
  .hero-text .eyebrow { font-size: .66rem; letter-spacing: .1em; }
  .hero-text h1, .hero-text .h1 { font-size: 1.95rem; }
  .hero-text .lead { font-size: .94rem; line-height: 1.6; margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-text .btn { padding: 12px 18px; font-size: .86rem; }
  .hero-arrows { display: none; }
  .page-hero { padding: 52px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .hero-slide.is-active .hero-bg > * { animation: none; }
  .logo-track { animation-duration: 240s; }
}

/* ---------- Inner-page banner: same look as the home hero ---------- */
.page-hero.banner { padding: 0; min-height: clamp(480px, 70vh, 700px); display: flex; flex-direction: column; background: #05070a; }
.page-hero.banner::before { display: none; }
.page-hero.banner::after { display: none; }
.banner-bg { position: absolute; inset: 0; overflow: hidden; }
.banner-bg img, .banner-bg video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-out both; }
.banner-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,7,10,.94) 0%, rgba(5,7,10,.86) 40%, rgba(5,7,10,.45) 68%, rgba(5,7,10,.18) 100%),
    linear-gradient(0deg, rgba(5,7,10,.85) 0%, transparent 35%);
}
.banner-content { position: relative; z-index: 2; flex: 1; width: 100%; display: flex; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.page-hero.banner .hero-caption { bottom: 118px; }
.page-hero.banner .breadcrumb { margin-bottom: 14px; }
.page-hero.banner h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.1; margin-bottom: .45em; }
.page-hero.banner .lead { color: #d3d8e3; font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 30px; }
.banner-strip { position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,.12); background: linear-gradient(0deg, rgba(5,7,10,.6), rgba(5,7,10,.2)); backdrop-filter: blur(6px); }
.banner-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.banner-stat { position: relative; padding: 20px 18px 18px 0; }
.banner-stat::before { content: ""; position: absolute; left: 0; right: 18px; top: -1px; height: 2px; background: rgba(255,255,255,.18); }
.banner-stat:first-child::before { background: var(--grad); }
.banner-stat b { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 20%, #9fe9f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner-stat span { display: block; font-size: .76rem; font-weight: 600; color: rgba(255,255,255,.62); line-height: 1.4; margin-top: 2px; }
.page-hero.banner.compact { min-height: 300px; }
.page-hero.banner.compact .banner-content { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 900px) {
  .page-hero.banner { min-height: 0; }
  .banner-bg::after { background: linear-gradient(0deg, rgba(5,7,10,.95) 0%, rgba(5,7,10,.78) 50%, rgba(5,7,10,.45) 100%); }
  .banner-content { padding-top: 120px; padding-bottom: 44px; align-items: flex-end; }
  .banner-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .banner-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 600px) {
  .page-hero.banner h1 { font-size: 1.95rem; }
  .page-hero.banner .lead { font-size: .94rem; line-height: 1.6; }
  .banner-content { padding-top: 96px; }
  .banner-stat { padding: 14px 12px 12px 0; }
  .banner-stat b { font-size: 1.25rem; }
  .banner-stat span { font-size: .7rem; }
  .page-hero.banner.compact .banner-content { padding-top: 72px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .banner-bg img, .banner-bg video { animation: none; } }

/* ===================== Home v3 (voice note 3) ===================== */

/* ---- Panorama hero: the Experience Centre slowly pans, pop-ups appear on it ---- */
.pano-hero { position: relative; height: clamp(600px, 90vh, 920px); overflow: hidden; background: #05070a; color: #fff; }
.pano-stage { position: absolute; inset: 0; overflow: hidden; }
.pano { position: absolute; left: 0; top: 50%; will-change: transform; }
.pano > img { width: 100%; height: 100%; display: block; }
.pano-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,7,10,.9) 0%, rgba(5,7,10,.7) 34%, rgba(5,7,10,.15) 62%, rgba(5,7,10,0) 100%),
    linear-gradient(0deg, rgba(5,7,10,.8) 0%, transparent 30%);
}
.pano-content { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; padding-bottom: 60px; pointer-events: none; }
.pano-content .hero-text { pointer-events: auto; max-width: 620px; }
.pano-content .eyebrow { color: var(--brand-2); }
.pano-content h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; color: #fff; }
.pano-content h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pano-content .lead { color: #d3d8e3; font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 28px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(5,7,10,.45); color: #fff; backdrop-filter: blur(6px); }
.trust-badge::before { content: "✓"; color: var(--brand-2); }

/* Hotspots sit on the panorama (positions are % of the photo) */
.hotspot { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.hotspot-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); animation: pulse 2s infinite; cursor: pointer; padding: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(139,61,255,.7); } 70% { box-shadow: 0 0 0 18px rgba(139,61,255,0); } 100% { box-shadow: 0 0 0 0 rgba(139,61,255,0); } }
.hotspot-label { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: rgba(5,7,10,.75); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); transition: opacity .3s; }
.hotspot-card {
  position: absolute; left: 50%; bottom: 20px; width: 230px; transform: translate(-50%, 12px) scale(.96); transform-origin: bottom center;
  background: rgba(10,13,18,.92); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .4s, transform .4s, visibility .4s; backdrop-filter: blur(8px);
}
.hotspot.is-open .hotspot-card { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.hotspot.card-right .hotspot-card { left: -15px; transform: translate(0, 12px) scale(.96); transform-origin: bottom left; }
.hotspot.card-right.is-open .hotspot-card { transform: translate(0, 0) scale(1); }
.hotspot.card-down .hotspot-card { bottom: auto; top: 20px; transform-origin: top center; }
.hotspot.card-down.card-right .hotspot-card { transform-origin: top left; }
.hotspot.is-open .hotspot-label { opacity: 0; }
.hotspot-card video, .hotspot-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.hotspot-card div { padding: 12px 14px 14px; }
.hotspot-card b { display: block; font-size: .92rem; }
.hotspot-card span { display: block; font-size: .75rem; color: #b9c0cf; line-height: 1.45; margin-top: 3px; }
.hotspot-card .mini-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.hotspot-card .mini-badges i { font-style: normal; font-size: .64rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: rgba(139,61,255,.25); color: #e4d6ff; }

/* Media coverage card, bottom right */
.press-card {
  position: absolute; right: 24px; bottom: 28px; z-index: 4; width: 330px; background: #fff; color: #10131a; border-radius: 12px;
  padding: 16px 18px; box-shadow: 0 24px 50px rgba(0,0,0,.45); text-decoration: none !important;
}
.press-card .masthead { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid #e3e6ee; padding-bottom: 8px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.press-card .masthead small { font-family: var(--font); font-size: .62rem; font-weight: 700; letter-spacing: .12em; color: #6a1fe0; text-transform: uppercase; }
.press-card .headline { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.35; font-weight: 700; margin-bottom: 10px; }
.press-card .also { font-size: .7rem; font-weight: 600; color: #586273; }

/* ---- Clients: static, enterprise left / manufacturing & SME right ---- */
.client-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.client-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.client-panel h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.client-panel h3 small { font-size: .7rem; font-weight: 700; color: var(--brand-ink); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.client-panel p { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.logo-grid .logo-item { width: auto; height: 76px; padding: 12px 14px; }
.logo-grid .logo-item img { filter: none; opacity: 1; }

/* ---- Work at scale ---- */
.scale-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.scale-card { position: relative; grid-column: span 2; min-height: 300px; border-radius: 14px; overflow: hidden; background: var(--dark-2); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border: 1px solid var(--on-dark-line); isolation: isolate; }
.scale-card.wide { grid-column: span 3; min-height: 340px; }
.scale-card > img, .scale-card > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.scale-card:hover > img, .scale-card:hover > video { transform: scale(1.05); }
.scale-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,7,10,.95) 0%, rgba(5,7,10,.6) 50%, rgba(5,7,10,.15) 100%); }
.scale-card.no-photo::before { background: radial-gradient(circle at 85% 10%, rgba(139,61,255,.45), transparent 55%), radial-gradient(circle at 10% 100%, rgba(79,230,247,.18), transparent 50%); }
.scale-card .sc-logo { position: absolute; top: 18px; left: 18px; background: #fff; border-radius: 8px; padding: 8px 12px; height: 46px; display: flex; align-items: center; }
.scale-card .sc-logo img { max-height: 30px; max-width: 130px; width: auto; }
.scale-card b { display: block; font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 20%, #9fe9f5); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.scale-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.scale-card p { color: #c3c9d6; font-size: .86rem; margin: 0; }

/* ---- Exhibition reels ---- */
.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reel { background: var(--dark-2); border: 1px solid var(--on-dark-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.reel:hover { transform: translateY(-4px); border-color: var(--brand); }
.reel-media { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.reel-media img, .reel-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-media video { opacity: 0; transition: opacity .3s; }
.reel.playing .reel-media video { opacity: 1; }
.reel-play { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; color: #fff; background: rgba(5,7,10,.7); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px 6px 8px; cursor: pointer; }
.reel-play::before { content: "▶"; display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); align-items: center; justify-content: center; font-size: .6rem; }
.reel.playing .reel-play::before { content: "❚❚"; font-size: .5rem; }
.share-btn { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(5,7,10,.7); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background .2s, border-color .2s; }
.share-btn:hover { background: #25d366; border-color: #25d366; }
.share-btn svg { width: 14px; height: 14px; }
.reel-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.reel-show { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.reel-body h3 { color: #fff; font-size: 1.08rem; margin: 6px 0 8px; }
.reel-body p { color: #b9c0cf; font-size: .88rem; margin-bottom: 14px; }
.reel-body .wc-meta { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.reel-body .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #c3c9d6; }
.reel-body .link-arrow { margin-left: auto; color: #fff; font-size: .82rem; }
.reel-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem; text-align: center; padding: 20px; }
.reel-placeholder small { font-size: .72rem; font-weight: 600; opacity: .85; }

/* HoloBox certifications */
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.cert { font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.cert.made-in-india { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }

/* Exhibition pages */
.expo-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.expo-facts .card b { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 6px; }
.reel-feature { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 16/9; background: #000; }
.reel-feature video, .reel-feature img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .press-card { width: 280px; }
  .scale-card, .scale-card.wide { grid-column: span 3; }
  .reel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pano-hero { height: auto; display: flex; flex-direction: column; }
  .pano-stage { position: relative; inset: auto; height: 380px; }
  .pano-stage::after { background: linear-gradient(0deg, rgba(5,7,10,1) 0%, rgba(5,7,10,.25) 40%, rgba(5,7,10,0) 100%); }
  .pano-content { height: auto; padding-top: 8px; padding-bottom: 28px; background: #05070a; }
  .press-card { position: relative; right: auto; bottom: auto; width: auto; margin: 0 24px 28px; }
  .hotspot-card { width: 210px; }
  .client-split, .expo-facts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pano-stage { height: 320px; }
  .pano-content h1 { font-size: 2rem; }
  .press-card { margin: 0 16px 24px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid .logo-item { height: 64px; padding: 8px 10px; }
  .scale-card, .scale-card.wide { grid-column: span 6; min-height: 260px; }
  .reel-grid { grid-template-columns: 1fr; }
  .hotspot-label { display: none; }
  .hotspot-card { width: 170px; bottom: 22px; }
  .hotspot-card span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hotspot-dot { animation: none; } }


/* Press card: several stories stacked in one grid cell, one shown at a time */
.press-card { display: grid; }
.press-card:hover { transform: none; }
.press-item { grid-area: 1 / 1; display: block; color: inherit; text-decoration: none !important; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s, transform .45s, visibility .45s; }
.press-item.is-active { opacity: 1; visibility: visible; transform: none; }
.press-item:hover .headline { color: #6a1fe0; }
.press-foot { grid-area: 2 / 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #e3e6ee; }
.press-dots { display: flex; gap: 5px; }
.press-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #c9cfdc; cursor: pointer; transition: background .2s, width .2s; }
.press-dot.is-active { width: 18px; border-radius: 4px; background: var(--grad); }
.press-card .also { font-size: .7rem; font-weight: 700; color: #586273; text-decoration: none; white-space: nowrap; }
.press-card .also:hover { color: #6a1fe0; }
.card.press-link { color: inherit; text-decoration: none; }
.card.press-link .link-arrow { color: var(--brand-ink); margin-top: auto; }

/* Press logos */
.press-card .masthead { align-items: center; min-height: 34px; }
.press-logo { height: 26px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; }
.press-logo-times-of-india, .press-logo-the-print, .press-logo-business-wire, .press-logo-kalkine { height: 20px; }
.press-logo-knowledge-nile, .press-logo-ani, .press-logo-gadgets-360, .press-logo-times-now { height: 32px; }
.press-card-logo { display: flex; align-items: center; height: 48px; margin-bottom: 12px; padding: 8px 12px; background: #fff; border-radius: 8px; border: 1px solid var(--line); align-self: flex-start; }
.press-card-logo img { max-height: 30px; max-width: 160px; width: auto; }

/* Clients: one wide card split into two halves */
.client-split { gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.client-split .client-panel { border: 0; border-radius: 0; background: transparent; padding: 32px; }
.client-split .client-panel + .client-panel { border-left: 1px solid var(--line); background: var(--bg-soft); }
@media (max-width: 900px) {
  .client-split .client-panel + .client-panel { border-left: 0; border-top: 1px solid var(--line); }
  .client-split .client-panel { padding: 24px 20px; }
}

/* Exhibition (show) logos */
.show-ticker { border: 0; padding: 6px 0; }
.show-ticker .logo-track { gap: 14px; --speed: 55s; }
.show-tile { flex: none; height: 72px; min-width: 150px; padding: 12px 22px; background: #fff; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.show-tile::after { content: none !important; }
.show-tile img { max-height: 46px; max-width: 170px; width: auto; }
.show-tile.text { font-size: .95rem; font-weight: 800; color: #10131a; letter-spacing: -.01em; white-space: nowrap; padding: 0 24px; }
.ticker.show-ticker span.show-tile { color: #10131a; font-size: .95rem; padding: 12px 22px; }
.ticker.show-ticker span.show-tile::after { content: none; margin: 0; }
.show-badge { position: absolute; left: 12px; top: 12px; z-index: 2; height: 40px; padding: 6px 12px; background: #fff; border-radius: 8px; display: inline-flex; align-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.show-badge img { max-height: 28px; max-width: 120px; width: auto; }
.show-badge.text { font-size: .75rem; font-weight: 800; color: #10131a; }
.hero-text .show-badge { position: static; height: 56px; padding: 8px 16px; margin-bottom: 18px; }
.hero-text .show-badge img { max-height: 40px; max-width: 180px; }
@media (max-width: 600px) { .show-tile { height: 60px; min-width: 120px; padding: 10px 16px; } .show-tile img { max-height: 38px; max-width: 130px; } }



/* Clients: one card, two full-width rows on every screen, Enterprise relationships on top, Manufacturers & SMEs below. */
.client-split { grid-template-columns: 1fr !important; gap: 0; }
.client-split .client-panel { padding: 32px 36px; }
.client-split .client-panel + .client-panel { border-left: 0 !important; border-top: 1px solid var(--line); }
.client-split .client-panel h3 { display: flex; }
.client-split .logo-grid { grid-template-columns: repeat(8, 1fr); gap: 12px; }
.client-split .logo-grid .logo-item { height: 78px; padding: 12px 16px; }
@media (min-width: 1600px) { .client-split .logo-grid { grid-template-columns: repeat(10, 1fr); } }
@media (max-width: 1100px) { .client-split .logo-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 760px) {
  .client-split .client-panel { padding: 22px 16px; }
  .client-split .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .client-split .logo-grid .logo-item { height: 60px; padding: 8px 10px; }
}
@media (max-width: 400px) { .client-split .logo-grid { grid-template-columns: repeat(3, 1fr); } }

/* Pop-up cards: a bit shorter, and can open to the left of their dot near the right edge */
.hotspot-card video, .hotspot-card img { aspect-ratio: 2 / 1; }
.hotspot-card div { padding: 10px 12px 12px; }
.hotspot.card-left .hotspot-card { left: auto; right: -15px; transform: translate(0, 12px) scale(.96); transform-origin: bottom right; }
.hotspot.card-left.is-open .hotspot-card { transform: translate(0, 0) scale(1); }
.hotspot.card-left.card-down .hotspot-card { transform-origin: top right; }

/* Client logo slideshows inside the card (full colour, pause on hover) */
.client-slider { margin: 0 -36px; padding: 4px 0; }
.client-slider .logo-track { gap: 14px; }
.client-slider .logo-item { width: 170px; height: 84px; padding: 12px 18px; }
.client-slider .logo-item img { filter: none; opacity: 1; }
@media (max-width: 760px) {
  .client-slider { margin: 0 -16px; }
  .client-slider .logo-item { width: 130px; height: 66px; padding: 8px 12px; }
}

/* ---- Client card slider ---- */
.client-carousel { position: relative; }
.cc-head { display: flex; align-items: stretch; gap: 16px; margin-bottom: 18px; }
.cc-tabs { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-tab { position: relative; text-align: left; background: none; border: 0; border-top: 2px solid var(--line); padding: 14px 0 6px; font-size: 1rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .2s; }
.cc-tab span { display: block; font-size: .7rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 2px; }
.cc-tab i { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--grad); }
.cc-tab.is-active { color: var(--ink); }
.cc-tab.is-active i { animation: progress var(--cc-ms, 6000ms) linear forwards; width: 0; }
.client-carousel.paused .cc-tab.is-active i { animation-play-state: paused; }
.cc-tab.is-active i { --tab-w: 100%; }
@keyframes cc-progress { to { width: 100%; } }
.cc-tab.is-active i { animation-name: cc-progress; }
.cc-arrows { display: flex; gap: 8px; align-items: center; }
.cc-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.cc-arrows button:hover { border-color: var(--brand); color: var(--brand-ink); }
.cc-viewport { overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transition: height .5s ease; }
.cc-track { display: flex; align-items: flex-start; transition: transform .7s cubic-bezier(.65,0,.35,1); will-change: transform; }
.cc-slide { flex: 0 0 100%; min-width: 0; border: 0 !important; border-radius: 0; background: transparent; padding: 32px 36px; }
.cc-slide h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.25rem; }
.cc-slide .logo-grid { grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cc-slide .logo-grid .logo-item { width: auto; height: 80px; padding: 12px 16px; }
.cc-slide .logo-grid .logo-item img { filter: none; opacity: 1; }
@media (min-width: 1600px) { .cc-slide .logo-grid { grid-template-columns: repeat(10, 1fr); } }
@media (max-width: 1100px) { .cc-slide .logo-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 760px) {
  .cc-head { gap: 10px; }
  .cc-tab { font-size: .82rem; }
  .cc-arrows { display: none; }
  .cc-slide { padding: 22px 16px; }
  .cc-slide h3 { font-size: 1.05rem; }
  .cc-slide .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cc-slide .logo-grid .logo-item { height: 60px; padding: 8px 10px; }
}
@media (max-width: 400px) { .cc-slide .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .cc-track, .cc-viewport { transition: none; } }

/* ---- Work at scale: full-width project slideshow (reuses the hero slider) ---- */
.scale-show { height: clamp(560px, 82vh, 860px); }
.scale-show .hero-tabs { grid-template-columns: repeat(6, 1fr); }
.scale-show .hero-bg.no-photo { background: radial-gradient(circle at 80% 30%, rgba(139,61,255,.55), transparent 50%), radial-gradient(circle at 15% 90%, rgba(79,230,247,.22), transparent 45%), #05070a; }
.scale-glow { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 64px); }
.scale-biglogo { position: absolute; right: 7%; top: 50%; transform: translateY(-58%); width: min(34vw, 460px); aspect-ratio: 16/10; background: #fff; border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 8%; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.scale-biglogo img { max-width: 100%; max-height: 100%; width: auto; animation: none !important; }
.scale-show .hero-slide.is-active .scale-biglogo { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(-58%); } 50% { transform: translateY(-62%); } }
.scale-show .hero-text { max-width: 640px; }
.sc-client { display: inline-flex; align-items: center; height: 52px; padding: 8px 14px; background: #fff; border-radius: 10px; margin: 6px 0 18px; }
.sc-client img { max-height: 36px; max-width: 170px; width: auto; }
.scale-num { display: block; font-size: clamp(3.6rem, 9vw, 7.5rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 25%, #9fe9f5 60%, #c79bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scale-unit { display: block; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 700; color: var(--brand-2); margin: 6px 0 18px; text-transform: uppercase; letter-spacing: .08em; }
.scale-title { font-size: clamp(1.4rem, 2.6vw, 2.2rem) !important; line-height: 1.2 !important; margin-bottom: .5em !important; }
@media (max-width: 900px) {
  .scale-show { height: clamp(600px, 92svh, 780px); }
  .scale-biglogo { right: 50%; top: 22%; transform: translate(50%, -50%); width: min(60vw, 300px); }
  @keyframes floaty { 0%,100% { transform: translate(50%, -50%); } 50% { transform: translate(50%, -56%); } }
  .scale-show .hero-tab { font-size: 0; }
}
@media (max-width: 600px) {
  .scale-show .hero-text .lead { -webkit-line-clamp: 3; }
  .sc-client { height: 44px; margin-bottom: 12px; }
  .sc-client img { max-height: 28px; }
}

.sc-client { display: flex; width: fit-content; }
/* slides without a photo already show the big logo tile, so skip the small badge and lighten the overlay */
.scale-show .hero-bg.no-photo ~ .hero-content .sc-client { display: none; }
.scale-show .hero-slide:has(.no-photo)::after { background: linear-gradient(90deg, rgba(5,7,10,.75) 0%, rgba(5,7,10,.35) 45%, transparent 70%); }
@media (max-width: 900px) { .scale-show .hero-slide:has(.no-photo)::after { background: linear-gradient(0deg, rgba(5,7,10,.95) 0%, rgba(5,7,10,.6) 50%, transparent 75%); } }

/* Scale slides: ambient video sits behind the grid lines and the big logo tile */
.scale-show .hero-bg.no-photo video { position: absolute; inset: 0; opacity: .85; }
.scale-show .hero-bg.no-photo .scale-glow { z-index: 1; }
.scale-show .hero-bg.no-photo .scale-biglogo { z-index: 2; }

/* MSVC slide: the presenter stands on the right of the frame, so keep that part in view on narrow screens */
#scale-3 .hero-bg video { object-position: 80% 50%; }

/* Work at scale: tab row sized to the number of projects */
.scale-show .hero-tabs { grid-template-columns: repeat(var(--slides, 6), minmax(0, 1fr)); }
.scale-show .hero-tab { font-size: .74rem; padding-right: 10px; line-height: 1.3; }
.scale-show .hero-tab::before { right: 10px; }
@media (max-width: 1200px) { .scale-show .hero-tab { font-size: 0; } .scale-show .hero-tab span { font-size: .72rem; } }

/* Numbers: plain, static, solid colour (no count-up, no gradient text) */
.stat b, .banner-stat b, .scale-num, .scale-card b { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor; }
.stat b { color: var(--ink); }
.section.dark .stat b, .banner-stat b, .scale-num, .scale-card b { color: #fff; }

/* Slideshows: only previous/next arrows, no numbered tabs, progress bars or dots */
.scale-show .hero-controls { left: auto; right: 0; border-top: 0; background: none; backdrop-filter: none; padding-bottom: 28px; }
.scale-show .hero-controls .wrap { justify-content: flex-end; }
.scale-show .hero-arrows { padding-left: 0; }
.scale-show .hero-content { padding-bottom: 72px; }
.cc-head { justify-content: flex-end; margin-bottom: 14px; }
.press-arrows { display: flex; gap: 6px; }
.press-arrows button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #c9cfdc; background: #fff; color: #10131a; font-size: .8rem; cursor: pointer; line-height: 1; padding: 0; }
.press-arrows button:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 760px) { .cc-arrows { display: flex; } }
@media (max-width: 600px) { .scale-show .hero-arrows { display: flex; } .scale-show .hero-controls { padding-bottom: 18px; } .scale-show .hero-arrows button { width: 40px; height: 40px; } }

/* Press card: the whole card opens the story that is showing (the arrows sit above the link) */
.press-item.is-active::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 12px; }
.press-card { cursor: pointer; }
.press-foot { position: relative; z-index: 2; }

/* Slideshow arrows centred */
.scale-show .hero-controls { left: 0; right: 0; }
.scale-show .hero-controls .wrap { justify-content: center; }
.cc-head { justify-content: center; }
.press-foot { justify-content: center; flex-direction: column; gap: 8px; }
.press-arrows { justify-content: center; }

/* Client logos: every file is a 400x200 frame with the logo centred, so tiles just show it whole */
.cc-slide .logo-grid { align-items: stretch; justify-items: stretch; }
.cc-slide .logo-grid .logo-item, .logo-grid .logo-item { height: auto; aspect-ratio: 2 / 1; padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.cc-slide .logo-grid .logo-item img, .logo-grid .logo-item img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; filter: none; opacity: 1; }
.sc-client { height: auto; padding: 4px 8px; }
.sc-client img { width: 120px; height: 60px; max-width: none; max-height: none; object-fit: contain; }
.scale-card .sc-logo img { max-height: 40px; }
@media (max-width: 760px) { .cc-slide .logo-grid .logo-item { height: auto; padding: 4px 6px; } .sc-client img { width: 96px; height: 48px; } }

/* Exhibitions: names only (no show logos) */
.show-badge.text { height: auto; padding: 7px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: #10131a; }
.hero-text .show-badge.text { padding: 8px 14px; font-size: .82rem; height: auto; }
.ticker.show-ticker.names span.show-tile { height: auto; min-width: 0; padding: 12px 22px; font-size: .95rem; font-weight: 700; }

/* Client card slider: arrows below the cards; logos in centred rows so a short last row sits in the middle */
.client-carousel { display: flex; flex-direction: column; }
.client-carousel .cc-viewport { order: 1; }
.client-carousel .cc-head { order: 2; margin: 18px 0 0; justify-content: center; }
.cc-slide { --cols: 8; }
.cc-slide .logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cc-slide .logo-grid .logo-item { flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); }
@media (min-width: 1600px) { .cc-slide { --cols: 10; } }
@media (max-width: 1100px) { .cc-slide { --cols: 6; } }
@media (max-width: 760px) { .cc-slide { --cols: 4; } .cc-slide .logo-grid { gap: 8px; } .cc-slide .logo-grid .logo-item { flex-basis: calc((100% - (var(--cols) - 1) * 8px) / var(--cols)); } }
@media (max-width: 400px) { .cc-slide { --cols: 3; } }

/* Bigger client logos: fewer per row, tighter padding */
.cc-slide { --cols: 6; }
.cc-slide .logo-grid .logo-item { padding: 4px 6px; }
@media (min-width: 1600px) { .cc-slide { --cols: 8; } }
@media (max-width: 1100px) { .cc-slide { --cols: 5; } }
@media (max-width: 760px) { .cc-slide { --cols: 3; } }
@media (max-width: 400px) { .cc-slide { --cols: 2; } }

/* Press summaries (our own words; the full article opens on click) */
.press-card .press-sum { display: block; font-size: .8rem; line-height: 1.5; color: #3d4553; margin-bottom: 4px; }
.press-card .headline { margin-bottom: 6px; }
.card .press-sum { font-size: .86rem; color: var(--muted); }

.press-logo-people-matters, .press-logo-apac-media, .press-logo-taxtmi, .press-logo-zycrypto { height: 30px; }
.press-logo-industry-wired, .press-logo-entrepreneur { height: 22px; }

/* Keep the hero press card compact: headline and summary max two lines each */
.press-card .headline, .press-card .press-sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* Card grids, everywhere: 3 per row on desktop, 2 on tablet, 1 on phone */
.grid-2, .grid-3, .grid-4, .reel-grid, .expo-list, .expo-facts, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-2, .grid-3, .grid-4, .reel-grid, .expo-list, .expo-facts, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4, .reel-grid, .expo-list, .expo-facts, .steps { grid-template-columns: minmax(0, 1fr); } }

/* HoloBox section: the four finishes in a row */
.hb-lineup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: end; margin: 8px 0 40px; }
.hb-unit { margin: 0; text-align: center; }
.hb-unit img { width: 100%; max-width: 260px; height: auto; margin: 0 auto; filter: drop-shadow(0 22px 28px rgba(16,19,26,.18)); }
.hb-unit figcaption { margin-top: 14px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.hb-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.hb-info .checks { margin: 0; }
[data-theme="dark"] .hb-unit img { filter: drop-shadow(0 22px 28px rgba(0,0,0,.5)); }
@media (max-width: 900px) { .hb-info { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 600px) { .hb-lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; } .hb-unit img { max-width: 170px; } }

/* Justified body text across the site (headings, labels, buttons and centred intros keep their alignment) */
p, .checks li, .prose li, .press-card .press-sum, .used-for { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.section-head.center .lead, .center p, .hero-caption, .form-note, .footer-bottom, .breadcrumb, .muted.center { text-align: center; hyphens: manual; }
.site-footer p, .card .num, .reel-show, .chip, .eyebrow, .scale-unit, .masthead small { text-align: left; hyphens: manual; }
/* Equal logo boxes on press cards */
.press-card-logo { width: 170px; height: 52px; padding: 6px 12px; justify-content: center; }
.press-card-logo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }

.hb-info .checks a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.hb-info .checks a:hover { color: var(--brand-ink); text-decoration-color: currentColor; }

/* Press band directly under the hero (all screen sizes) */
.press-band { background: #05070a; padding: 0 0 36px; }
.pano-hero .press-card { display: none; }
.press-band .press-card { position: relative; right: auto; bottom: auto; width: 100%; max-width: 480px; margin: 0 auto; padding: 12px 14px; }
.press-band .press-card .press-card-logo { width: 130px; height: 40px; margin-bottom: 8px; }
.press-band .press-card .masthead { font-size: .9rem; min-height: 28px; padding-bottom: 6px; margin-bottom: 6px; }
.press-band .press-card .headline { font-size: .9rem; }
.press-band .press-card .press-sum { font-size: .74rem; }
@media (max-width: 900px) { .press-band { padding-bottom: 28px; } }
/* Exhibition logo card: same tiles as clients; name tiles for shows without a logo file */
.expo-card .cc-viewport { height: auto !important; }
.expo-card .logo-item { text-decoration: none; }
.expo-card a.logo-item:hover { border-color: var(--brand); }
.logo-name { font-size: .95rem; font-weight: 800; color: #10131a; text-align: center; line-height: 1.2; padding: 0 6px; }

/* Case-study and exhibition pages */
.case-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.case-body aside { position: sticky; top: calc(var(--hdr, 72px) + 20px); }
.case-body p { color: var(--ink-2); }
.source-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.source-box h3 { font-size: .95rem; }
.source-box ul { list-style: none; padding: 0; margin: 0; }
.source-box li { margin-bottom: 10px; font-size: .88rem; line-height: 1.5; text-align: left; }
.banner-product-bg { background: radial-gradient(circle at 75% 45%, #1c2233 0%, #05070a 60%); }
.banner-product-bg picture { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); height: 86%; }
.banner-product-bg .banner-product { height: 100%; width: auto; object-fit: contain; animation: none !important; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.press-card-logo .logo-name { font-size: .8rem; font-weight: 800; color: #10131a; }
@media (max-width: 900px) {
  .case-body { grid-template-columns: 1fr; gap: 28px; } .case-body aside { position: static; }
  .banner-product-bg picture { right: 50%; transform: translate(50%, -50%); height: 70%; opacity: .55; }
}

/* Linked logo tiles */
a.logo-item { text-decoration: none; transition: border-color .2s; }
a.logo-item:hover { border-color: var(--brand); }

/* ===== No "AI look": remove decorative flourishes site-wide (HoloBox section keeps its own brand spectrum) ===== */
.section-head h2::after, .split-head h2::after { display: none !important; }
.pano-content h1 .accent, .hero-text .accent, .hero h1 span { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor; color: var(--brand-2) !important; }
.hotspot-dot { animation: none !important; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.scale-show .hero-slide.is-active .scale-biglogo { animation: none !important; }
.hero-slide.is-active .hero-bg > *, .banner-bg img, .banner-bg video { animation: none !important; }
.page-hero::before, .page-hero::after, .cta-band::before, .hero::before, .hero::after { display: none !important; }
.scale-glow { display: none !important; }
.card:hover, .work-card:hover, .loc:hover, .reel:hover { transform: none !important; }
.work-card:hover .wc-media img { transform: none !important; }
.banner-stat:first-child::before { background: rgba(255,255,255,.18) !important; }
.step::before { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor; color: var(--brand-ink); }
.press-dot.is-active { background: var(--ink) !important; }

/* ---- HoloBox 911 section (brand guidelines): Poppins, Ink/Slate/Mist/Line, spectrum bar, 45° streaks,
   platform with spectrum rim, dark client pills, gradient call to action, certification badges ---- */
.hb-section { --hb-ink: #0F1222; --hb-slate: #4A5068; --hb-mist: #F5F7FB; --hb-line: #E6E8EF;
  --hb-spectrum: linear-gradient(90deg, #18E8F8, #00A8E8, #7B2A90, #EC008C, #FFD000, #8DC63F);
  --hb-headline: linear-gradient(90deg, #EC008C, #7B2A90, #00A8E8);
  position: relative; overflow: hidden; background: var(--hb-mist); color: var(--hb-slate);
  font-family: "Poppins", "Montserrat", system-ui, sans-serif; }
[data-theme="dark"] .hb-section { background: var(--hb-mist); }
.hb-section p { text-align: left; hyphens: manual; }
.hb-topbar { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--hb-spectrum); }
.hb-streaks { position: absolute; top: -235px; right: -70px; width: 420px; height: 420px; pointer-events: none; opacity: .9; }
.hb-streaks i { position: absolute; height: 34px; border-radius: 17px; transform: rotate(-45deg); transform-origin: left center; }
.hb-streaks i:nth-child(1) { left: 40px;  top: 330px; width: 260px; background: linear-gradient(90deg, #EC008C, #7B2A90); }
.hb-streaks i:nth-child(2) { left: 110px; top: 330px; width: 230px; background: linear-gradient(90deg, #18E8F8, #00A8E8); }
.hb-streaks i:nth-child(3) { left: 180px; top: 330px; width: 200px; background: linear-gradient(90deg, #FFD000, #F29100); }
.hb-streaks i:nth-child(4) { left: 250px; top: 330px; width: 150px; background: #8DC63F; }
.hb-section .wrap { position: relative; z-index: 1; }

.hb-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hb-brand { display: inline-block; margin-bottom: 16px; }
.hb-brand img { display: block; height: 36px; width: auto; }
.hb-label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--hb-slate); }
.hb-section h2 { font-family: inherit; font-weight: 600; color: var(--hb-ink); letter-spacing: -.02em; margin: 10px 0 12px; }
.hb-grad { background: var(--hb-headline); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #7B2A90; }
.hb-lead { font-size: 1.05rem; line-height: 1.5; max-width: 34em; margin-bottom: 24px; }

.hb-uses { display: grid; gap: 10px; }
.hb-use { background: #fff; border: 1px solid var(--hb-line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.hb-use-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 18px; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--hb-ink); text-align: left; }
.hb-use-head b { font-weight: 600; font-size: 1rem; }
.hb-icn { width: 34px; height: 34px; flex: none; padding: 7px; border-radius: 10px; background: var(--hb-mist); color: #7B2A90; }
.hb-use-body p { margin: 0; padding: 0 18px 0 64px; font-size: .9rem; line-height: 1.5; }
.hb-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px 16px 64px; }
.hb-use.is-active { border-color: transparent; box-shadow: 0 14px 34px rgba(15,18,34,.09); background:
  linear-gradient(#fff, #fff) padding-box, var(--hb-spectrum) border-box; border: 1.5px solid transparent; }
.hb-use.is-active .hb-icn { background: var(--hb-headline); color: #fff; }
.hb-use-body { display: block; max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.hb-use.is-active .hb-use-body { max-height: 260px; }
.hb-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--hb-ink); color: #fff; font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.hb-pill:hover { background: #7B2A90; color: #fff; }

.hb-btns { margin-top: 26px; gap: 12px; }
.hb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: filter .2s, background .2s; }
.hb-btn-grad { background: var(--hb-headline); color: #fff; }
.hb-btn-grad:hover { filter: brightness(1.08); color: #fff; }
.hb-btn-dark { background: var(--hb-ink); color: #fff; }
.hb-btn-dark:hover { background: #262a40; color: #fff; }

.hb-stage { display: flex; flex-direction: column; align-items: center; }
.hb-units { position: relative; width: min(100%, 330px); aspect-ratio: 491 / 900; }
.hb-platform { position: absolute; left: -16%; right: -16%; bottom: -24px; height: 54px; border-radius: 50%; z-index: 0;
  background: linear-gradient(#fff, var(--hb-line)); box-shadow: 0 20px 30px rgba(15,18,34,.14); }
.hb-platform::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px; background: var(--hb-spectrum);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.hb-platform::after { content: ""; position: absolute; left: 24%; right: 24%; top: 8px; height: 16px; border-radius: 50%; background: rgba(15,18,34,.28); filter: blur(6px); }
.hb-unit-img { position: absolute; inset: 0 0 6px; z-index: 1; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.hb-unit-img.is-active { opacity: 1; transform: none; }
.hb-unit-img img { width: 100%; height: 100%; object-fit: contain; }
.hb-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 54px; }
.hb-swatch { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hb-line); background: #fff;
  color: var(--hb-slate); font: inherit; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.hb-swatch i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(15,18,34,.25); }
.hb-swatch.is-active { border-color: var(--hb-ink); color: var(--hb-ink); }

.hb-certs { list-style: none; margin: 56px 0 0; padding: 22px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
  border-top: 1px solid var(--hb-line); border-bottom: 1px solid var(--hb-line); }
.hb-certs li { display: flex; align-items: center; gap: 10px; }
.hb-certs img { width: 36px; height: 36px; flex: none; }
.hb-certs span { font-size: .78rem; line-height: 1.3; }
.hb-certs b { display: block; color: var(--hb-ink); font-weight: 600; font-size: .9rem; }
.hb-mii span { padding-left: 12px; border-left: 3px solid; border-image: linear-gradient(#F29100, #fff, #138808) 1; }

.hb-inds-head { display: flex; justify-content: space-between; align-items: baseline; margin: 40px 0 14px; }
.hb-inds-head a { color: var(--hb-ink); font-weight: 600; font-size: .85rem; text-decoration: none; }
.hb-inds-head a:hover { color: #7B2A90; }
.hb-inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hb-ind { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--hb-line); border-radius: 16px;
  text-decoration: none; color: var(--hb-slate); transition: border-color .2s, box-shadow .2s; }
.hb-ind:hover { border-color: #7B2A90; box-shadow: 0 10px 24px rgba(15,18,34,.07); }
.hb-ind:hover .hb-icn { background: var(--hb-headline); color: #fff; }
.hb-ind span { font-size: .8rem; line-height: 1.4; }
.hb-ind b { display: block; color: var(--hb-ink); font-weight: 600; font-size: .92rem; }

.hb-clients { margin-top: 40px; text-align: center; }
.hb-clients .hb-label { margin-bottom: 14px; }
.hb-logo-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.hb-logo-row .logo-item { width: auto; height: auto; aspect-ratio: 2 / 1; padding: 8px 12px; background: #fff; border: 1px solid var(--hb-line); border-radius: 14px; }
.hb-logo-row .logo-item img { width: 100%; height: 100%; object-fit: contain; filter: none; opacity: 1; max-width: none; max-height: none; }
.hb-logo-row .logo-item:hover { border-color: #7B2A90; }

@media (max-width: 1000px) { .hb-certs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hb-inds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .hb-grid { grid-template-columns: 1fr; gap: 40px; } .hb-stage { order: -1; } .hb-units { width: min(62%, 260px); }
  .hb-logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hb-streaks { transform: scale(.7); transform-origin: top right; } }
@media (max-width: 600px) { .hb-inds { grid-template-columns: 1fr; } .hb-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb-use-body p, .hb-pills { padding-left: 18px; }
  .hb-btn { flex: 1 1 100%; } .hb-streaks { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .hb-unit-img, .hb-use-body { transition: none; } }
/* HoloBox flowing lines (from the brand kit background), over Mist */
.hb-section { background: url("../assets/img/holobox/hb-flow.svg") center 30% / 100% auto no-repeat, url("../assets/img/holobox/hb-floor.svg") center bottom / 100% auto no-repeat, var(--hb-mist); }
[data-theme="dark"] /* HoloBox flowing lines (from the brand kit background), over Mist */
.hb-section { background: url("../assets/img/holobox/hb-flow.svg") center 30% / 100% auto no-repeat, url("../assets/img/holobox/hb-floor.svg") center bottom / 100% auto no-repeat, var(--hb-mist); }
/* ---- end HoloBox 911 section ---- */


/* Hub pages (case studies, exhibitions & events) */
.hub-jump { padding-top: 28px; font-weight: 600; font-size: .9rem; }
.hub-jump a { color: var(--brand); text-decoration: none; }
.hub-panel { max-width: none; }
.press-card-name { display: flex; align-items: center; font-weight: 700; color: var(--ink); font-size: 1.05rem; }

/* Solution hubs and single-solution pages */
.sol-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.sol-card-media { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--bg-soft); margin-bottom: 4px; }
.sol-card-media img { width: 100%; height: 100%; object-fit: cover; }
.sol-card .tag { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-ink); background: var(--brand-soft); padding: 5px 11px; border-radius: 999px; }
.sol-card h3 { margin: 0; }
.sol-card p { margin: 0; flex: 1; }
.sol-card:hover { border-color: var(--brand); }
.sol-card-sm { gap: 8px; }
.sol-single .solution { border-bottom: 0; }

/* Band below the home hero: press card + ISO certifications + key numbers */
.press-band { padding: 28px 0 40px; }
.press-band-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px; align-items: center; }
.press-band .press-card { margin: 0; }
.trust-panel { color: #c3c9d6; }
.trust-certs { list-style: none; margin: 0 0 22px; padding: 0 0 22px; display: flex; flex-wrap: wrap; gap: 14px 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.trust-certs li { display: flex; align-items: center; gap: 12px; }
.trust-certs img { width: 40px; height: 40px; flex: none; background: #fff; border-radius: 50%; padding: 4px; }
.trust-certs span { font-size: .8rem; line-height: 1.35; text-align: left; }
.trust-certs b { display: block; color: #fff; font-size: .98rem; font-weight: 700; }
.trust-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust-stats b { display: block; color: #fff; font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.trust-stats span { display: block; font-size: .8rem; line-height: 1.4; margin-top: 4px; }
@media (max-width: 1100px) { .trust-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .press-band-grid { grid-template-columns: 1fr; gap: 28px; } .press-band .press-card { max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 480px) { .trust-stats b { font-size: 1.5rem; } }

/* Bigger numbers in the band below the hero */
.trust-stats { gap: 24px; }
.trust-stats b { font-size: 2.8rem; letter-spacing: -.01em; }
.trust-stats span { font-size: .92rem; margin-top: 6px; }
@media (max-width: 480px) { .trust-stats b { font-size: 2.1rem; } .trust-stats span { font-size: .85rem; } }

/* Bigger logos on the clients and exhibitions cards: fewer, larger tiles per row */
.cc-slide { --cols: 5; }
.cc-slide .logo-grid { gap: 14px; }
.cc-slide .logo-grid .logo-item { flex-basis: calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); padding: 6px 10px; }
@media (min-width: 1600px) { .cc-slide { --cols: 6; } }
@media (max-width: 1100px) { .cc-slide { --cols: 4; } }
@media (max-width: 760px) { .cc-slide { --cols: 3; } .cc-slide .logo-grid { gap: 10px; } .cc-slide .logo-grid .logo-item { flex-basis: calc((100% - (var(--cols) - 1) * 10px) / var(--cols)); padding: 4px 6px; } }
@media (max-width: 520px) { .cc-slide { --cols: 2; } }

/* Lighter overlays so photos and videos read brighter. The left side keeps enough shade for the headline;
   a stronger text shadow keeps white text readable on light parts of the picture. */
.hero-slide::after, .banner-bg::after {
  background:
    linear-gradient(90deg, rgba(5,7,10,.72) 0%, rgba(5,7,10,.55) 35%, rgba(5,7,10,.18) 62%, rgba(5,7,10,0) 100%),
    linear-gradient(0deg, rgba(5,7,10,.6) 0%, transparent 30%);
}
.pano-stage::after {
  background:
    linear-gradient(90deg, rgba(5,7,10,.7) 0%, rgba(5,7,10,.45) 30%, rgba(5,7,10,.08) 58%, rgba(5,7,10,0) 100%),
    linear-gradient(0deg, rgba(5,7,10,.55) 0%, transparent 25%);
}
.scale-card::before { background: linear-gradient(0deg, rgba(5,7,10,.85) 0%, rgba(5,7,10,.4) 50%, rgba(5,7,10,.05) 100%); }
.scale-show .hero-slide:has(.no-photo)::after { background: linear-gradient(90deg, rgba(5,7,10,.6) 0%, rgba(5,7,10,.25) 45%, transparent 70%); }
.hero-text, .pano-content .hero-text { text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.35); }
@media (max-width: 900px) {
  .hero-slide::after { background: linear-gradient(0deg, rgba(5,7,10,.88) 0%, rgba(5,7,10,.55) 45%, rgba(5,7,10,.15) 100%); }
  .banner-bg::after { background: linear-gradient(0deg, rgba(5,7,10,.88) 0%, rgba(5,7,10,.55) 50%, rgba(5,7,10,.2) 100%); }
  .pano-stage::after { background: linear-gradient(0deg, rgba(5,7,10,.9) 0%, rgba(5,7,10,.1) 35%, rgba(5,7,10,0) 100%); }
  .scale-show .hero-slide:has(.no-photo)::after { background: linear-gradient(0deg, rgba(5,7,10,.88) 0%, rgba(5,7,10,.45) 50%, transparent 75%); }
}

/* Pages built from the website sheet: article figures, wider prose for industry pages, insight note */
.prose-fig { margin: 24px 0; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.prose-fig img { width: 100%; height: auto; display: block; }
.prose-wide { max-width: 980px; }
.prose h3 { margin-top: 1.3em; font-size: 1.12rem; }
.prose blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); font-style: italic; color: var(--ink-2); }
.insight-note { font-size: .88rem; padding: 12px 16px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); text-align: left !important; }

/* No breadcrumbs anywhere on the site */
.breadcrumb { display: none !important; }

/* FAQ questions inside long-form pages */
.prose .faq-q { font-size: 1.02rem; margin-top: 1.4em; }

/* Mega menus (Our Work, Industries): wide panels under the navbar, one column per group */
@media (min-width: 901px) {
  .nav { position: relative; }
  .menu > li.has-mega:has(.mega-work) { position: static; }
  .submenu.mega { left: 0; right: 0; top: 100%; min-width: 0; display: grid; gap: 4px 28px; padding: 22px 26px; max-height: calc(100vh - 140px); overflow-y: auto; }
  .mega-work { grid-template-columns: 0.8fr 1.2fr 1fr 1fr 1fr; }
  .mega-ind { grid-template-columns: 1fr 1fr; left: 0; right: auto; width: min(560px, 90vw); }
  .mega-col { display: flex; flex-direction: column; min-width: 0; }
  .mega-col a { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; color: var(--ink); font-size: .84rem; font-weight: 500; line-height: 1.35; }
  .mega-col a:hover { background: var(--bg-soft); color: var(--brand-ink); text-decoration: none; }
  .mega-title { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #6b7280); margin-bottom: 6px; }
  .mega-all { font-weight: 700 !important; color: var(--brand-ink) !important; margin-top: 6px !important; }
}
@media (max-width: 900px) {
  .submenu.mega { padding: 0 0 8px 12px; }
  .mega-col { display: flex; flex-direction: column; margin-bottom: 10px; }
  .mega-col a { display: block; padding: 8px 0; color: var(--ink); font-size: .9rem; }
  .mega-title { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin: 8px 0 2px; }
}

/* Link cards: only the headline underlines on hover; equal heights; the arrow sits at the bottom */
a.card, a.card:hover, a.card:focus { text-decoration: none; color: inherit; }
a.card *, a.card:hover * { text-decoration: none; }
a.card:hover h3, a.card:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.card h3 { color: var(--ink); transition: color .2s; }
a.card:hover h3 { color: var(--brand-ink); }
.grid > a.card { display: flex; flex-direction: column; height: 100%; }
a.card .link-arrow { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--brand-ink); }
a.card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; text-align: left; hyphens: manual; }
a.card h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.sol-card-media { transition: none; }
a.card:hover { border-color: var(--brand); }

/* Case studies: the solution explained, from our solution pages */
.about-solution { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); }

/* All-solutions link at the top of menus */
.submenu > li:first-child > a[href$="index.html"] { font-weight: 700; color: var(--brand-ink); }

.source-note { font-size: .82rem; color: var(--muted, #6b7280); margin-top: 28px; text-align: left !important; }

/* ===== Navbar v3: clean bar, chevrons, active underline, panel dropdowns with descriptions ===== */
.menu > li > a { position: relative; }
.menu .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .55; transition: transform .2s; }
.menu > li > a:hover, .menu > li > a[aria-current="page"] { background: transparent; color: var(--brand-ink); text-decoration: none; }
.menu > li:not(.nav-cta) > a[aria-current="page"]::before { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.submenu.mega { border-radius: 14px; box-shadow: 0 24px 48px rgba(16,19,26,.14); border: 1px solid var(--line); }
.mi { display: block; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink); text-decoration: none !important; }
.mi b { display: block; font-size: .86rem; font-weight: 600; line-height: 1.3; }
.mi span { display: block; font-size: .76rem; line-height: 1.4; color: var(--muted, #6b7280); margin-top: 2px; }
.mi:hover { background: var(--bg-soft); }
.mi:hover b { color: var(--brand-ink); }
@media (min-width: 901px) {
  .has-sub:hover > a::after, .has-sub:focus-within > a::after { transform: translateY(0) rotate(225deg); }
  .menu > li.has-mega:has(.mega-sol), .menu > li.has-mega:has(.mega-trn), .menu > li.has-mega:has(.mega-co) { position: relative; }
  .mega-sol { left: 0; right: auto; width: 360px; grid-template-columns: 1fr; }
  .mega-trn { left: 0; right: auto; width: min(640px, 92vw); grid-template-columns: 1.15fr 1fr; }
  .submenu.mega.mega-co { left: auto; right: 0; width: min(520px, 90vw); grid-template-columns: 1fr 1fr; }
  .submenu.mega.mega-sol, .submenu.mega.mega-trn, .submenu.mega.mega-ind { right: auto; }
  .mega-col .mi + .mega-all, .mega-col .mega-all { margin-top: 8px !important; }
}
@media (max-width: 900px) {
  .menu .has-sub > a { display: flex; justify-content: space-between; align-items: center; }
  .menu .has-sub > a::after { width: 8px; height: 8px; margin-left: 12px; }
  .menu .has-sub.open > a::after { transform: translateY(2px) rotate(225deg); }
  .menu .has-sub.open > a { color: var(--brand-ink); }
  .mi { margin: 0; padding: 8px 0; }
  .mi span { display: none; }
  .submenu.mega { box-shadow: none; border: 0; border-radius: 0; }
}

/* ===== Mobile menu alignment (phones and tablets) ===== */
@media (max-width: 900px) {
  /* items line up with the logo; chevrons line up with the close button */
  .menu { padding: 8px 24px 32px; }
  .menu > li > a, .menu > li.has-sub > a { display: block; position: relative; padding: 15px 28px 15px 0; font-size: 1rem; font-weight: 600; }
  .menu .has-sub > a::after { position: absolute; right: 6px; top: 50%; margin: -6px 0 0; }
  .menu .has-sub.open > a::after { margin-top: -2px; }
  .menu .nl { display: inline !important; }                       /* full labels, one line, no gap */
  /* open panel: one indent, even rhythm, no repeated heading */
  .submenu.mega { padding: 2px 0 14px 14px; margin-left: 2px; border-left: 2px solid var(--line); }
  .mega-sol .mega-title, .mega-trn .mega-col:first-child .mega-title { display: none; }
  .mega-col { margin: 0; }
  .mega-col + .mega-col { margin-top: 10px; }
  .mega-title { margin: 10px 0 4px; }
  .mi, .mega-col > a { display: block; padding: 9px 0; margin: 0; font-size: .95rem; font-weight: 500; color: var(--ink); border-radius: 0; }
  .mi b { font-weight: 500; font-size: .95rem; }
  .mi:hover, .mega-col > a:hover { background: none; color: var(--brand-ink); }
  .mega-all { font-weight: 700 !important; color: var(--brand-ink) !important; margin-top: 4px !important; }
  .menu .nav-cta { margin: 20px 0 0; }
  .menu .nav-cta a { padding: 14px 18px; text-align: center; border-radius: 10px; }
  /* the WhatsApp bubble hides while the menu is open, so it never covers "Book a Visit" */
  body:has(.site-header.nav-open) .wa-float { display: none; }
}
@media (max-width: 600px) {
  .menu { padding-left: 16px; padding-right: 16px; }
}

/* ===== Footer on phones: company block on top, link groups as tidy collapsible rows, one left edge ===== */
@media (max-width: 600px) {
  .site-footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid > div:first-child { padding-bottom: 24px; }
  .footer-grid > div:first-child p { max-width: 34em; }
  .site-footer .f-logo img { height: 44px; }
  .footer-grid > div:not(:first-child) { border-top: 1px solid rgba(255,255,255,.1); }
  .footer-grid > div:last-child { border-bottom: 0; }
  .site-footer h4 { margin: 0; padding: 16px 0; font-size: .8rem; }
  .site-footer.footer-acc .footer-grid > div:not(:first-child) h4 { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
  .site-footer.footer-acc .footer-grid > div:not(:first-child) h4::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid #aab2c5; border-bottom: 1.5px solid #aab2c5; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .site-footer.footer-acc .footer-grid > div.open h4::after { transform: translateY(2px) rotate(225deg); }
  .site-footer.footer-acc .footer-grid > div:not(:first-child):not(.open) ul { display: none; }
  .site-footer ul { padding-bottom: 14px; }
  .site-footer li { margin: 0; }
  .site-footer li a { display: block; padding: 7px 0; font-size: .92rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 0; padding-top: 20px; text-align: left !important; }
  .footer-bottom > * { text-align: left !important; }
}

/* ===== Home page alignment on phones ===== */
@media (max-width: 600px) {
  /* short display text reads left-aligned (justify leaves wide gaps on a narrow screen); long article text stays justified */
  .hero-text p, .hero-text .lead, .pano-content p, .scale-show .scale-title, .scale-show .lead, .hb-lead, .section-head p, .client-panel > p, .cc-slide > p, .press-card .press-sum { text-align: left !important; hyphens: manual; }
  .section-head.center p, .section-head.center .lead { text-align: center !important; }
  .scale-show .scale-title { word-spacing: normal; }
  /* certifications sit in two columns, matching the stats grid below */
  .trust-certs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .trust-certs li { align-items: flex-start; }
  .trust-certs img { width: 34px; height: 34px; }
  .trust-stats { gap: 20px 16px; }
  /* HoloBox: no line through the intro text; finishes in an even 2 x 2 grid */
  .hb-section { background: url("../assets/img/holobox/hb-floor.svg") center bottom / 100% auto no-repeat, var(--hb-mist) !important; }
  .hb-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hb-swatch { justify-content: center; }
  .hb-ind { padding: 12px 14px; gap: 12px; }
  .hb-inds { gap: 10px; }
}

/* Buttons styled as ghost links: no browser-default white background (the Share button on show pages) */
button.btn { font: inherit; cursor: pointer; }
button.btn-ghost-light { background: transparent; }
button.btn-ghost-light:hover { background: rgba(255,255,255,.12); }

/* ===== All pages on phones: long text reads left-aligned (justify leaves wide word gaps in a narrow column) ===== */
@media (max-width: 600px) {
  p, li, .checks li, .prose p, .prose li, .used-for, .card p, .lead, blockquote { text-align: left !important; hyphens: manual; -webkit-hyphens: manual; }
  .section-head.center p, .section-head.center .lead, .center p { text-align: center !important; }
  .prose h1, .prose h2, .prose h3 { text-align: left; }
}

/* Section-link strips (e.g. Media page) scroll sideways on phones: fade the right edge so it reads as scrollable */
@media (max-width: 600px) {
  .jump .wrap { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 40px; }
}

/* ===== Article images: never taller than the screen; centred on a soft panel (all sizes) ===== */
.prose-fig { display: flex; justify-content: center; align-items: center; background: var(--bg-soft); }
.prose-fig img { width: auto; max-width: 100%; height: auto; max-height: min(460px, 70vh); object-fit: contain; }

/* ===== Footer on tablets: brand on top, link groups in an even grid ===== */
@media (min-width: 601px) and (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 821px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* Experience Centre dropdown */
@media (min-width: 901px) {
  .menu > li.has-mega:has(.mega-ec) { position: relative; }
  .submenu.mega.mega-ec { left: 0; right: auto; width: min(600px, 92vw); grid-template-columns: 1fr 1fr; }
}

/* Desktop navbar: labels and arrows stay on one line; slightly tighter spacing now that seven items have dropdowns */
@media (min-width: 901px) {
  .menu > li > a { white-space: nowrap; }
  .menu .nav-cta a { white-space: nowrap; }
}
@media (min-width: 1241px) and (max-width: 1440px) {
  .menu > li > a { padding: 10px 9px; font-size: .84rem; }
  .menu .has-sub > a::after { margin-left: 5px; }
}

/* hero hotspots fade while behind the headline (desktop) */
.hotspot{transition:opacity .35s ease}
.hotspot.is-behind{opacity:0;pointer-events:none}
/* work-at-scale logo tile: the logo fills the tile */
.scale-show .scale-biglogo img{width:100%!important;height:auto!important;max-height:100%!important;object-fit:contain}
/* no sidebar on content pages: the text uses the full width */
.case-body{grid-template-columns:minmax(0,1fr)!important}
.full-case-title{margin-top:8px}
.full-case-link{margin:18px 0 36px}
/* case studies and exhibition case studies use the full content width */
.case-body .prose, #our-work-at-show .prose{max-width:none}
.case-body .prose-fig img{max-height:min(560px,72vh)}
.prose h4{margin-top:1.2em;font-size:1rem;font-weight:700}
.prose .full-case-title{font-size:clamp(1.25rem,2vw,1.6rem);margin:12px 0 18px;line-height:1.3}
