/* =========================================================
   TPS — Technical Product Solutions
   Monochrome system drawn from the TPS block logo.
   Change brand colours in :root only.
   ========================================================= */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #0b0b0c;
  --graphite: #1a1b1d;
  --steel: #6c7075;
  --mist: #a7aaae;
  --line: #e3e2dd;
  --bone: #f4f3ef;
  --paper: #ffffff;
  --orange: #f26a1b;
  --orange-dk: #d4560c;
  --blue: #1f4fd6;
  --blue-dk: #163aa3;
  --navy: #0c1a3d;

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Plex", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Labels: echo the extended "TECHNICAL PRODUCT SOLUTIONS" line ---------- */
.eyebrow { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 10px; background: var(--orange); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; font-family: var(--display); font-stretch: 112%;
  font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--orange);
  background: var(--orange); color: var(--paper); transition: background .2s, color .2s; cursor: pointer; }
.btn:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: var(--paper); }
.btn .arr { transition: transform .2s; } .btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); } .btn-ghost:hover { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.btn-light { background: var(--orange); color: var(--paper); border-color: var(--orange); }
.btn-light:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: var(--paper); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.header-inner { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 168px; }
.brand .logo { width: 100%; height: auto; }
.logo-light { display: none !important; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .has-drop > a { font-family: var(--display); font-stretch: 108%; font-weight: 600; font-size: 14px; text-decoration: none;
  padding: 10px 14px; position: relative; }
.nav > a::after, .has-drop > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav > a::after, .has-drop > a::after { background: var(--orange) !important; }
.nav > a:hover::after, .has-drop:hover > a::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .nav-cta { background: var(--orange); color: var(--paper); margin-left: 10px; padding: 12px 20px; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--orange-dk); }
.has-drop { position: relative; }
.drop { position: absolute; top: 100%; left: 0; min-width: 320px; background: var(--paper); border: 1px solid var(--ink);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; gap: 14px; padding: 11px 12px; text-decoration: none; font-size: 15px; font-weight: 500; }
.drop a span { font-family: var(--display); font-stretch: 125%; font-size: 12px; color: var(--steel); padding-top: 2px; }
.drop a:hover { background: var(--blue); color: var(--paper); } .drop a:hover span { color: #c9d6ff; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 3px; background: var(--ink); margin: 6px 0; transition: .2s; }

/* Dark header (home) */
.dark-head .site-header { background: var(--ink); border-color: #222; color: var(--paper); }
.dark-head .logo-dark { display: none !important; } .dark-head .logo-light { display: block !important; }
.dark-head .nav .nav-cta { background: var(--orange); color: var(--paper); }
.dark-head .burger span { background: var(--paper); }
.dark-head .drop { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: stretch; min-height: calc(92vh - var(--head-h)); max-height: 860px; }
.hero-copy { padding: clamp(56px, 9vh, 110px) 0 56px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 76px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 19px; color: #c9cbce; max-width: 520px; margin: 28px 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; border-left: 1px solid #26272a; }
/* Block composition — the segmented geometry of the TPS mark */
.blocks { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(8, 1fr); gap: 10px; padding: 40px; }
.blocks i { background: var(--paper); opacity: 0; animation: blockIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.blocks i.g { background: var(--blue); } .blocks i.s { background: var(--orange); } .blocks i.d { background: #2a2b2e; }
@keyframes blockIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-stat { position: absolute; left: 40px; bottom: 40px; background: var(--ink); padding: 20px 24px 18px; border: 1px solid #333; }
.hero-stat { border-left: 6px solid var(--orange) !important; }
.hero-stat b { display: block; font-family: var(--display); font-stretch: 125%; font-size: 44px; line-height: 1; }
.hero-stat span { font-size: 13px; color: var(--mist); letter-spacing: .04em; }

/* ---------- Ticker / brand bar ---------- */
.brandbar { border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.brandbar-inner { display: flex; align-items: center; gap: 0; }
.brandbar { border-top: 4px solid var(--orange); }
.brandbar-label { flex: none; font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 26px 28px 26px 0; border-right: 1px solid var(--line); color: var(--steel); }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; padding: 0 28px; }
.marquee-track span { font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 22px; color: var(--ink); white-space: nowrap; opacity: .82; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section.bone { background: var(--bone); }
.section.dark { background: var(--navy); color: var(--paper); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 58px); font-stretch: 108%; }
.sec-head p { color: var(--steel); font-size: 18px; max-width: 480px; margin: 0; justify-self: end; }
.dark .sec-head p { color: var(--mist); }

/* Solutions grid */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.sol { position: relative; padding: 34px 32px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none;
  min-height: 300px; display: flex; flex-direction: column; background: var(--paper); transition: background .25s, color .25s; }
.sol .no { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 13px; color: var(--steel); }
.sol h3 { font-size: 26px; font-stretch: 108%; margin: 52px 0 14px; }
.sol p { color: var(--steel); font-size: 15.5px; margin: 0 0 24px; }
.sol .more { margin-top: auto; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center; }
.sol .more i { width: 34px; height: 34px; border: 2px solid currentColor; display: grid; place-items: center; font-style: normal; transition: .25s; }
.sol::before { content: ""; position: absolute; top: -2px; left: 0; height: 6px; width: 0; background: var(--orange); transition: width .3s; z-index: 2; }
.sol:hover::before { width: 100%; }
.sol:hover { background: var(--blue); color: var(--paper); }
.sol:hover p, .sol:hover .no { color: #d3ddff; }
.sol .no { color: var(--orange) !important; }
.sol:hover .no { color: var(--paper) !important; }
.sol:hover .more i { background: var(--orange); border-color: var(--orange); color: var(--paper); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--orange); }
.stat { padding: 40px 28px 10px 0; border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 28px; }
.stat b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 14px; color: var(--mist); font-size: 15px; max-width: 220px; }

/* Why TPS */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why h2 { font-size: clamp(34px, 4.2vw, 58px); font-stretch: 108%; position: sticky; top: calc(var(--head-h) + 40px); }
.why-list { border-top: 3px solid var(--blue); }
.why-item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.why-item .n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 15px; color: var(--orange); }
.why-item h3 { font-size: 22px; font-stretch: 108%; margin-bottom: 8px; }
.why-item p { color: var(--steel); margin: 0; }

/* Projects */
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.proj { position: relative; display: block; text-decoration: none; color: var(--paper); background: var(--navy); min-height: 420px; overflow: hidden; }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s, opacity .3s; }
.proj:hover img { transform: scale(1.04); opacity: .4; }
.proj-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.proj-body .tag { font-family: var(--display); font-stretch: 125%; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.proj-body h3 { font-size: 28px; font-stretch: 108%; margin: 10px 0 8px; }
.proj-body p { color: #d0d2d4; margin: 0; max-width: 460px; font-size: 15.5px; }
.proj .cover-mark { opacity: .25; }

/* ---------- Covers (blog) — typographic, on-brand ---------- */
.cover { position: relative; aspect-ratio: 16 / 10; background: var(--ink); color: var(--paper); overflow: hidden; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-tag { position: absolute; z-index: 2; left: 18px; top: 18px; background: var(--orange); color: var(--paper); font-family: var(--display); font-stretch: 118%;
  font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }
.cover-mark { position: absolute; right: -6%; bottom: -10%; width: 70%; height: 80%;
  background:
    linear-gradient(var(--paper) 0 0) 0 0 / 46% 22% no-repeat,
    linear-gradient(var(--paper) 0 0) 22% 0 / 10% 72% no-repeat,
    linear-gradient(var(--paper) 0 0) 100% 30% / 46% 22% no-repeat,
    linear-gradient(var(--orange) 0 0) 60% 100% / 30% 22% no-repeat,
    linear-gradient(var(--blue) 0 0) 22% 100% / 10% 22% no-repeat;
  opacity: .9; }
.cover[data-cat="Projects"], .cover[data-cat="Access Control"], .cover[data-cat="Finishes & Design"] { background: var(--navy); }
.cover[data-cat="Access Control"] .cover-mark, .cover[data-cat="Allegion Products"] .cover-mark { transform: scaleX(-1); right: auto; left: -6%; }
.cover[data-cat="Compliance"] .cover-mark, .cover[data-cat="Events"] .cover-mark { transform: rotate(180deg); bottom: auto; top: -10%; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.card { text-decoration: none; display: flex; flex-direction: column; }
.card .cover { transition: transform .3s; }
.card:hover .cover { transform: translateY(-4px); }
.card-meta { display: flex; gap: 12px; font-size: 13px; color: var(--steel); margin: 18px 0 10px; letter-spacing: .02em; }
.card-meta span + span::before { content: "/"; margin-right: 12px; color: var(--line); }
.card h3 { font-size: 22px; font-stretch: 104%; line-height: 1.18; margin-bottom: 10px; }
.card:hover h3 { color: var(--blue); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card p { color: var(--steel); font-size: 15.5px; margin: 0; }
.card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.card.feature .cover { aspect-ratio: 16 / 9; }
.card.feature h3 { font-size: clamp(28px, 3.2vw, 42px); }
.card.feature p { font-size: 17px; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); border-bottom: 4px solid var(--orange); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(42px, 6vw, 84px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; max-width: 960px; }
.page-head .lead { font-size: 19px; color: var(--steel); max-width: 640px; margin: 24px 0 0; }
.crumbs { font-size: 13px; color: var(--steel); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--blue); } .crumbs a:hover { text-decoration: underline; }
.page-head .head-blocks { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); width: 220px; height: 150px; opacity: .9;
  background: linear-gradient(var(--ink) 0 0) 0 0/46% 30% no-repeat, linear-gradient(var(--blue) 0 0) 18% 100%/14% 60% no-repeat,
  linear-gradient(var(--ink) 0 0) 100% 0/46% 30% no-repeat, linear-gradient(var(--orange) 0 0) 100% 100%/46% 30% no-repeat; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 56px; }
.chip { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 13px; text-decoration: none; padding: 9px 16px; border: 1.5px solid var(--ink); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: var(--paper); }

/* ---------- Article ---------- */
.article-head { padding: clamp(56px, 8vw, 104px) 0 40px; }
.article-head h1 { font-size: clamp(36px, 5vw, 64px); font-stretch: 108%; font-weight: 800; letter-spacing: -0.02em; max-width: 980px; line-height: 1.04; }
.article-head .lead { font-size: 20px; color: var(--steel); max-width: 760px; margin-top: 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--steel); }
.article-meta b { color: var(--ink); font-weight: 600; }
.article-cover { margin-bottom: 64px; }
.article-cover .cover { aspect-ratio: 21 / 8; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 72px; justify-content: center; padding-bottom: 96px; }
.article-aside { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; font-size: 14px; }
.article-aside h4 { font-stretch: 125%; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.article-aside a { display: block; text-decoration: none; color: var(--steel); padding: 7px 0 7px 14px; border-left: 2px solid var(--line); line-height: 1.35; }
.article-aside a:hover { color: var(--blue); border-color: var(--orange); }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 30px; font-stretch: 106%; margin: 2em 0 .6em; line-height: 1.15; scroll-margin-top: calc(var(--head-h) + 24px); }
.prose h3 { font-size: 21px; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--steel); }
.prose a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 6px solid var(--orange); font-family: var(--display); font-stretch: 104%; font-size: 24px; line-height: 1.3; font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--display); font-stretch: 110%; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 2px solid var(--blue); color: var(--blue); }
.callout { background: #eef2fd; border-left: 6px solid var(--blue); padding: 24px 28px; margin: 2em 0; font-size: 16.5px; }
.callout strong { font-family: var(--display); font-stretch: 110%; }
.sources { margin-top: 56px; padding-top: 28px; border-top: 3px solid var(--blue); font-size: 14.5px; }
.sources h4 { font-stretch: 125%; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.sources ol { padding-left: 1.2em; color: var(--steel); } .sources a { color: var(--blue); word-break: break-word; }
.article-cta { margin-top: 48px; background: var(--blue); color: var(--paper); padding: 36px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta h3 { font-size: 24px; font-stretch: 108%; max-width: 380px; }

/* ---------- Product page ---------- */
.prod-layout { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }
.prod-aside { position: sticky; top: calc(var(--head-h) + 32px); border: 2px solid var(--ink); border-top: 6px solid var(--orange); padding: 30px; }
.prod-aside h3 { font-size: 20px; font-stretch: 108%; margin-bottom: 14px; }
.prod-aside ul { list-style: none; padding: 0; margin: 0 0 24px; }
.prod-aside li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; justify-content: space-between; gap: 10px; }
.prod-aside .btn { width: 100%; justify-content: center; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 3px solid var(--blue); margin: 40px 0; }
.feature-grid div { padding: 26px 26px 22px 0; border-bottom: 1px solid var(--line); }
.feature-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-grid div:nth-child(even) { padding-left: 26px; }
.feature-grid h4 { font-size: 18px; font-stretch: 106%; margin-bottom: 8px; }
.feature-grid p { color: var(--steel); font-size: 15.5px; margin: 0; }
.prod-nav { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.prod-nav a { padding: 22px 16px; text-decoration: none; border-right: 1px solid var(--line); font-family: var(--display); font-stretch: 106%; font-weight: 600; font-size: 14px; line-height: 1.25; }
.prod-nav a span { display: block; font-stretch: 125%; font-size: 11px; color: var(--steel); margin-bottom: 8px; }
.prod-nav a:hover { background: var(--blue); color: var(--paper); }
.prod-nav a.is-on { background: var(--orange); color: var(--paper); }
.prod-nav a:hover span, .prod-nav a.is-on span { color: rgba(255,255,255,.75); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split h2 { font-size: clamp(30px, 3.6vw, 48px); font-stretch: 108%; }
.split .prose { font-size: 17.5px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--orange); }
.principles div { padding: 34px 30px 10px 0; border-right: 1px solid #2c2d30; }
.principles div + div { padding-left: 30px; } .principles div:last-child { border-right: 0; }
.principles h3 { font-size: 24px; font-stretch: 108%; margin-bottom: 12px; }
.principles p { color: var(--mist); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.contact-info dl { margin: 0; border-top: 3px solid var(--orange); }
.contact-info dt { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); padding-top: 22px; }
.contact-info dd { margin: 6px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 20px; font-family: var(--display); font-stretch: 104%; font-weight: 600; }
.contact-info dd a { text-decoration: none; } .contact-info dd a:hover { text-decoration: underline; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; letter-spacing: .02em; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 15px 16px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 0; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,79,214,.15); }
.form textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 18px 22px; margin-bottom: 26px; border-left: 6px solid var(--blue); background: var(--bone); }
.notice.err { border-color: #b3261e; }
.map { margin-top: 32px; aspect-ratio: 16/10; border: 0; width: 100%; filter: grayscale(1) contrast(1.1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: 96px; }
.footer-cta { position: relative; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: end; padding-bottom: 72px; border-bottom: 1px solid #2c2d30; }
.footer-cta h2 { font-size: clamp(32px, 4vw, 54px); font-stretch: 112%; font-weight: 800; }
.footer-cta::before { content: ""; position: absolute; top: -96px; left: 0; width: 120px; height: 8px; background: linear-gradient(90deg, var(--orange) 0 60%, var(--blue) 60%); }
.footer-cta p { color: var(--mist); margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0; }
.footer-brand img { width: 190px; height: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--mist); font-size: 15px; max-width: 340px; }
.footer-grid h4 { font-stretch: 125%; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.footer-grid a { display: block; text-decoration: none; padding: 5px 0; font-size: 15px; color: #e6e7e8; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; }
.footer-grid .addr { color: var(--mist); font-size: 15px; margin-top: 8px; }
.footer-base { display: flex; justify-content: space-between; padding: 26px 0 34px; border-top: 1px solid #2c2d30; font-size: 13px; color: var(--mist); }
.footer-base a { text-decoration: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; } .blocks i { animation: none; opacity: 1; } .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; background: var(--paper); }
  .dark-head .site-header { background: var(--ink); }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; background: var(--paper); color: var(--ink); flex-direction: column; align-items: stretch;
    padding: 24px var(--gut); gap: 0; transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  .nav.open { transform: none; }
  .nav > a, .has-drop > a { font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); display: block; }
  .nav > a::after, .has-drop > a::after { display: none; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 4px 0 12px; min-width: 0; }
  .nav .nav-cta { margin: 24px 0 0; text-align: center; }
  .dark-head .nav .nav-cta { background: var(--orange); color: var(--paper); }
  .burger { display: block; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-art { height: 340px; border-left: 0; border-top: 1px solid #26272a; margin: 0 calc(var(--gut) * -1); }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-aside { display: none; }
  .prod-layout { grid-template-columns: 1fr; } .prod-aside { position: static; }
  .prod-nav { grid-template-columns: repeat(3, 1fr); }
  .footer-cta { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .sec-head, .why, .split, .contact-grid, .proj-grid { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .why h2 { position: static; }
  .sol-grid, .post-grid { grid-template-columns: 1fr; }
  .card.feature { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; }
  .principles { grid-template-columns: 1fr; } .principles div { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid #2c2d30; padding-bottom: 26px; }
  .feature-grid { grid-template-columns: 1fr; } .feature-grid div { border-right: 0 !important; padding-left: 0 !important; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brandbar-label { display: none; }
  .page-head .head-blocks { display: none; }
  .prod-nav { grid-template-columns: 1fr 1fr; }
  .article-cover .cover { aspect-ratio: 16 / 10; }
}


/* =========================================================
   Brand colour coding
   Allegion = orange (default accent) · FR International / Frascio = blue
   ========================================================= */
.brand-fr { --orange: #1f4fd6; --orange-dk: #163aa3; }
.brand-allegion { --orange: #f26a1b; --orange-dk: #d4560c; }
.brand-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-stretch: 112%; font-weight: 700;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px 5px 8px; color: #fff; background: var(--orange); line-height: 1.2; white-space: nowrap; }
.brand-pill::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.brand-pill.brand-fr { background: #1f4fd6; } .brand-pill.brand-allegion { background: #f26a1b; }
.card-meta .brand-pill { margin-right: 4px; }
.card-meta { align-items: center; flex-wrap: wrap; }
.card-meta .brand-pill + span::before { display: none; }
.article-meta .brand-pill { align-self: center; }
.page-head .eyebrow + .brand-pill { vertical-align: top; margin-left: 10px; position: relative; top: 2px; }
/* FR pages: the block in the header turns blue too */
body.brand-fr .page-head { border-bottom-color: #1f4fd6; }
body.brand-fr .page-head .head-blocks { background: linear-gradient(var(--ink) 0 0) 0 0/46% 30% no-repeat, linear-gradient(#1f4fd6 0 0) 18% 100%/14% 60% no-repeat,
  linear-gradient(var(--ink) 0 0) 100% 0/46% 30% no-repeat, linear-gradient(#1f4fd6 0 0) 100% 100%/46% 30% no-repeat; }
.sol.brand-fr:hover { background: var(--ink); }
.marquee-track span.m-fr { color: #1f4fd6; opacity: 1; }
.marquee-track span.m-al::after { content: ""; display: inline-block; width: 8px; height: 8px; background: #f26a1b; margin-left: 14px; vertical-align: middle; }
.marquee-track span.m-fr::after { content: ""; display: inline-block; width: 8px; height: 8px; background: #1f4fd6; margin-left: 14px; vertical-align: middle; }

/* =========================================================
   Photography
   ========================================================= */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; filter: grayscale(.15) contrast(1.05); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,0) 30%, rgba(11,11,12,.1) 100%); pointer-events: none; }
.hero-art .blocks { z-index: 1; } .hero-art .hero-stat { z-index: 2; }
.blocks i:not(.g):not(.s):not(.d) { background: rgba(244,243,239,.14); border: 1.5px solid rgba(255,255,255,.75); backdrop-filter: blur(3px); }
.blocks i.g { background: rgba(31,79,214,.92); } .blocks i.s { background: rgba(242,106,27,.95); } .blocks i.d { background: rgba(11,11,12,.55); }

.sol { padding-top: 0; }
.sol-img { position: relative; margin: 0 -32px 26px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite); }
.sol-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.sol:hover .sol-img img { transform: scale(1.05); }
.sol-img .brand-pill { position: absolute; left: 16px; top: 16px; }
.sol h3 { margin-top: 18px; }
.sol { min-height: 0; }

.proj img { opacity: .7; } .proj:hover img { opacity: .55; }
.proj-body .brand-pill { margin-bottom: 12px; }
.proj .cover-mark { display: none; }

.cover img { z-index: 1; } .cover .cover-tag { z-index: 3; }
.cover:has(img)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: var(--orange); z-index: 2; }

.prod-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 40px; background: var(--graphite); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img .brand-pill { position: absolute; left: 20px; top: 20px; font-size: 12px; }
.prod-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--orange); }

.photo-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding-bottom: clamp(72px, 10vw, 130px); }
.photo-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-band img:first-child { aspect-ratio: auto; height: 100%; }
@media (max-width: 720px) { .photo-band { grid-template-columns: 1fr; } .photo-band img:first-child { aspect-ratio: 16/10; } }
.proj-body .brand-pill { margin-right: 12px; }

/* =========================================================
   Interactive 3D door hero
   ========================================================= */
.hero-grid { grid-template-columns: 1fr 1.15fr; gap: 24px; }
.door3d { position: relative; border-left: 0; min-height: 620px; margin-right: calc((100vw - min(100vw, var(--wrap))) / -2 - var(--gut));
  background: radial-gradient(60% 55% at 50% 58%, #1b1c20 0%, var(--ink) 70%); overflow: hidden; }
.door3d::after { display: none; }
.door3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .8s; }
.door3d.d3-ready canvas { opacity: 1; }
.door3d.is-dragging canvas { cursor: grabbing; }
.d3-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; display: none; }
.d3-nogl .d3-fallback { display: block; }
.d3-nogl .d3-bar, .d3-nogl .d3-hotspots { display: none; }

.d3-hotspots { position: absolute; inset: 0; pointer-events: none; }
.d3-spot { position: absolute; left: 0; top: 0; pointer-events: auto; background: none; border: 0; padding: 0; cursor: pointer;
  width: 0; height: 0; transition: opacity .25s; }
.d3-spot.is-hidden { opacity: 0; pointer-events: none; }
.d3-dot { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; display: grid; place-items: center;
  font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 13px; color: #fff; background: var(--orange);
  border: 2px solid #fff; box-shadow: 0 4px 16px rgba(0,0,0,.45); transition: transform .2s; }
.d3-dot::before { content: ""; position: absolute; inset: -8px; border: 2px solid var(--orange); opacity: .8; animation: d3pulse 2s ease-out infinite; }
@keyframes d3pulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.d3-spot:hover .d3-dot, .d3-spot.is-on .d3-dot, .d3-spot:focus-visible .d3-dot { transform: scale(1.18); }
.d3-spot.is-on .d3-dot { background: #fff; color: var(--orange); }
.d3-tip { position: absolute; left: 22px; top: -13px; white-space: nowrap; background: rgba(11,11,12,.88); color: #fff; font-family: var(--display);
  font-stretch: 108%; font-weight: 600; font-size: 12.5px; padding: 6px 10px; opacity: 0; transform: translateX(-4px); transition: .2s; pointer-events: none; border-left: 3px solid var(--orange); }
.d3-spot:hover .d3-tip, .d3-spot:focus-visible .d3-tip { opacity: 1; transform: none; }

.d3-card { position: absolute; right: 28px; top: 28px; width: min(340px, calc(100% - 56px)); background: var(--paper); color: var(--ink);
  padding: 26px 26px 24px; border-top: 6px solid var(--orange); box-shadow: 0 24px 60px rgba(0,0,0,.45); animation: d3card .35s cubic-bezier(.2,.7,.2,1); z-index: 3; }
@keyframes d3card { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.d3-card h3 { font-size: 26px; font-stretch: 108%; margin: 14px 0 8px; }
.d3-card p { color: var(--steel); font-size: 15.5px; margin: 0 0 20px; }
.d3-card .btn { padding: 13px 18px; font-size: 12.5px; }
.d3-close { position: absolute; right: 10px; top: 8px; width: 34px; height: 34px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--steel); }
.d3-close:hover { color: var(--ink); }

.d3-bar { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; pointer-events: none; }
.d3-hint { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mist); letter-spacing: .02em; }
.d3-hint i { width: 22px; height: 22px; border: 1.5px solid var(--mist); border-radius: 50%; position: relative; }
.d3-hint i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; background: var(--orange); margin: -3px; border-radius: 50%; animation: d3drag 2.4s ease-in-out infinite; }
@keyframes d3drag { 0%,100% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.d3-controls { display: flex; gap: 8px; pointer-events: auto; }
.d3-controls button { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.5); padding: 11px 16px; cursor: pointer; backdrop-filter: blur(6px); transition: .2s; }
.d3-controls button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.d3-controls button[data-act="open"] { border-color: var(--orange); background: rgba(242,106,27,.18); }
.d3-controls button[data-act="open"]:hover { background: var(--orange); color: #fff; }

@media (max-width: 1080px) {
  .door3d { min-height: 520px; height: 520px; margin: 0 calc(var(--gut) * -1); }
  .d3-card { left: 16px; right: 16px; top: auto; bottom: 84px; width: auto; }
}
@media (max-width: 720px) {
  .door3d { min-height: 480px; height: 480px; }
  .d3-bar { left: 16px; right: 16px; bottom: 16px; }
  .d3-hint { display: none; }
  .d3-controls { width: 100%; } .d3-controls button { flex: 1; }
  .d3-tip { display: none; }
}
.hero-grid { grid-template-columns: 1fr 1.1fr; }
.hero h1 { font-size: clamp(40px, 4.7vw, 70px); }
.door3d canvas { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
@media (max-width: 1080px) { .door3d canvas { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero h1 { font-size: clamp(40px, 9vw, 64px); }
  .door3d { margin: 0 calc(var(--gut) * -1); min-height: 520px; height: 520px; }
}
@media (max-width: 720px) { .door3d { min-height: 470px; height: 470px; } }

/* =========================================================
   Cinematic product hero (replaces 3D door)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hx { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hx-stage { position: relative; height: clamp(600px, calc(100vh - var(--head-h) - 104px), 860px); }
.hx-media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; overflow: hidden; background: #111;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); --px: 0; --py: 0; }
.hx-stage::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: var(--orange);
  clip-path: polygon(46.4% 0, 46.9% 0, 38.4% 100%, 37.9% 100%); transition: background .6s; }
.hx-slide { position: absolute; inset: 0; margin: 0; z-index: 1; clip-path: inset(0 0 0 100%); transition: clip-path 1.15s cubic-bezier(.75,0,.2,1); }
.hx-slide.is-on { clip-path: inset(0 0 0 0); z-index: 3; }
.hx-slide.was-on { clip-path: inset(0 0 0 0); z-index: 2; transition: none; }
.hx-img { position: absolute; inset: -24px; transform: translate(calc(var(--px) * -22px), calc(var(--py) * -14px)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hx-img img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hx-slide.is-on .hx-img img { animation: hxKen var(--hx-dur, 7s) linear forwards; }
.hx.is-paused .hx-slide.is-on .hx-img img { animation-play-state: paused; }
@keyframes hxKen { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hx-shade { position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 30%), linear-gradient(0deg, rgba(11,11,12,.45) 0%, rgba(11,11,12,0) 28%); }

/* Product hotspot */
.hx-spot { position: absolute; z-index: 6; width: 0; height: 0; text-decoration: none; color: var(--ink); opacity: 0; transition: opacity .5s .9s; }
.hx-slide.is-on .hx-spot { opacity: 1; }
.hx-dot { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--orange), 0 6px 20px rgba(0,0,0,.4); }
.hx-dot::before, .hx-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: hxPing 2.2s ease-out infinite; }
.hx-dot::after { animation-delay: 1.1s; }
@keyframes hxPing { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.hx-label { position: absolute; left: 34px; top: -34px; display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,.96); padding: 11px 16px 12px 14px;
  border-left: 4px solid var(--orange); box-shadow: 0 18px 40px rgba(0,0,0,.35); white-space: nowrap; transform: translateX(-8px); opacity: 0; transition: all .45s 1.15s cubic-bezier(.2,.7,.2,1); }
.hx-slide.is-on .hx-label { transform: none; opacity: 1; }
.hx-label::before { content: ""; position: absolute; left: -24px; top: 33px; width: 20px; height: 2px; background: #fff; }
.hx-label small { font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.hx-label b { font-family: var(--display); font-stretch: 106%; font-size: 17px; line-height: 1.15; }
.hx-label i { font-style: normal; font-size: 12.5px; color: var(--steel); }
.hx-spot:hover .hx-label i { color: var(--orange); }
.hx-spot.flip .hx-label { left: auto; right: 34px; border-left: 0; border-right: 4px solid var(--orange); text-align: right; transform: translateX(8px); }
.hx-spot.flip .hx-label::before { left: auto; right: -24px; }
.hx-slide.is-on .hx-spot.flip .hx-label { transform: none; }

/* Copy */
.hx-copy { position: relative; z-index: 7; height: 100%; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.hx-copy > * { pointer-events: auto; }
.hx-copy .eyebrow { margin-bottom: 30px; }
.hx-texts { position: relative; width: min(560px, 44%); min-height: 380px; }
.hx-text { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.hx-text.is-on { pointer-events: auto; }
.hx-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 13px; color: var(--mist); letter-spacing: .04em;
  opacity: 0; transform: translateY(10px); transition: all .5s; }
.hx-text.is-on .hx-kicker { opacity: 1; transform: none; transition-delay: .35s; }
.hx-text h2 { font-size: clamp(46px, 5.6vw, 88px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.03em; line-height: .98; margin: 0; }
.hx-text h2 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hx-text h2 .ln > span { display: block; transform: translateY(110%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.hx-text.is-on h2 .ln > span { transform: none; transition-delay: calc(var(--d) + .45s); }
.hx-text h2 .ln:last-child > span { color: var(--orange); }
.hx-text:not(.is-on) h2 .ln > span { transform: translateY(-110%); transition-duration: .45s; }
.hx-lead { font-size: 18.5px; color: #c9cbce; max-width: 470px; margin: 26px 0 34px; opacity: 0; transform: translateY(14px); transition: all .6s; }
.hx-text.is-on .hx-lead { opacity: 1; transform: none; transition-delay: .75s; }
.hx-text .hero-actions { opacity: 0; transform: translateY(14px); transition: all .6s; }
.hx-text.is-on .hero-actions { opacity: 1; transform: none; transition-delay: .9s; }

/* Counter + arrows */
.hx-count { position: absolute; z-index: 8; right: 40px; top: 36px; font-family: var(--display); font-stretch: 118%; display: flex; align-items: baseline; gap: 8px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hx-count b { font-size: 46px; font-weight: 800; line-height: 1; }
.hx-count span { font-size: 15px; color: rgba(255,255,255,.75); }
.hx-arrows { position: absolute; z-index: 8; right: 40px; bottom: 36px; display: flex; gap: 8px; }
.hx-arrows button { width: 52px; height: 52px; border: 1.5px solid rgba(255,255,255,.7); background: rgba(11,11,12,.35); color: #fff; font-size: 20px; cursor: pointer; backdrop-filter: blur(6px); transition: .2s; }
.hx-arrows button:hover { background: var(--orange); border-color: var(--orange); }

/* Tabs */
.hx-nav { background: #070708; border-top: 1px solid #1f2023; }
.hx-tabs { display: grid; grid-template-columns: repeat(5, 1fr); }
.hx-tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 18px 24px 0; background: none; border: 0; color: var(--mist); text-align: left; cursor: pointer; font: inherit; transition: color .3s; }
.hx-tab + .hx-tab { padding-left: 18px; border-left: 1px solid #1f2023; }
.hx-thumb { flex: none; width: 64px; height: 44px; overflow: hidden; filter: grayscale(1) brightness(.7); transition: filter .4s; }
.hx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hx-tabtxt { font-family: var(--display); font-stretch: 106%; font-weight: 600; font-size: 14px; line-height: 1.25; }
.hx-tabtxt em { display: block; font-style: normal; font-stretch: 125%; font-size: 11px; color: #5c5f63; margin-bottom: 3px; }
.hx-tab:hover, .hx-tab.is-on { color: #fff; }
.hx-tab:hover .hx-thumb, .hx-tab.is-on .hx-thumb { filter: none; }
.hx-tab.is-on .hx-tabtxt em { color: var(--orange); }
.hx-bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: transparent; }
.hx-tab + .hx-tab .hx-bar { left: 0; }
.hx-bar i { display: block; height: 100%; width: 0; background: var(--orange); }
.hx-tab.is-on .hx-bar i { width: 100%; }
.hx-tab.run .hx-bar i { animation: hxBar var(--hx-dur, 7s) linear forwards; }
.hx.is-paused .hx-tab.run .hx-bar i { animation-play-state: paused; }
@keyframes hxBar { from { width: 0; } to { width: 100%; } }

@media (max-width: 1080px) {
  .hx-stage { height: auto; display: flex; flex-direction: column-reverse; }
  .hx-media { position: relative; width: 100%; height: 56vh; min-height: 360px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%); }
  .hx-stage::before { display: none; }
  .hx-copy { height: auto; padding-top: 44px; padding-bottom: 36px; }
  .hx-texts { width: 100%; min-height: 0; display: grid; }
  .hx-text { position: relative; inset: auto; grid-area: 1 / 1; }
  .hx-text:not(.is-on) { visibility: hidden; }
  .hx-count { top: 20px; right: 20px; } .hx-count b { font-size: 34px; }
  .hx-arrows { top: calc(56vh - 72px); bottom: auto; right: 20px; }
  .hx-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0; }
  .hx-tab { flex: 0 0 240px; scroll-snap-align: start; padding-left: 18px; }
  .hx-label b { font-size: 15px; }
}
@media (max-width: 720px) {
  .hx-media { height: 46vh; } .hx-arrows { top: calc(46vh - 68px); }
  .hx-arrows button { width: 44px; height: 44px; }
  .hx-text h2 { font-size: clamp(42px, 12vw, 60px); }
  .hx-lead { font-size: 16.5px; margin: 18px 0 26px; }
  .hx-label { padding: 8px 12px; } .hx-label i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hx-slide.is-on .hx-img img { animation: none; } }
.hx-text h2 { font-size: clamp(44px, 4.5vw, 70px); }
.hx-texts { width: min(520px, 41%); }
.hx-text .hero-actions { align-items: center; gap: 24px; }
.hx-link { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.4); padding: 4px 0; transition: border-color .2s; }
.hx-link:hover { border-color: var(--orange); }
.hx-shade { background: radial-gradient(40% 35% at 100% 0%, rgba(11,11,12,.55), rgba(11,11,12,0) 70%), linear-gradient(90deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 30%), linear-gradient(0deg, rgba(11,11,12,.45) 0%, rgba(11,11,12,0) 28%); }
@media (max-width: 1080px) { .hx-texts { width: 100%; } .hx-text h2 { font-size: clamp(42px, 9vw, 64px); } }
.hx-lead { max-width: 430px; }
@media (max-width: 1080px) {
  .hx-stage { flex-direction: column; }
  .hx-media { order: 1; } .hx-copy { order: 2; }
  .hx-label, .hx-spot.flip .hx-label { left: 0; right: auto; top: 26px; transform: translate(-50%, 6px); border: 0; border-top: 3px solid var(--orange); text-align: center; align-items: center; }
  .hx-slide.is-on .hx-label, .hx-slide.is-on .hx-spot.flip .hx-label { transform: translate(-50%, 0); }
  .hx-label::before { display: none; }
}

/* =========================================================
   Animated technical diagram hero
   ========================================================= */
.tx { background: var(--ink); color: var(--paper); padding: 56px 0 64px; }
.tx-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; align-items: center; }
.tx-copy h1 { font-size: clamp(40px, 4.4vw, 66px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; }
.tx-copy h1 em { font-style: normal; color: var(--orange); }
.tx-copy .lead { font-size: 17.5px; color: #c9cbce; margin: 22px 0 26px; max-width: 470px; }
.tx-steps { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid #23252a; }
.tx-step { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 11px 0 12px; border-bottom: 1px solid #23252a; cursor: pointer; transition: background .3s; }
.tx-step b { font-family: var(--display); font-stretch: 125%; font-size: 12px; color: #5c5f63; padding-top: 3px; transition: color .3s; }
.tx-step span { font-size: 13.5px; color: #7d8086; line-height: 1.4; transition: color .3s; }
.tx-step strong { display: block; font-family: var(--display); font-stretch: 106%; font-size: 15px; color: #a9acb1; margin-bottom: 1px; transition: color .3s; }
.tx-step i { position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--c); }
.tx-step::before { content: ""; position: absolute; left: -14px; top: 14px; width: 4px; height: 0; background: var(--c); transition: height .3s; }
.tx-step.is-on::before { height: calc(100% - 28px); }
.tx-step.is-on b { color: var(--c); }
.tx-step.is-on strong { color: #fff; }
.tx-step.is-on span { color: #c9cbce; }
.tx-step:hover strong { color: #fff; }

.tx-visual { position: relative; border: 1px solid #22365e; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #0b1427; }
.tx-svg { display: block; width: 100%; height: auto; }
.tx-dim { font-family: var(--display); font-size: 12px; letter-spacing: .1em; fill: #7d93bd; }
.tx-mini { font-family: var(--display); font-size: 8.5px; letter-spacing: .18em; fill: #5e78ab; }
.tx-tag .tx-tagbox { transition: fill .35s; }
.tx-tag { opacity: .62; transition: opacity .35s; }
.tx-tag.is-on { opacity: 1; }
.tx-tag.is-on .tx-tagbox { fill: #17284d; }
.tx-tag.is-on .tx-anchor { animation: txPing 1.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes txPing { 0% { stroke-width: 2; } 50% { stroke-width: 6; stroke: rgba(255,255,255,.35); } 100% { stroke-width: 2; } }
.tx-bar { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; pointer-events: none; }
.tx-live { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9fb3d9; }
.tx-live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: txLive 1.6s infinite; }
@keyframes txLive { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.tx-live b { color: #fff; }
.tx-pause { pointer-events: auto; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(11,20,39,.8); border: 1px solid #3a5488; padding: 7px 12px; cursor: pointer; }
.tx-pause:hover { border-color: var(--orange); }
@media (max-width: 1080px) {
  .tx { padding: 40px 0 48px; }
  .tx-grid { grid-template-columns: 1fr; gap: 36px; }
  .tx-visual { order: -1; margin: 0 calc(var(--gut) * -1); border-left: 0; border-right: 0; }
}
@media (max-width: 720px) { .tx-step span { font-size: 13px; } }
.tx { padding: 44px 0 0; }
.tx-grid { grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr); gap: 44px; }
.tx-copy h1 { font-size: clamp(38px, 3.9vw, 60px); }
.tx-copy .lead { margin: 20px 0 30px; }
.tx-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 36px 0 0; border-top: 1px solid #23252a; border-bottom: 0; }
.tx-step { grid-template-columns: 30px 1fr; padding: 18px 16px 20px 0; border-bottom: 0; }
.tx-step + .tx-step { padding-left: 16px; border-left: 1px solid #23252a; }
.tx-step i { top: -1px; bottom: auto; height: 3px; }
.tx-step::before { display: none; }
.tx-step.is-on { background: linear-gradient(180deg, rgba(255,255,255,.04), transparent); }
@media (max-width: 1080px) {
  .tx-grid { grid-template-columns: 1fr; }
  .tx-steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .tx-step { flex: 0 0 230px; scroll-snap-align: start; }
}
/* Technical diagram as a mid-page section */
.tx-mid { padding: clamp(80px, 9vw, 120px) 0 0; position: relative; }
.tx-mid .tx-copy h2 { font-size: clamp(38px, 3.9vw, 60px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; }
.tx-mid .tx-copy h2 em { font-style: normal; color: var(--orange); }
.tx-mid .tx-steps { margin-top: 48px; }

/* =========================================================
   Big 5 Global banner
   ========================================================= */
.b5 { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.b5::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 80%); }
.b5::after { content: ""; position: absolute; width: 760px; height: 760px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(242,106,27,.28), transparent 62%); pointer-events: none; }
.b5-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; overflow: hidden; }
.b5-bg span { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(200px, 30vw, 460px); line-height: .8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.06); margin-right: -3vw; white-space: nowrap; }
.b5-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; min-height: clamp(620px, calc(100vh - var(--head-h) - 60px), 820px); padding-top: 40px; padding-bottom: 40px; }
.b5-copy h1 { font-size: clamp(46px, 5.6vw, 86px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.03em; line-height: .98; }
.b5-copy h1 em { font-style: normal; color: var(--orange); }
.b5-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.b5-meta span { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 14px; border: 1.5px solid rgba(255,255,255,.35); }
.b5-meta .b5-stand { background: var(--orange); border-color: var(--orange); }
.b5-copy .lead { font-size: 18px; color: #c9cbce; max-width: 540px; margin: 24px 0 30px; }
.b5-count { margin-bottom: 34px; }
.b5-count-label { font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.b5.is-live .b5-count-label { color: #4ade80; }
.b5.is-live .b5-count-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; animation: txLive 1.6s infinite; }
.b5-cells { display: flex; gap: 10px; }
.b5-cells div { min-width: 92px; padding: 14px 12px 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--orange); text-align: center; }
.b5-cells b { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.b5-cells b.tick { animation: b5tick .45s cubic-bezier(.2,.8,.2,1); }
@keyframes b5tick { from { transform: translateY(-30%); opacity: .2; } to { transform: none; opacity: 1; } }
.b5-cells span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.b5 .hero-actions { align-items: center; gap: 22px; }

/* Exhibitor badge */
.b5-visual { position: relative; height: 640px; perspective: 1200px; display: flex; justify-content: center; }
.b5-lanyard { position: absolute; top: -60px; left: 50%; width: 46px; height: 150px; margin-left: -23px; background: repeating-linear-gradient(90deg, var(--orange) 0 14px, #d4560c 14px 16px, var(--orange) 16px 30px, #1f4fd6 30px 46px); clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%); transform-origin: top center; animation: b5swing 6s ease-in-out infinite; }
.b5-badge { --rx: 0deg; --ry: 0deg; position: absolute; top: 120px; width: 330px; background: #f6f5f1; color: var(--ink); border-radius: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1); transform-origin: 50% -90px;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); animation: b5swing 6s ease-in-out infinite; transition: transform .4s cubic-bezier(.2,.7,.2,1); overflow: hidden; transform-style: preserve-3d; }
@keyframes b5swing { 0%, 100% { rotate: -3.5deg; } 50% { rotate: 3.5deg; } }
.b5-clip { position: absolute; top: 12px; left: 50%; width: 64px; height: 12px; margin-left: -32px; border-radius: 8px; background: #0b0b0c; box-shadow: inset 0 2px 3px rgba(255,255,255,.2); z-index: 2; }
.b5-badge-top { background: var(--ink); padding: 40px 26px 22px; display: flex; justify-content: space-between; align-items: flex-end; position: relative; }
.b5-badge-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--orange) 0 70%, #1f4fd6 70%); }
.b5-badge-top img { width: 150px; height: auto; }
.b5-badge-top span { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.b5-badge-body { padding: 24px 26px 22px; }
.b5-badge-event { font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: 0 0 8px; }
.b5-badge-name { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 26px; line-height: 1.08; margin: 0 0 6px; }
.b5-badge-role { font-size: 13px; color: var(--steel); margin: 0 0 18px; }
.b5-badge-stand { background: var(--ink); color: #fff; padding: 12px 14px; margin-bottom: 18px; }
.b5-badge-stand small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); margin-bottom: 4px; }
.b5-badge-stand b { font-family: var(--display); font-stretch: 112%; font-size: 18px; }
.b5-badge-foot { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; }
.b5-qr { display: grid; grid-template-columns: repeat(9, 1fr); width: 84px; height: 84px; padding: 4px; background: #fff; border: 1px solid #ddd; }
.b5-qr i.on { background: var(--ink); }
.b5-days { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--steel); font-variant-numeric: tabular-nums; }
.b5-days span { border-bottom: 1px dashed #ddd; padding-bottom: 3px; }
.b5-badge-strip { height: 14px; background: repeating-linear-gradient(90deg, var(--orange) 0 24px, #1f4fd6 24px 48px, var(--ink) 48px 72px); }
.b5-shadow { position: absolute; bottom: 10px; left: 50%; width: 260px; height: 26px; margin-left: -130px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.6), transparent 70%); animation: b5shadow 6s ease-in-out infinite; }
@keyframes b5shadow { 0%, 100% { transform: translateX(-14px) scaleX(.95); } 50% { transform: translateX(14px) scaleX(.95); } }

.b5-ticker { position: relative; z-index: 2; border-top: 1px solid #1f2023; background: #070708; overflow: hidden; }
.b5-ticker-track { display: flex; width: max-content; animation: scroll 36s linear infinite; }
.b5-ticker span { font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #9a9da2; padding: 18px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.b5-ticker span::after { content: ""; width: 8px; height: 8px; background: var(--orange); }

@media (max-width: 1080px) {
  .b5-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; }
  .b5-visual { height: 560px; order: 2; }
  .b5-bg span { font-size: 46vw; }
}
@media (max-width: 720px) {
  .b5-cells div { min-width: 0; flex: 1; padding: 12px 6px 10px; }
  .b5-cells b { font-size: 32px; }
  .b5-badge { width: 290px; }
  .b5-visual { height: 520px; }
  .b5 .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .b5-badge, .b5-lanyard, .b5-shadow, .b5-ticker-track { animation: none; } }
.b5-lanyard { height: 200px; }
.b5-badge { transform-origin: 50% -180px; }
@media (max-width: 720px) {
  .b5-visual { height: 640px; }
  .b5-badge { top: 110px; width: 300px; }
  .b5-badge-top img { width: 118px; }
  .b5-lanyard { top: -40px; height: 170px; }
}

/* ---------- Big 5 v2: "Let's stay connected" + stand render ---------- */
.b5v2 .b5-grid { grid-template-columns: .82fr 1.18fr; gap: 48px; }
.b5v2 .b5-copy h1 { font-family: var(--display); font-stretch: 100%; font-size: clamp(54px, 6.4vw, 104px); font-weight: 900; letter-spacing: -0.03em; line-height: .92; text-transform: uppercase; }
.b5v2 .b5-copy h1 em { color: var(--orange); }
.b5-dot { color: #fff; }
.b5-tag { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: #d8d9db; margin: 22px 0 0; padding-left: 16px; border-left: 3px solid var(--orange); line-height: 1.5; }
.b5-tag b { color: #fff; font-weight: 800; }
.b5v2 .b5-meta { margin-top: 22px; }
.b5v2 .b5-count { margin: 28px 0 30px; }
.b5v2 .b5-cells div { min-width: 80px; }
.b5v2 .b5-cells b { font-size: 38px; }
.b5-partners { display: flex; align-items: center; gap: 18px; margin: 30px 0 0; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.b5-partners i { width: 1px; height: 26px; background: rgba(255,255,255,.3); }
.b5-partners .p-al { color: #f26a1b; text-transform: uppercase; letter-spacing: .08em; }
.b5-partners .p-fr { color: #fff; font-style: italic; }

.b5-stage { position: relative; }
.b5-render { position: relative; border-radius: 6px; overflow: visible; background: linear-gradient(180deg, #747474 0%, #b9b9b9 50%, #f3f2f0 100%); box-shadow: 0 40px 90px rgba(0,0,0,.55); }
.b5-render img { display: block; width: 100%; height: auto; border-radius: 6px; }
.b5-render::after { content: ""; position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.b5-render-tag { position: absolute; left: 16px; top: 16px; background: var(--ink); color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-left: 3px solid var(--orange); }
.b5-stage-hint { margin: 14px 0 0; font-size: 13px; color: var(--mist); text-align: right; }

.b5-hs { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; --hc: #f26a1b; }
.b5-hs.brand-fr { --hc: #1f4fd6; }
.b5-hs-dot { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--hc); color: #fff; font-family: var(--display); font-weight: 800; font-size: 13px; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .25s; }
.b5-hs-dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--hc); animation: hxPing 2.2s ease-out infinite; }
.b5-hs:hover .b5-hs-dot, .b5-hs.is-open .b5-hs-dot { transform: scale(1.15); }
.b5-hs-card { position: absolute; left: 24px; top: -14px; width: 250px; text-align: left; background: rgba(11,11,12,.94); color: #fff; padding: 12px 14px 13px; border-left: 4px solid var(--hc); box-shadow: 0 18px 40px rgba(0,0,0,.45);
  opacity: 0; transform: translateX(-6px); pointer-events: none; transition: opacity .3s, transform .3s; z-index: 3; }
.b5-hs-card b { display: block; font-family: var(--display); font-stretch: 106%; font-size: 15px; margin-bottom: 4px; }
.b5-hs-card small { display: block; font-size: 12.5px; line-height: 1.45; color: #c9cbce; }
.b5-hs.is-open .b5-hs-card { opacity: 1; transform: none; }
.b5-hs.is-open { z-index: 4; }

/* Inside our stand */
.b5-inside { background: #0e0f11; color: #fff; padding: clamp(80px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.b5-inside::before { content: ""; position: absolute; left: -200px; bottom: -200px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(242,106,27,.22), transparent 62%); }
.b5-inside-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.b5-poster { margin: 0; transform: rotate(-2.5deg); box-shadow: 0 50px 100px rgba(0,0,0,.6); transition: transform .5s; }
.b5-poster:hover { transform: rotate(0) scale(1.02); }
.b5-poster img { width: 100%; height: auto; display: block; }
.b5-inside-copy h2 { font-size: clamp(30px, 3.2vw, 46px); font-stretch: 108%; line-height: 1.1; }
.b5-inside-copy .lead { color: #c9cbce; font-size: 17.5px; margin: 20px 0 34px; max-width: 560px; }
.b5-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--orange); margin-bottom: 30px; }
.b5-facts div { padding: 22px 16px 6px 0; }
.b5-facts div + div { padding-left: 16px; border-left: 1px solid #26282c; }
.b5-facts b { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 44px; line-height: 1; }
.b5-facts b small { font-size: 18px; margin-left: 2px; color: var(--orange); }
.b5-facts span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--mist); }
.b5-pillars { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.b5-pillars li { border: 1px solid #2a2c31; padding: 14px; font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.b5-pillars .ic { display: block; color: var(--orange); font-size: 12px; margin-bottom: 6px; letter-spacing: .12em; }

@media (max-width: 1080px) {
  .b5v2 .b5-grid { grid-template-columns: 1fr; }
  .b5-stage { order: 2; }
  .b5-inside-grid { grid-template-columns: 1fr; }
  .b5-poster { max-width: 460px; margin: 0 auto; }
  .b5-facts, .b5-pillars { grid-template-columns: 1fr 1fr; }
  .b5-facts div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  .b5-hs-card { width: 200px; }
  .b5-hs-dot { width: 26px; height: 26px; left: -13px; top: -13px; font-size: 12px; }
  .b5-stage-hint { text-align: left; }
}
.b5-hs.flip .b5-hs-card { left: auto; right: 24px; border-left: 0; border-right: 4px solid var(--hc); transform: translateX(6px); }
.b5-hs.flip.is-open .b5-hs-card { transform: none; }
.b5v2 .b5-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; }
.b5v2 .b5-copy h1 { font-size: clamp(48px, 5.4vw, 86px); }
.b5-render { background: #9a9a9a; }
@media (max-width: 1080px) { .b5v2 .b5-grid { grid-template-columns: 1fr; } }
.b5v2 .b5-copy h1 { font-size: clamp(46px, 4.7vw, 76px); }
.b5-render-tag { top: auto; bottom: 16px; }

/* ===== Video-only hero (Big 5 film) ===== */
.vhero { position: relative; background: #0b0b0c; aspect-ratio: 16 / 9; max-height: calc(100vh - 72px); width: 100%; overflow: hidden; }
.vhero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vhero-toggle { position: absolute; right: 22px; bottom: 26px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(11,11,12,.55); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.vhero-toggle:hover { background: var(--orange); border-color: var(--orange); }
.vhero-toggle span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.vhero-toggle.paused span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
@media (max-width: 900px) { .vhero { max-height: none; } .vhero-toggle { right: 12px; bottom: 14px; width: 36px; height: 36px; } }
.b5-inside-solo { grid-template-columns: 1fr; } .b5-inside-solo .b5-inside-copy { max-width: 980px; }

/* Invitation over the banner video */
.vhero-invite { position: absolute; left: 4.2%; bottom: 7%; z-index: 2; color: #fff; display: flex; flex-direction: column; gap: .35em; padding-left: 1em; border-left: .28em solid var(--orange); text-shadow: 0 2px 18px rgba(0,0,0,.55); max-width: 62%; }
.vhero-invite strong { font-family: var(--font-display, "Archivo", sans-serif); font-weight: 800; font-stretch: 112%; font-size: clamp(14px, 2.3vw, 40px); line-height: 1.05; letter-spacing: -.01em; }
.vhero-invite span { font-size: clamp(11px, 1.25vw, 22px); color: #e3e6ea; letter-spacing: .02em; }
@media (max-width: 700px) {
  .vhero { aspect-ratio: auto; max-height: none; }
  .vhero-video { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
  .vhero-invite { position: static; max-width: none; margin: 16px 20px 18px; padding-left: 14px; border-left-width: 4px; text-shadow: none; }
  .vhero-invite strong { font-size: 19px; } .vhero-invite span { font-size: 14px; }
  .vhero-toggle { bottom: auto; top: 10px; }
}

/* Content review, 21 Nov: introduction block, brand lines, solution-page blocks */
.intro-block { background: var(--paper, #fff); padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.intro-block h1 { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.intro-block .lead { margin: 0 0 26px; }
.intro-block .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sol-brands { font-size: 13px; color: var(--steel, #59606d); margin-top: -4px; }
.sol-brands b { font-family: Archivo, sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink, #0b0b0c); margin-right: 6px; }
.prod-h { font-size: clamp(20px, 2vw, 26px); margin: 40px 0 16px; }
.tx-caption { margin: 14px 0 0; font-size: 13px; color: #9fb0cc; letter-spacing: .02em; }
.send-h { font-size: 20px; margin: 0 0 12px; }
.send-list { margin: 0 0 30px; padding-left: 18px; color: var(--steel, #59606d); line-height: 1.7; }
.m-fr { } 
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; align-items: start; } }

/* Offices section on the Contact page */
.offices .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office { background: #fff; border: 1px solid var(--line, #e2e5ea); border-top: 5px solid var(--orange, #f26a1b); padding: 28px 28px 26px; display: flex; flex-direction: column; min-height: 320px; }
.office-fr { border-top-color: var(--blue, #1f4fd6); }
.office-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.office-country { font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel, #59606d); }
.office-tag { font-family: Archivo, sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; background: var(--orange, #f26a1b); color: #fff; white-space: nowrap; }
.office-fr .office-tag { background: var(--blue, #1f4fd6); }
.office h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1; margin: 0 0 18px; letter-spacing: -.02em; }
.office-name { font-weight: 600; color: var(--ink, #0b0b0c); margin: 0 0 6px; }
.office-addr { color: var(--steel, #59606d); line-height: 1.65; margin: 0 0 16px; }
.office-contact { margin: 0 0 18px; line-height: 1.7; }
.office-contact a { color: var(--ink, #0b0b0c); text-decoration: none; font-weight: 600; }
.office-contact a:hover { color: var(--orange, #f26a1b); }
.office-link { margin-top: auto; align-self: flex-start; font-family: Archivo, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink, #0b0b0c); text-decoration: none; border-bottom: 2px solid var(--orange, #f26a1b); padding-bottom: 3px; }
.office-fr .office-link { border-color: var(--blue, #1f4fd6); }
.office-link:hover { color: var(--orange, #f26a1b); }
.office-soon { background: transparent; border: 1px dashed #b9bfc9; border-top: 5px solid #b9bfc9; }
.office-soon .office-tag { background: var(--ink, #0b0b0c); }
.office-soon h3 { color: #8a93a3; }
@media (max-width: 980px) { .office-grid { grid-template-columns: 1fr; } .office { min-height: 0; } }

/* Partner logos band on the homepage */
.partners { background: var(--bone, #f3f2ef); padding: clamp(28px, 4vw, 48px) 0; }
.partners-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap; }
.partners-label { font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel, #59606d); }
.partners-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; flex: 1; min-width: min(100%, 520px); }
.partner { background: #fff; border: 1px solid var(--line, #e2e5ea); border-left: 5px solid var(--orange, #f26a1b); padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 132px; }
.partner-fr { border-left-color: var(--blue, #1f4fd6); }
.partner img { max-height: 58px; max-width: 260px; width: auto; height: auto; object-fit: contain; align-self: flex-start; }
.partner-name { font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.01em; line-height: 1; color: var(--orange, #f26a1b); text-transform: uppercase; }
.partner-fr .partner-name { color: var(--blue, #1f4fd6); text-transform: none; font-style: italic; }
.partner-text { font-size: 14px; color: var(--steel, #59606d); }
@media (max-width: 700px) { .partners-logos { grid-template-columns: 1fr; } }
.partner { min-height: 168px; }
.partner-al img { max-height: 118px; }
.partner-fr img { max-height: 46px; max-width: 300px; }

/* Partner logos: six-up row (replaces the two-card version above) */
.partners { background: #fff; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line, #e2e5ea); }
.partners-label { display: block; margin-bottom: 22px; }
.partners-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; flex: none; min-width: 0; border: 1px solid var(--line, #e2e5ea); }
.partner, .partner-fr { background: #fff; border: 0; border-right: 1px solid var(--line, #e2e5ea); padding: 22px 18px; min-height: 128px; display: flex; align-items: center; justify-content: center; }
.partner:last-child { border-right: 0; }
.partner img, .partner-al img, .partner-fr img { max-width: 100%; max-height: 42px; width: auto; height: auto; align-self: center; object-fit: contain; }
.partner-1 img { max-height: 88px; }
.partner-2 img { max-height: 30px; }
.partner-3 img, .partner-6 img { max-height: 36px; }
@media (max-width: 1000px) { .partners-logos { grid-template-columns: repeat(3, 1fr); } .partner { border-bottom: 1px solid var(--line, #e2e5ea); } .partner:nth-child(3n) { border-right: 0; } .partner:nth-last-child(-n+3) { border-bottom: 0; } }
@media (max-width: 560px) { .partners-logos { grid-template-columns: repeat(2, 1fr); } .partner:nth-child(3n) { border-right: 1px solid var(--line, #e2e5ea); } .partner:nth-child(2n) { border-right: 0; } .partner:nth-last-child(-n+3) { border-bottom: 1px solid var(--line, #e2e5ea); } .partner:nth-last-child(-n+2) { border-bottom: 0; } }

/* Stand number bar on the banner */
.vhero-invite .vhero-stand { align-self: flex-start; background: var(--orange, #f26a1b); color: #fff; font-family: Archivo, sans-serif; font-weight: 800; font-stretch: 112%; font-size: clamp(14px, 1.9vw, 32px); letter-spacing: .02em; padding: .32em .7em; margin-top: .25em; text-shadow: none; }
@media (max-width: 700px) { .vhero-invite .vhero-stand { font-size: 17px; } }
.events-all { margin: 36px 0 0; }
