/* Self-hosted fonts */
@font-face{font-family:'Open Sans';font-weight:400;font-display:swap;src:url(../fonts/open-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Open Sans';font-weight:600;font-display:swap;src:url(../fonts/open-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Open Sans';font-weight:700;font-display:swap;src:url(../fonts/open-sans-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Open Sans';font-weight:800;font-display:swap;src:url(../fonts/open-sans-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Archivo';font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(../fonts/archivo-latin-standard-normal.woff2) format('woff2')}

/* Xellr Metrology Solutions — site styles (Xellr design system)
   Layout: 1312px container, 8px spacing rhythm, alternating white / light-gray / navy bands */
:root {
  --xellr-primary-blue: #2B7A9B;
  --xellr-bright-cyan: #1B9CCA;
  --xellr-dark-navy: #1B3A47;
  --xellr-light-gray: #F5F5F5;
  --xellr-medium-gray: #999999;
  --xellr-dark-charcoal: #333333;
  --white: #FFFFFF;
  --line: #E3E8EA;
  --navy-line: rgba(255, 255, 255, .16);
  --font-family: 'Open Sans', 'Roboto', 'Segoe UI', sans-serif;
  --radius: 12px;
  --container: 1312px;
  --gutter: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-family); font-size: 16px; line-height: 1.6; color: var(--xellr-dark-charcoal); background: var(--white); }
img, video { max-width: 100%; display: block; }
a { color: var(--xellr-primary-blue); text-decoration: none; }
a:hover { color: var(--xellr-dark-navy); }
:focus-visible { outline: 3px solid var(--xellr-bright-cyan); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; text-wrap: balance; }
p, ul, ol { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.section { padding-block: 96px; }
.section--gray { background: var(--xellr-light-gray); }
.section--navy { background: var(--xellr-dark-navy); color: var(--white); }
.section--blue { background: var(--xellr-primary-blue); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }

.accent-line { width: 64px; height: 5px; background: var(--xellr-primary-blue); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--xellr-bright-cyan); }
.h1 { font-size: 48px; color: var(--xellr-primary-blue); }
.h2 { font-size: 36px; color: var(--xellr-primary-blue); }
.h3 { font-size: 22px; color: var(--xellr-dark-navy); }
.h4 { font-size: 18px; color: var(--xellr-dark-navy); }
.tagline { font-size: 18px; font-weight: 600; color: var(--xellr-dark-navy); }
.label { font-size: 14px; font-weight: 700; color: var(--xellr-primary-blue); letter-spacing: .02em; }
.lead { font-size: 18px; max-width: 600px; }
.small { font-size: 14px; }
.note { font-size: 14px; font-style: italic; }
.section--navy .h2, .section--navy .h3, .section--navy .h4,
.section--blue .h2, .section--blue .h3 { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 16px; font-family: inherit; border: 2px solid var(--xellr-primary-blue); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--xellr-primary-blue); color: var(--white); }
.btn--primary:hover { background: var(--xellr-dark-navy); border-color: var(--xellr-dark-navy); color: var(--white); }
.btn--outline { background: transparent; color: var(--xellr-primary-blue); }
.btn--outline:hover { background: var(--xellr-light-gray); }
.btn--white { background: var(--white); color: var(--xellr-primary-blue); border-color: var(--white); }
.btn--white:hover { background: var(--xellr-light-gray); border-color: var(--xellr-light-gray); color: var(--xellr-dark-navy); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.link-arrow { font-weight: 700; font-size: 14px; color: var(--xellr-primary-blue); }

/* Header + nav */
.site-header { background: var(--xellr-primary-blue); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.site-header .container { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; background: var(--white); border-radius: 8px; padding: 6px 12px; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--white); font-weight: 600; padding-block: 6px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--white); color: var(--white); }
.nav .btn--white, .nav .btn--white:hover { color: var(--xellr-primary-blue); border-bottom-width: 2px; border-bottom-color: var(--white); padding-block: 10px; min-height: 44px; }
.nav-item { position: relative; }
.nav-item > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown { position: absolute; top: calc(100% + 12px); left: -24px; min-width: 320px; background: var(--white); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(27,58,71,.18); padding: 8px; display: none; flex-direction: column; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: flex; }
.nav .dropdown a { color: var(--xellr-dark-charcoal); border: 0; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.nav .dropdown a:hover, .nav .dropdown a[aria-current="page"] { background: var(--xellr-light-gray); color: var(--xellr-primary-blue); }
.menu-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 28px; height: 28px; stroke: var(--white); }

/* Home hero with live scan */
.hero-scan { background: var(--xellr-dark-navy); color: var(--white); overflow: hidden; }
.hero-scan .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 72px; }
.hero-scan h1 { font-size: 52px; line-height: 1.12; color: var(--white); }
.hero-scan .lead { color: var(--white); }
.hero-scan .tagline { color: var(--white); }
.scan-stage { position: relative; height: 520px; border-radius: var(--radius); border: 1px solid var(--navy-line); background: radial-gradient(circle at 50% 45%, rgba(27,156,202,.10), transparent 65%); }
.scan-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.readout { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 14px; color: var(--white); font-variant-numeric: tabular-nums; }
.readout span b { color: var(--xellr-bright-cyan); font-weight: 600; margin-right: 6px; }
.readout-tag { position: absolute; left: 16px; top: 16px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--xellr-bright-cyan); }

/* Platform strip */
.platforms { border-bottom: 1px solid var(--line); }
.platforms .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 24px; }
.platforms-label { font-size: 14px; font-weight: 700; color: var(--xellr-dark-navy); }
.platforms ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.platforms li { font-weight: 700; font-size: 16px; color: var(--xellr-primary-blue); letter-spacing: .03em; }

/* Page hero (inner pages) */
.page-hero { background: var(--xellr-light-gray); padding-block: 64px; }
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.breadcrumb { font-size: 14px; }
.breadcrumb a { color: var(--xellr-dark-charcoal); text-decoration: underline; text-underline-offset: 3px; }

/* Photos and designed stand-ins */
.photo { border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; align-items: center; justify-content: center; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--contain img { object-fit: contain; padding: 16px; }
.photo--feature { height: 380px; }
.photo--tall { height: 460px; }
.photo--bordered { border: 1px solid var(--line); }
.visual { height: 380px; border-radius: var(--radius); background: var(--xellr-dark-navy); color: var(--xellr-bright-cyan); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 24px; text-align: center; position: relative; overflow: hidden; }
.visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 32px 32px; opacity: .5; }
.visual-icon { width: 120px; height: 120px; position: relative; }
.visual-label { position: relative; color: var(--white); font-weight: 700; letter-spacing: .04em; font-size: 14px; }
.img-slot { background: var(--xellr-light-gray); border: 2px dashed var(--xellr-medium-gray); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; padding: 16px; min-height: 180px; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--xellr-light-gray); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card--white { background: var(--white); padding: 32px; }
.card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.card .photo { height: 200px; }
.card .link-arrow, .card .btn-row { margin-top: auto; }

.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--xellr-dark-charcoal); transition: border-color .15s, transform .15s; min-width: 0; }
.section--gray .svc-card { border-color: transparent; }
.svc-card:hover { border-color: var(--xellr-primary-blue); color: var(--xellr-dark-charcoal); transform: translateY(-2px); }
.svc-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--xellr-light-gray); color: var(--xellr-primary-blue); display: inline-flex; align-items: center; justify-content: center; }
.section--gray .svc-icon { background: var(--white); }
.svc-icon .icon { width: 34px; height: 34px; }
.svc-title { font-size: 20px; font-weight: 700; color: var(--xellr-dark-navy); line-height: 1.3; }
.svc-text { font-size: 15px; }
.svc-card .link-arrow { margin-top: auto; padding-top: 8px; }
@media (prefers-reduced-motion: reduce) { .svc-card:hover { transform: none; } }

/* What's included */
.inc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px 48px; }
.inc { display: flex; gap: 16px; align-items: flex-start; }
.inc > div { display: flex; flex-direction: column; gap: 4px; }
.inc-check { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--xellr-primary-blue); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.inc-check .icon { width: 18px; height: 18px; stroke-width: 4; }

/* Process steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; counter-reset: s; }
.step { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.section:not(.section--gray) .step { background: var(--xellr-light-gray); }
.step-num { font-size: 28px; font-weight: 800; color: var(--xellr-primary-blue); line-height: 1; }
.step-title { font-size: 18px; font-weight: 700; color: var(--xellr-dark-navy); }

/* Feature rows */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.feature + .feature { margin-top: 80px; }
.feature ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.feature--reverse > :first-child { order: 2; }
.ticks { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex-shrink: 0; width: 18px; height: 10px; margin-top: 6px; border-left: 3px solid var(--xellr-primary-blue); border-bottom: 3px solid var(--xellr-primary-blue); transform: rotate(-45deg); }
.section--navy .ticks li::before { border-color: var(--xellr-bright-cyan); }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.ind { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); color: var(--white); }
.ind:hover { border-color: var(--xellr-bright-cyan); color: var(--white); }
.ind .icon { width: 40px; height: 40px; color: var(--xellr-bright-cyan); }
.ind span { font-weight: 700; font-size: 16px; line-height: 1.3; }
.ind-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ind-card .icon { width: 48px; height: 48px; color: var(--xellr-primary-blue); }
.ind-card .small strong { color: var(--xellr-dark-navy); }

/* Coverage */
.coverage { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.chips li { border: 1px solid var(--navy-line); border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--white); }
.chips li.chip--hq { background: var(--xellr-bright-cyan); border-color: var(--xellr-bright-cyan); color: var(--xellr-dark-navy); }
.section:not(.section--navy) .chips li { border-color: var(--line); color: var(--xellr-dark-navy); background: var(--white); }

/* Video */
.video-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--xellr-dark-navy); aspect-ratio: 16 / 9; max-width: 100%; }
.video-wrap video, .video-wrap img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.video-wrap.is-playing .video-play { display: none; }
.video-play[disabled] { cursor: default; opacity: .95; }

/* Clients */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.logo-tile { height: 112px; border-radius: var(--radius); border: 2px dashed var(--xellr-medium-gray); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; text-align: center; padding: 12px; }
.case { background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.case dl { margin: 0; display: grid; gap: 12px; }
.case dt { font-size: 14px; font-weight: 700; color: var(--xellr-primary-blue); text-transform: uppercase; letter-spacing: .06em; }
.case dd { margin: 0; }

/* CTA band */
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.cta-band h2 { font-size: 30px; color: var(--white); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; align-items: start; }
.contact-box { background: var(--xellr-dark-navy); color: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.contact-box a { color: var(--white); text-decoration: underline; }
.form { background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; color: var(--xellr-dark-charcoal); }
.form h3 { font-size: 24px; color: var(--xellr-dark-navy); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--xellr-dark-charcoal); border: 1px solid var(--xellr-medium-gray); border-radius: 8px; padding: 10px 12px; min-height: 44px; background: var(--white); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--xellr-primary-blue); outline-offset: 1px; border-color: var(--xellr-primary-blue); }
.form .hp { position: absolute; left: -9999px; }
.notice { border-radius: 8px; padding: 12px 16px; font-weight: 600; background: var(--xellr-light-gray); color: var(--xellr-dark-navy); }

/* Footer */
.site-footer { background: var(--xellr-dark-navy); color: var(--white); font-size: 14px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 0.8fr 1.2fr; gap: 40px; padding-block: 56px; }
.footer-grid .stack { gap: 10px; }
.footer-brand { font-size: 28px; font-weight: 800; }
.footer-head { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--xellr-bright-cyan); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; border-top: 1px solid var(--navy-line); }

/* ---------- Photo-led components ---------- */
.hero-scan { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .34; z-index: -1; animation: slowzoom 28s ease-in-out infinite alternate; }
.hero-scan::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,58,71,.94) 0%, rgba(27,58,71,.72) 55%, rgba(27,58,71,.55) 100%); }
.scan-stage { background: rgba(27,58,71,.62); backdrop-filter: blur(3px); }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }

.photo-hero, .photo-band { position: relative; isolation: isolate; background: var(--xellr-dark-navy); color: var(--white); overflow: hidden; }
.photo-hero { padding-block: 96px; min-height: 440px; display: flex; align-items: center; }
.photo-hero > .container { width: 100%; }
.photo-band { padding-block: 96px; }
.photo-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-hero::after, .photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,58,71,.95) 0%, rgba(27,58,71,.86) 45%, rgba(27,58,71,.45) 100%); }
.photo-band::after { background: rgba(27,58,71,.84); }
.photo-hero .h1, .photo-band .h2 { color: var(--white); }
.photo-hero .h1 { font-size: 52px; max-width: 760px; }
.photo-hero .lead { color: var(--white); max-width: 640px; }
.photo-hero .accent-line, .photo-band .accent-line { background: var(--xellr-bright-cyan); }
.photo-hero .breadcrumb, .photo-hero .breadcrumb a { color: var(--white); }
.photo-band .chips li { border-color: rgba(255,255,255,.4); color: var(--white); background: rgba(27,58,71,.5); }
.photo-band .chips li.chip--hq { background: var(--xellr-bright-cyan); border-color: var(--xellr-bright-cyan); color: var(--xellr-dark-navy); }

.numbers { background: var(--white); border-bottom: 1px solid var(--line); }
.numbers .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 40px; }
.num { display: flex; align-items: center; gap: 16px; }
.num-n { font-size: 64px; font-weight: 800; line-height: 1; color: var(--xellr-primary-blue); font-variant-numeric: tabular-nums; }
.num-t { font-size: 15px; font-weight: 600; color: var(--xellr-dark-navy); line-height: 1.4; }

.svc-card { padding: 0; overflow: hidden; gap: 0; border-color: var(--line); box-shadow: 0 2px 10px rgba(27,58,71,.06); }
.svc-card:hover { box-shadow: 0 14px 34px rgba(27,58,71,.16); transform: translateY(-4px); }
.svc-photo { position: relative; display: block; height: 200px; background: var(--xellr-dark-navy); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-photo img { transform: scale(1.06); }
.svc-photo { overflow: visible; }
.svc-photo img { clip-path: inset(0); }
.svc-card .svc-icon { position: absolute; left: 28px; bottom: -28px; background: var(--white); box-shadow: 0 6px 16px rgba(27,58,71,.18); z-index: 1; }
.svc-body { display: flex; flex-direction: column; gap: 10px; padding: 44px 28px 28px; flex: 1; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 16px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--xellr-dark-navy); color: var(--white); }
.tile--wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,71,0) 35%, rgba(27,58,71,.92) 100%); }
.tile:hover img { transform: scale(1.07); }
.tile:hover { color: var(--white); }
.tile-label { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.tile-label b { font-size: 22px; font-weight: 700; line-height: 1.25; }
.tile-label span { font-size: 14px; }
.tile-label b::after { content: " →"; color: var(--xellr-bright-cyan); }

.ind-card { padding: 0; overflow: hidden; gap: 0; }
.ind-photo { height: 210px; overflow: hidden; }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; }
.ind-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }

.video-band .video-wrap { box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid var(--navy-line); }
.platforms { border-top: 1px solid var(--line); }
.photo img { transition: transform .7s ease; }

/* Scroll reveal (only when JS adds .rv) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .svc-card:hover .svc-photo img, .tile:hover img { transform: none; } }

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --gutter: 24px; }
  .container { padding-inline: max(24px, env(safe-area-inset-left, 0px)); }
  .section { padding-block: 64px; }
  .h1, .hero-scan h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .hero-scan .container { grid-template-columns: minmax(0, 1fr); padding-block: 48px; gap: 32px; }
  .scan-stage { height: 340px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .container { position: relative; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto; background: var(--xellr-primary-blue); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; box-shadow: 0 16px 24px rgba(27,58,71,.25); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.25); text-decoration: underline; text-underline-offset: 6px; }
  .nav-item > a { display: block; }
  .nav-item > a::after { display: none; }
  .dropdown { position: static; display: flex; min-width: 0; background: transparent; box-shadow: none; padding: 0 0 0 16px; border-radius: 0; }
  .dropdown::before { display: none; }
  .nav .dropdown a { color: var(--white); padding: 12px 0; border-radius: 0; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav .dropdown a:hover, .nav .dropdown a[aria-current="page"] { background: transparent; color: var(--white); }
  .nav .btn--white { margin-top: 16px; border: 2px solid var(--white); }
  .feature--reverse > :first-child { order: 0; }
  .photo--feature, .visual, .photo--tall { height: 280px; }
  .numbers .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .num-n { font-size: 48px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .photo-hero { padding-block: 64px; min-height: 0; }
  .photo-hero .h1 { font-size: 36px; }
  .photo-band { padding-block: 64px; }
  .photo-hero::after { background: rgba(27,58,71,.86); }
  .feature + .feature { margin-top: 56px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band h2 { font-size: 24px; }
  .tiles { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 200px; }
  .tile--wide { grid-column: auto; }
  .numbers .container { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card--white, .case { padding: 24px; }
  .form { padding: 24px; }
}

/* ================= Homepage layout options ================= */
body.home { --display: var(--font-family); }
body.home-a { --display: 'Barlow Condensed', 'Arial Narrow', sans-serif; --font-family: 'Barlow', 'Segoe UI', sans-serif; }
body.home-b { --display: 'Archivo', 'Segoe UI', sans-serif; --font-family: 'Archivo', 'Segoe UI', sans-serif; }
body.home-c { --display: 'Chakra Petch', 'Segoe UI', sans-serif; --font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif; }
.home .nav a, .home .eyebrow, .home .btn, .home .hs-name, .home .hrow-name, .home .tile-label b, .home .strips b, .home .reseller { font-family: var(--display); }
.home-a .nav a, .home-a .btn { font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.home-c .nav a, .home-c .btn { letter-spacing: .02em; }

.mix { font-family: var(--display); line-height: .98; color: var(--white); }
.mix .uc { text-transform: uppercase; font-weight: 700; display: block; }
.mix .lc { text-transform: lowercase; font-weight: 300; display: block; }
.mix--dark { color: var(--xellr-dark-navy); }
.mix--dark .uc { color: var(--xellr-primary-blue); }
h2.mix { font-size: 56px; }
h2.mix .uc, h2.mix .lc { display: inline; }
.home-a h1.mix { font-size: 104px; letter-spacing: .005em; }
.home-a h2.mix { font-size: 64px; }
.home-b h1.mix { font-size: 76px; line-height: 1.02; }
.home-b .mix .uc { font-weight: 800; font-stretch: 125%; }
.home-b .mix .lc { font-weight: 300; font-stretch: 100%; }
.home-b h2.mix { font-size: 48px; }
.home-c h1.mix { font-size: 76px; line-height: 1.02; }
.home-c h2.mix { font-size: 48px; }
.home .section-head { margin-bottom: 32px; }
.home .hero-scan .lead, .home .lead { font-size: 20px; max-width: 460px; }

.optbar { background: var(--xellr-light-gray); border-bottom: 1px solid var(--line); font-size: 14px; }
.optbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-block: 10px; }
.optbar a { font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--xellr-primary-blue); }
.optbar a[aria-current="page"] { background: var(--xellr-primary-blue); color: var(--white); }

.reseller { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); font-weight: 400; }
.reseller b { font-weight: 700; letter-spacing: .22em; }
.reseller-mark { width: 18px; height: 20px; background: var(--xellr-bright-cyan); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex-shrink: 0; }
.scan-col { min-width: 0; }

/* service photo tiles (names only) */
.hs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hs { position: relative; display: block; height: 230px; border-radius: var(--radius); overflow: hidden; background: var(--xellr-dark-navy); color: var(--white); }
.hs img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,71,.05) 30%, rgba(27,58,71,.94) 100%); }
.hs:hover img { transform: scale(1.07); }
.hs:hover { color: var(--white); }
.hs-name { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; font-size: 24px; font-weight: 700; line-height: 1.15; }
.home-a .hs-name, .home-a .tile-label b { text-transform: uppercase; letter-spacing: .03em; font-size: 28px; font-weight: 600; }
.hs-name::after { content: " →"; color: var(--xellr-bright-cyan); }

/* Option B: immersive */
.hB { background: var(--xellr-dark-navy); color: var(--white); position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: 64px 56px; }
.hB .hero-bg { opacity: .22; }
.hB::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 60%, rgba(27,58,71,.35), rgba(27,58,71,.96) 75%); }
.hB .container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hB .scan-stage { width: 100%; height: 440px; border: 0; background: transparent; backdrop-filter: none; }
.hB .scan-col { width: 100%; max-width: 1100px; }
.hB .readout { justify-content: center; }
.hB .readout-tag { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.strips { display: flex; height: 440px; }
.strips > a { position: relative; flex: 1; min-width: 0; overflow: hidden; color: var(--white); transition: flex .5s ease; background: var(--xellr-dark-navy); }
.strips > a:hover { flex: 2.2; color: var(--white); }
.strips img { width: 100%; height: 100%; object-fit: cover; }
.strips > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,71,.1) 35%, rgba(27,58,71,.95) 100%); }
.strips b, .strips .hs-name { position: absolute; left: 20px; right: 12px; bottom: 24px; z-index: 1; font-size: 22px; font-weight: 800; line-height: 1.15; }
.strips--short { height: 300px; }
.strips .hs { height: auto; border-radius: 0; }
.center-head { text-align: center; align-items: center; max-width: none; }

/* Option C: mosaic */
.hC { padding-block: 72px; background: var(--white); }
.hC-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.hC .eyebrow { color: var(--xellr-primary-blue); }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 170px; gap: 12px; }
.mosaic-scan { grid-column: 1 / -1; background: var(--xellr-dark-navy); border-radius: var(--radius); padding: 0 0 18px; }
.mosaic-scan .scan-stage { height: 380px; border: 0; background: transparent; backdrop-filter: none; }
.mosaic .tile { height: 170px; }
.mosaic .tile-label { left: 16px; bottom: 12px; }
.mosaic .tile-label b { font-size: 18px; }
.hrows { display: flex; flex-direction: column; }
.hrow { display: flex; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid #D5DCDF; color: var(--xellr-dark-navy); }
.hrow:first-child { border-top: 1px solid #D5DCDF; }
.hrow-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--white); color: var(--xellr-primary-blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hrow-ic .icon { width: 26px; height: 26px; }
.hrow-name { font-size: 22px; font-weight: 600; flex: 1; }
.hrow-go { font-size: 22px; color: var(--xellr-primary-blue); transition: transform .2s; }
.hrow:hover { color: var(--xellr-primary-blue); }
.hrow:hover .hrow-go { transform: translateX(6px); }
.split-2 { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }

@media (max-width: 980px) {
  .home-a h1.mix { font-size: 64px; }
  .home-b h1.mix, .home-c h1.mix { font-size: 44px; }
  h2.mix, .home-a h2.mix, .home-b h2.mix, .home-c h2.mix { font-size: 36px; }
  .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs { height: 180px; }
  .hs-name, .home-a .hs-name { font-size: 19px; left: 16px; right: 12px; bottom: 14px; }
  .strips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  .strips > a, .strips .hs { height: 190px; }
  .strips--short > a { height: 150px; }
  .strips > a:hover { flex: 1; }
  .hB .scan-stage { height: 410px; }
  .hC-grid, .split-2 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hC { padding-block: 48px; }
  .mosaic-scan .scan-stage { height: 300px; }
  .mosaic { grid-template-rows: auto 120px; }
  .mosaic .tile { height: 120px; }
  .reseller { font-size: 13px; letter-spacing: .12em; }
}
@media (max-width: 560px) {
  .hs-grid { grid-template-columns: minmax(0, 1fr); }
  .mosaic .tile-label b { font-size: 14px; }
  .mosaic .tile-label b::after { content: ""; }
}

/* ================= Site-wide type: option B (Archivo), smaller inner-page scale ================= */
:root { --font-family: 'Archivo', 'Segoe UI', sans-serif; --display: 'Archivo', 'Segoe UI', sans-serif; }
.optbar { display: none; }
.mi .lc { font-weight: 300; font-stretch: 100%; color: var(--xellr-dark-navy); }
.mi .uc { font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.section--navy .mi .lc, .section--blue .mi .lc, .photo-hero .mi .lc, .photo-band .mi .lc { color: inherit; }
body.inner { font-size: 15px; }
.inner .h1, .inner .photo-hero .h1 { font-size: 38px; line-height: 1.12; max-width: 820px; }
.inner .h2 { font-size: 28px; line-height: 1.15; }
.inner .h3 { font-size: 18px; }
.inner .h4 { font-size: 16px; }
.inner .lead, .inner .photo-hero .lead { font-size: 16px; max-width: 600px; }
.inner .svc-title { font-size: 17px; font-weight: 700; }
.inner .svc-text, .inner .small { font-size: 14px; }
.inner .step-title { font-size: 16px; }
.inner .step-num { font-size: 24px; }
.inner .cta-band h2 { font-size: 24px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.inner .eyebrow, .inner .label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.inner .btn { font-size: 15px; min-height: 44px; padding: 10px 24px; }
.inner .nav a { font-size: 15px; }
.inner .photo-hero { min-height: 380px; padding-block: 80px; }
.inner .section { padding-block: 80px; }
.inner .tile-label b { font-size: 19px; }
.inner .form h3 { font-size: 20px; }
.inner .footer-brand { font-size: 24px; }
.photo--dark { background: #000; }
.photo--dark.photo--contain img { padding: 0; }
.logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-tile { border: 1px solid var(--line); height: 150px; padding: 28px 32px; }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 980px) {
  .inner .h1, .inner .photo-hero .h1 { font-size: 28px; }
  .inner .h2 { font-size: 23px; }
  .inner .section { padding-block: 56px; }
  .inner .photo-hero { min-height: 0; padding-block: 56px; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-tile { height: 110px; padding: 20px; }
}

/* Compact contact band (half height) and header "Get in touch" */
.cta-band .container { padding-block: 28px; }
.home .contact-strip { padding-block: 48px; }
.home .nav .btn--white { font-size: 15px; }

/* Homepage partners */
.partners { background: var(--white); border-bottom: 1px solid var(--line); }
.partners .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: 56px; }
.home .partners h2.mix { font-size: 40px; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 20px; }
.partner-logos .logo-tile { width: 300px; max-width: 100%; height: 140px; }
@media (max-width: 980px) { .home .partners h2.mix { font-size: 30px; } .partners .container { padding-block: 40px; } .partner-logos .logo-tile { width: 100%; height: 110px; } .partner-logos { width: 100%; } }

/* Partners strip: compact (about a third of the original height) */
.partners { border-top: 1px solid var(--line); }
.partners .container { padding-block: 14px; gap: 12px 32px; }
.home .partners h2.mix { font-size: 22px; }
.partner-logos { gap: 12px; }
.partner-logos .logo-tile { width: 170px; height: 56px; padding: 10px 18px; border-radius: 8px; }
@media (max-width: 980px) { .home .partners h2.mix { font-size: 19px; } .partners .container { padding-block: 14px; } .partner-logos { width: auto; } .partner-logos .logo-tile { width: 140px; height: 50px; } }
