/* ==========================================================================
   Vogue Software Solutions - public site design system
   Editorial / brutalist-corporate: warm canvas, flat white cards, black blocks,
   oversized condensed display type, mono labels. No shadows - depth comes from contrast.
   ========================================================================== */

:root {
  --canvas: #e6e6e2;
  --paper: #ffffff;
  --mist: #f2f2ef;
  --ink: #0b0b0b;
  --graphite: #1c1c1c;
  --slate: #444444;
  --smoke: #6e6e6a;
  --ash: #c8c8c3;
  --mint: #d1ffca;
  --volt: #fff100;
  --brand: #1769d6;
  --sky: #cfe3ff;
  --lilac: #dcd5ff;
  --peach: #ffdac6;
  --butter: #fff0a6;
  --danger: #b3261e;
  --ok: #1b7a3a;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 44px;
  --r-pill: 999px;
  --maxw: 1240px;
  --wide: 1680px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 79px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint); color: var(--ink); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: .9; letter-spacing: -.02em; }
.display-xl { font-size: clamp(60px, 11.5vw, 158px); }
.display-l { font-size: clamp(46px, 7.6vw, 104px); }
.display-m { font-size: clamp(36px, 5.2vw, 70px); }
.display-s { font-size: clamp(28px, 3.4vw, 44px); }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.h4 { font-size: 17px; line-height: 1.3; font-weight: 600; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--slate); max-width: 62ch; }
.muted { color: var(--smoke); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.on-ink .eyebrow, .eyebrow.on-ink { color: #cfcfca; }
.on-ink .eyebrow::before { background: var(--mint); }
.balance { text-wrap: balance; }

.prose { max-width: 72ch; font-size: 17px; line-height: 1.75; color: #1d1d1d; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 38px; line-height: 1; letter-spacing: -.01em; margin-top: 1.8em; }
.prose h3 { font-size: 22px; font-weight: 650; margin-top: 1.6em; line-height: 1.3; }
.prose h4 { font-size: 17px; font-weight: 650; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 4px solid var(--ink); padding: 4px 0 4px 20px; font-size: 20px; line-height: 1.5; }
.prose img { border-radius: var(--r-md); margin-block: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ash); vertical-align: top; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--mist); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--graphite); color: #f2f2ef; padding: 18px; border-radius: var(--r-md); overflow: auto; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--wide) + var(--gutter) * 2); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--flush-top { padding-top: 0; }
.section--ink { background: var(--ink); color: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.section--ink.full { border-radius: 0; }
.section--white { background: var(--paper); border-radius: var(--r-xl); margin-inline: clamp(8px, 1.6vw, 20px); }
.on-ink { color: #fff; }
.on-ink .muted, .on-ink .lead { color: #bdbdb8; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head > div { max-width: 780px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p.lead { margin-top: 20px; }
.grid { display: grid; gap: clamp(14px, 1.8vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.flex { display: flex; } .wrap { flex-wrap: wrap; } .center { align-items: center; } .between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.hide-mobile { display: initial; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .split, .split--wide-left { grid-template-columns: 1fr; } .hide-mobile { display: none; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; background: #262626; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--slate); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--mint { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.btn--mint:hover { background: #bff5b6; }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: var(--mint); border-color: var(--mint); }
.btn--ghost-light { background: transparent; color: #fff; border-color: #6a6a66; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon { transform: translate(3px, -3px); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--mint); color: var(--ink); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; }
.tag--line { background: transparent; border: 1px solid var(--ash); color: var(--slate); }
.tag--ink { background: var(--ink); color: #fff; }
.tag--volt { background: var(--volt); }
.tag--white { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* accent system: each product/service sets --accent */
.acc-mint { --accent: var(--mint); } .acc-sky { --accent: var(--sky); } .acc-lilac { --accent: var(--lilac); }
.acc-peach { --accent: var(--peach); } .acc-butter { --accent: var(--butter); } .acc-ink { --accent: #1f1f1f; --accent-ink: #fff; }
[class*="acc-"] { --accent-ink: var(--ink); }
.acc-ink { --accent-ink: #fff; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #fff; font-size: 13.5px; text-align: center; padding: 9px var(--gutter); }
.announce a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Header is ALWAYS visible (sticky, never hides). It has no surface of its own: site.js sets --nav-bg to the colour of the section
   underneath, so it reads as part of that section and the colour glides between sections. Logo top-left, menu as a centred pill. */
@property --nav-bg { syntax: "<color>"; inherits: true; initial-value: #e6e6e2; }
@property --nav-pill { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
.site-header { position: sticky; top: 0; z-index: 100; --nav-bg: var(--canvas); background-color: var(--nav-bg); color: var(--ink); transition: --nav-bg .6s var(--ease), --nav-pill .6s var(--ease), color .35s ease; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; z-index: 0; pointer-events: none; background: linear-gradient(var(--nav-bg), transparent); }
.site-header__bar { position: relative; z-index: 1; max-width: calc(var(--wide) + var(--gutter) * 2); margin-inline: auto; padding: 12px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; justify-self: start; position: relative; z-index: 3; }
.brand img { height: 46px; width: auto; }
.brand__img--dark { display: none; }
.brand__text { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 2px; justify-self: center; background: var(--nav-pill, #fff); border-radius: var(--r-pill); padding: 6px; }
/* over a black section: light logo, dark translucent pill with muted links, yellow button (like the reference). The homepage starts black, so it is dark before the script runs. */
.page-dark-hero .site-header:not(.is-themed) { --nav-bg: var(--ink); }
.site-header.is-dark, .page-dark-hero .site-header:not(.is-themed) { color: #fff; --nav-pill: rgba(255, 255, 255, .1); }
.site-header.is-dark .brand__img--light, .page-dark-hero .site-header:not(.is-themed) .brand__img--light { display: none; }
.site-header.is-dark .brand__img--dark, .page-dark-hero .site-header:not(.is-themed) .brand__img--dark { display: block; }
.site-header.is-dark .header-actions .btn, .page-dark-hero .site-header:not(.is-themed) .header-actions .btn { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.site-header.is-dark .header-actions .btn:hover, .page-dark-hero .site-header:not(.is-themed) .header-actions .btn:hover { background: #ffe94d; border-color: #ffe94d; }
.site-header.is-dark .nav-toggle, .page-dark-hero .site-header:not(.is-themed) .nav-toggle { background: #fff; color: var(--ink); }
@media (min-width: 1021px) {
  .site-header.is-dark .nav__link, .page-dark-hero .site-header:not(.is-themed) .nav__link { color: #9b9b97; }
  .site-header.is-dark .nav__link:hover, .site-header.is-dark .nav__item:hover > .nav__link, .site-header.is-dark .nav__item:focus-within > .nav__link,
  .page-dark-hero .site-header:not(.is-themed) .nav__link:hover, .page-dark-hero .site-header:not(.is-themed) .nav__item:hover > .nav__link { background: rgba(255, 255, 255, .1); color: #fff; }
  .site-header.is-dark .nav__link.is-active, .page-dark-hero .site-header:not(.is-themed) .nav__link.is-active { background: transparent; color: #fff; font-weight: 700; }
}
body.nav-open .site-header .brand__img--light { display: block; }
body.nav-open .site-header .brand__img--dark { display: none; }
body.nav-open .site-header .nav-toggle { background: var(--ink); color: #fff; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 550; color: var(--slate); background: transparent; border: 0; transition: background .2s, color .2s; }
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__item:hover > .nav__link { background: var(--mist); color: var(--ink); text-decoration: none; }
.nav__link.is-active { background: var(--mint); color: var(--ink); }
.nav__link .icon { transition: transform .25s var(--ease); }
.nav__item.is-open > .nav__link .icon, .nav__item:hover > .nav__link .icon { transform: rotate(180deg); }
.mega { color: var(--ink); position: absolute; top: calc(100% + 16px); left: 50%; transform: translate(-50%, 8px); width: min(640px, 92vw); background: #fff; border-radius: var(--r-lg); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; border: 1px solid var(--ash); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }  /* hover bridge so the menu does not close while moving the pointer */
.mega--narrow { width: 300px; grid-template-columns: 1fr; }
.nav__item.is-open > .mega, .nav__item:hover > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__link { display: flex; gap: 12px; padding: 12px; border-radius: var(--r-md); align-items: flex-start; }
.mega__link:hover { background: var(--mist); text-decoration: none; }
.mega__icon { width: 38px; height: 38px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; flex-shrink: 0; }
.mega__title, .mega__hint { display: block; }
.mega__title { font-weight: 650; font-size: 14.5px; line-height: 1.3; }
.mega__hint { font-size: 12.5px; color: var(--smoke); line-height: 1.4; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; justify-self: end; position: relative; z-index: 3; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; place-items: center; }
.mobile-cta { display: none; }
@media (max-width: 1020px) {
  .site-header__bar { grid-template-columns: auto 1fr; }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .nav { position: fixed; inset: 0; justify-self: stretch; z-index: 2; background: var(--canvas); border-radius: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 104px var(--gutter) 40px; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
  body.nav-open .nav { transform: none; visibility: visible; }
  .nav__link { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 38px; line-height: 1.1; padding: 12px 0; width: 100%; justify-content: space-between; background: none !important; border-radius: 0; }
  .nav__link.is-active { color: var(--brand); }
  .mega, .mega--narrow { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; display: none; border: 0; background: transparent; padding: 0 0 12px; grid-template-columns: 1fr; }
  .mega::before { display: none; }
  .nav__item.is-open > .mega { display: grid; transform: none; }
  .mobile-cta { display: block; margin-top: 24px; }
}
body.nav-open { overflow: hidden; }

/* ---------- Hero: the company vision on black (type only: no animation model, nothing to download) ---------- */
.hero2 { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(8px, 2vw, 24px) 0 clamp(32px, 5vw, 64px); }
.hero2__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: min(900px, calc(100vh - var(--header-h, 79px) - 16px)); }
@keyframes lineUp { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
.hv__copy { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(24px, 4vw, 56px); }
.hv__eyebrow { color: #c9c9c4; animation: fadeUp .9s var(--ease) .05s both; }
.hv__eyebrow::before { background: var(--volt); }
.hv__title { margin: clamp(18px, 2.2vw, 36px) 0 0; font-size: clamp(42px, 10vw, 190px); line-height: .86; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.hv__title .hw { display: inline-block; overflow: hidden; vertical-align: top; padding: .07em 0 .1em; margin: -.07em 0 -.1em; }
.hv__title .hw > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; animation-delay: calc(.12s + var(--i) * .09s); }
.hv__mark { background: var(--volt); color: var(--ink); border-radius: .1em; padding: 0 .12em; }
@media (max-width: 1020px), (hover: none) {
  .hero2__grid { min-height: min(68vh, 580px); }
  .hv__copy { padding-block: clamp(28px, 8vw, 64px); }
  .hv__title { margin-top: 20px; font-size: clamp(40px, 12.4vw, 96px); }
  .hv__title .hw { overflow: visible; padding: 0; margin: 0; }
  .hv__title .hw > span { animation: fadeUp .7s var(--ease) both; animation-delay: calc(var(--i) * .03s); }
}

/* shared by the error-page illustrations (apps/core/errart.py) */
.tower { width: 100%; height: 100%; overflow: visible; display: block; }
.tower .fl, .tower .fr, .tower .ft { stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.tone-light .fl { fill: #ecece8; } .tone-light .fr { fill: #d3d3ce; } .tone-light .ft { fill: #fff; }
.tone-dark .fl { fill: #292929; } .tone-dark .fr { fill: #171717; } .tone-dark .ft { fill: #3d3d3d; }
.tw-grid line { stroke: #c9c9c4; stroke-width: 1; }
.tower .win { fill: var(--mint); stroke: var(--ink); stroke-width: 1; }
.tower .win.off { fill: #2b2b2b; }
.tone-dark .win.off { fill: #4a4a4a; }
@keyframes twFade { from { opacity: 0; } }
@keyframes twRise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  .hv__eyebrow, .hv__title .hw > span { animation: none !important; }
}

/* ---------- Customer logo carousel: logos sit straight on the page (no tiles, boxes, borders or fills) ---------- */
.lc { --per: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(6px, 1.6vw, 22px); }
@media (min-width: 700px) { .lc { --per: 3; } }
@media (min-width: 1100px) { .lc { --per: 4; } }
.lc__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.lc__viewport::-webkit-scrollbar { display: none; }
.lc__viewport:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 6px; }
.lc__track { display: flex; }
.lc__item { flex: 0 0 calc(100% / var(--per)); scroll-snap-align: start; display: grid; place-items: center; height: clamp(108px, 10vw, 132px); padding: 0 clamp(14px, 2.2vw, 34px); }
.lc__item img { width: auto; height: auto; max-width: 100%; max-height: clamp(72px, 6.8vw, 96px); object-fit: contain; }
.lc__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ash); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.lc__btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.lc.is-static .lc__btn { display: none; }
.lc.is-static { grid-template-columns: minmax(0, 1fr); }
.lc.is-static .lc__track { justify-content: center; }
@media (max-width: 560px) { .lc__btn { width: 40px; height: 40px; } }

/* card flags live in the text area, never on top of artwork */

/* ---------- Cards ---------- */
.card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 32px); transition: transform .35s var(--ease), background .25s, color .25s; position: relative; }
.card--mist { background: var(--mist); }
.card--ink { background: var(--ink); color: #fff; }
.card--accent { background: var(--accent, var(--mint)); color: var(--accent-ink, var(--ink)); }
.card--link { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.card--link:hover { text-decoration: none; }
.card--hover-ink:hover { background: var(--ink); color: #fff; }
.card--hover-ink:hover .muted, .card--hover-ink:hover p { color: #c9c9c4; }
.card--hover-ink:hover .icon-badge { background: var(--mint); color: var(--ink); }
.icon-badge { width: 52px; height: 52px; border-radius: 16px; background: var(--mist); display: grid; place-items: center; flex-shrink: 0; transition: background .25s, color .25s; }
.card--accent .icon-badge, .icon-badge--accent { background: rgba(255,255,255,.65); }
.card--ink .icon-badge { background: #262626; color: var(--mint); }
.card__index { font-family: var(--font-mono); font-size: 12px; color: var(--smoke); letter-spacing: .06em; }
.card__arrow { margin-top: auto; display: inline-flex; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; align-items: center; justify-content: center; transition: background .25s, color .25s, transform .3s var(--ease); }
.card--link:hover .card__arrow { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--ink.card--link:hover .card__arrow, .card--hover-ink:hover .card__arrow { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.card h3 { font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
.card p { color: var(--slate); font-size: 15.5px; }
.card--ink p, .card--accent p { color: inherit; opacity: .82; }

.stat { padding: clamp(18px, 2vw, 28px); background: var(--paper); border-radius: var(--r-lg); }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(54px, 7vw, 96px); line-height: .9; letter-spacing: -.02em; }
.stat__value--long { font-size: clamp(34px, 3.6vw, 52px); line-height: 1; padding-block: .2em; white-space: nowrap; }  /* words such as "Since 2019" stay on one line instead of towering over the other figures */
.stat__label { margin-top: 10px; font-weight: 650; }
.stat__desc { color: var(--smoke); font-size: 14.5px; margin-top: 4px; }



/* numbered rows (why us, process) */
.rows > * { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; padding: 28px 0; border-top: 1px solid #3a3a37; align-items: start; }
.rows > *:last-child { border-bottom: 1px solid #3a3a37; }
.rows .num { font-family: var(--font-mono); color: var(--mint); font-size: 14px; padding-top: 6px; }
.rows h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(28px, 3.4vw, 46px); line-height: 1; font-weight: 700; letter-spacing: -.01em; }
.rows p { color: #bdbdb8; }
@media (max-width: 760px) { .rows > * { grid-template-columns: 52px 1fr; } .rows p { grid-column: 2; } }

/* tech groups */
.tech-group { background: var(--paper); border-radius: var(--r-lg); padding: 24px; }
.tech-group .mono { margin-bottom: 16px; display: block; color: var(--smoke); }
.tech-chip { display: inline-flex; padding: 8px 14px; border-radius: var(--r-pill); background: var(--mist); font-weight: 550; font-size: 14px; transition: background .2s; }
.tech-chip:hover { background: var(--mint); }

.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.industry { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 14px; background: var(--paper); border-radius: var(--r-pill); font-weight: 600; transition: background .25s, transform .3s var(--ease); }
.industry:hover { background: var(--mint); }
.industry .icon-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--mist); }

/* CTA band */
.cta-band { background: var(--mint); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.cta-band--ink { background: var(--ink); color: #fff; }
.cta-band--ink .lead { color: #c9c9c4; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

.profile-card { background: var(--graphite); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.profile-card__doc { width: 120px; aspect-ratio: 3/4; border-radius: 14px; background: #fff; color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-size: 34px; font-weight: 700; text-transform: uppercase; position: relative; }
.profile-card__doc::after { content: "PDF"; position: absolute; top: 10px; right: 10px; font-family: var(--font-mono); font-size: 10px; background: var(--ink); color: #fff; padding: 3px 7px; border-radius: 6px; }
.profile-card p { color: #c9c9c4; }
@media (max-width: 800px) { .profile-card { grid-template-columns: 1fr; } .profile-card__doc { width: 84px; } }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); }
.page-head .display { margin: 20px 0 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--smoke); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; align-items: center; }
.filter-pill { padding: 9px 16px; border-radius: var(--r-pill); background: transparent; border: 1.5px solid var(--ash); font-size: 14px; font-weight: 550; color: var(--slate); transition: all .2s; }
.filter-pill:hover { text-decoration: none; border-color: var(--ink); color: var(--ink); }
.filter-pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-form { display: flex; gap: 8px; margin-left: auto; }
.search-form .input { width: 240px; border-radius: var(--r-pill); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--paper); font-weight: 600; padding-inline: 14px; }
.pagination .current { background: var(--ink); color: #fff; }
.pagination a:hover { text-decoration: none; background: var(--mint); }
.empty { background: var(--paper); border-radius: var(--r-lg); padding: 56px 24px; text-align: center; color: var(--slate); }

/* ---------- Product / service detail ---------- */
.pd-hero { background: var(--accent, var(--mint)); color: var(--accent-ink, var(--ink)); border-radius: var(--r-xl); margin: 6px clamp(8px, 1.6vw, 20px) 0; padding: clamp(36px, 5vw, 56px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.pd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.pd-hero h1 { margin: 20px 0 22px; font-size: clamp(46px, 7.2vw, 108px); }
.pd-hero .lead { color: inherit; opacity: .85; }
.pd-hero__art { border-radius: var(--r-xl); overflow: hidden; background: rgba(255,255,255,.55); aspect-ratio: 4 / 3; }
.pd-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.acc-ink .pd-hero .btn--ghost { color: #fff; border-color: #777; }
.acc-ink .pd-hero .btn--ghost:hover { background: #fff; color: var(--ink); }
.pd-hero .btn:not(.btn--ghost):not(.btn--white) { background: var(--ink); color: #fff; }
.acc-ink .pd-hero .btn:not(.btn--ghost) { background: #fff; color: var(--ink); border-color: #fff; }
.pd-hero .crumbs { color: inherit; opacity: .7; }
.pd-hero .crumbs a:hover, .pd-hero .crumbs span[aria-current] { color: inherit; opacity: 1; }
@media (max-width: 880px) { .pd-hero__grid { grid-template-columns: 1fr; } }
/* the bar is a direct child of the page wrapper so it can stay pinned under the header for the whole page */
.subnav-bar { position: sticky; top: calc(var(--header-h) + 6px); z-index: 50; pointer-events: none; margin-top: 28px; }
.subnav { margin: 0; }
.subnav__inner { pointer-events: auto; }
.subnav__inner { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--r-pill); padding: 6px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; max-width: fit-content; margin-inline: auto; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 550; color: var(--slate); white-space: nowrap; }
.subnav a:hover { text-decoration: none; background: var(--mist); }
.subnav a.is-active { background: var(--ink); color: #fff; }
.anchor { scroll-margin-top: 150px; }
.glance { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.glance li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #333; font-size: 15.5px; }
.glance li:first-child { border-top: 0; }
.glance .icon { color: var(--mint); flex-shrink: 0; margin-top: 3px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature .card__index { margin-bottom: 4px; }
.benefit { padding: 28px 0; border-top: 1px solid #3a3a37; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; }
.benefit:last-child { border-bottom: 1px solid #3a3a37; }
.benefit h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: 1; font-weight: 700; }
.benefit .metric { font-family: var(--font-mono); font-size: 12px; color: var(--mint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.benefit p { color: #bdbdb8; }
@media (max-width: 760px) { .benefit { grid-template-columns: 1fr; gap: 8px; } }

.layers { display: grid; gap: 10px; position: relative; }
.layer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: center; padding: 22px 26px; border-radius: var(--r-lg); background: var(--paper); position: relative; }
.layer:nth-child(odd) { background: var(--mist); }
.layer__no { font-family: var(--font-mono); font-size: 12px; color: var(--smoke); margin-bottom: 6px; display: block; }
.layer h3 { font-size: 19px; font-weight: 650; }
.layer p { font-size: 14.5px; color: var(--slate); margin-top: 4px; }
.layer + .layer::before { content: ""; position: absolute; top: -10px; left: 50%; width: 2px; height: 10px; background: var(--ink); }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; gap: 14px; } }
.diagram { border-radius: var(--r-lg); overflow: hidden; background: var(--paper); margin-bottom: 18px; }

.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding-bottom: 28px; position: relative; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--ash); }
.step__num { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.step h3 { font-size: 20px; font-weight: 650; padding-top: 6px; }
.step p { color: var(--slate); margin-top: 6px; max-width: 60ch; }
.steps--h { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.steps--h .step { grid-template-columns: 1fr; padding: 22px; background: var(--paper); border-radius: var(--r-lg); }
.steps--h .step::before { display: none; }
.steps--h .step__num { width: 48px; height: 48px; font-size: 22px; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.shot { grid-column: span 6; background: var(--paper); border-radius: var(--r-lg); padding: 14px; cursor: zoom-in; border: 0; text-align: left; transition: transform .3s var(--ease); }
.shot:hover { opacity: .92; }
.shot:first-child { grid-column: span 12; }
.shot img { border-radius: 14px; width: 100%; }
.shot figcaption, .shot span.cap { display: block; padding: 12px 6px 4px; font-size: 14px; color: var(--slate); }
@media (max-width: 720px) { .shot, .shot:first-child { grid-column: span 12; } }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.82); }
dialog.lightbox img { border-radius: 20px; width: 100%; max-height: 82vh; object-fit: contain; background: #fff; }
dialog.lightbox p { color: #fff; text-align: center; padding-top: 12px; }
.lightbox__close { position: absolute; right: 8px; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.spec-table th { width: 34%; font-weight: 600; color: var(--slate); }
.spec-table caption { text-align: left; padding: 18px 24px 8px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--smoke); background: var(--paper); caption-side: top; }
.spec-group + .spec-group { margin-top: 16px; }
.cap { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--ash); }
.cap:first-child { border-top: 0; }
.cap h4 { font-size: 17px; font-weight: 650; }
.cap p { color: var(--slate); font-size: 15px; margin-top: 4px; }

.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--paper); border-radius: var(--r-md); padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 650; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 26px 24px; color: var(--slate); max-width: 72ch; }
.note { font-size: 13.5px; color: var(--smoke); display: flex; gap: 10px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.6); }
.preview-bar { background: var(--volt); color: var(--ink); text-align: center; padding: 8px 16px; font-weight: 650; font-size: 14px; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 48px); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field .req { color: var(--danger); }
.input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--mist); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.input:hover { background: #ecece9; }
.input:focus { outline: none; border-color: var(--ink); background: #fff; }
textarea.input { resize: vertical; min-height: 130px; }
.input-select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b0b0b' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input-file { padding: 12px; background: var(--mist); }
.input-file::file-selector-button { border: 0; background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; margin-right: 14px; font-weight: 600; cursor: pointer; }
.field-error, .errorlist { color: var(--danger); font-size: 14px; font-weight: 550; list-style: none; padding: 0; margin: 0; }
.input.has-error, .field.has-error .input { border-color: var(--danger); }
.help { color: var(--smoke); font-size: 13.5px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--slate); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.alert { padding: 14px 18px; border-radius: 14px; font-weight: 550; margin-bottom: 18px; }
.alert--error { background: #fde8e6; color: var(--danger); }
.alert--ok { background: var(--mint); color: #0a3d1d; }
.type-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--ash); }
.info-list li:first-child { border-top: 0; }
.info-list .icon-badge { background: var(--paper); }

/* ---------- Job rows ---------- */
.job { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 30px; background: var(--paper); border-radius: var(--r-lg); transition: background .25s, color .25s, transform .3s var(--ease); }
.job:hover { text-decoration: none; background: var(--ink); color: #fff; }
.job:hover .muted { color: #bdbdb8; }
.job h3 { font-size: 21px; font-weight: 650; }
.job + .job { margin-top: 10px; }
@media (max-width: 760px) { .job { grid-template-columns: 1fr; gap: 12px; } }
.req-list li { display: flex; gap: 12px; padding: 10px 0; }
.req-list .icon { color: var(--ok); flex-shrink: 0; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: clamp(48px, 8vw, 110px); overflow: hidden; position: relative; }
.footer-cta { padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: end; border-bottom: 1px solid #2b2b29; }
.footer-cta p { color: #bdbdb8; max-width: 46ch; }
.footer-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .footer-cta { grid-template-columns: 1fr; } .footer-cta .actions { justify-content: flex-start; } }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(40px, 6vw, 72px); }
.footer-grid h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8f8f8a; font-weight: 500; margin-bottom: 18px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { color: #e6e6e2; }
.footer-grid a:hover { color: var(--mint); text-decoration: none; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: #a9a9a4; max-width: 38ch; font-size: 15px; }
.footer-contact { margin-top: 22px; display: grid; gap: 10px; font-size: 14.5px; color: #d6d6d1; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--mint); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3a3a37; display: grid; place-items: center; transition: background .2s, color .2s; }
.socials a:hover { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.footer-bar { border-top: 1px solid #2b2b29; padding-block: 22px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13.5px; color: #8f8f8a; }
.footer-bar ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bar a:hover { color: #fff; }
.footer-word { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(90px, 21vw, 330px); line-height: .78; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px #2e2e2b; text-align: center; padding-bottom: 8px; user-select: none; white-space: nowrap; overflow: hidden; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 180; max-width: 400px; background: var(--ink); color: #fff; border-radius: 22px; padding: 20px 22px; font-size: 14px; display: none; animation: fadeUp .5s var(--ease) both; }
.cookie.is-visible { display: block; }
.cookie p { color: #d0d0cb; margin-bottom: 14px; }
.cookie a { text-decoration: underline; }
.cookie .actions { display: flex; gap: 8px; }

/* ---------- Scroll reveal ---------- */

/* ---------- Vexa: AI assistant (no flipping, no spinning: a plain button that opens a chat popup) ---------- */
.vexa { position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 170; font-family: var(--font-body); }
.vexa__fab { position: relative; display: block; width: 66px; height: 66px; padding: 3px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 0 0 1px rgba(11,11,11,.12), 0 10px 26px rgba(0,0,0,.18); transition: box-shadow .25s ease; }
.vexa__fab:hover { box-shadow: 0 0 0 1px rgba(11,11,11,.22), 0 14px 32px rgba(0,0,0,.24); }
.vexa__fab-in { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #fff; }
.vexa__fab-in img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; display: block; }
.vexa__fab-in .icon { margin: 16px; }
.vexa__fab .dot { position: absolute; right: 2px; bottom: 4px; width: 15px; height: 15px; border-radius: 50%; background: #3ddc6a; border: 3px solid #fff; }
.vexa__label { position: absolute; right: 80px; bottom: 14px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 16px 16px 4px 16px; font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 0 0 1px rgba(11,11,11,.08), 0 8px 22px rgba(0,0,0,.12); animation: fadeUp .6s var(--ease) 1.5s both, fadeOut .6s ease 10s forwards; }
.vexa.is-open .vexa__label { display: none; }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

/* the popup is always rendered; opening/closing is a short fade, so both directions behave the same */
.vexa__panel { position: absolute; right: 0; bottom: 80px; width: min(420px, calc(100vw - 28px)); height: min(680px, calc(100vh - 124px)); background: #fff; border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(11,11,11,.1); box-shadow: 0 30px 80px rgba(0,0,0,.26), 0 4px 16px rgba(0,0,0,.08);
  transform-origin: bottom right; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .25s var(--ease), visibility 0s linear .25s, width .3s var(--ease), height .3s var(--ease); }
.vexa.is-open .vexa__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.vexa.is-wide .vexa__panel { width: min(780px, calc(100vw - 40px)); height: min(840px, calc(100vh - 110px)); }

.vexa__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; color: #fff; background: #101010; overflow: hidden; }
.vexa__avatar { position: relative; width: 48px; height: 48px; border-radius: 50%; padding: 2.5px; flex-shrink: 0; background: var(--mint); }
.vexa__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center; background: #fff; display: block; }
.vexa__avatar .icon { margin: 11px; }
.vexa__avatar::after { content: ""; position: absolute; right: -1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc6a; border: 2.5px solid #101010; }
.vexa__id { min-width: 0; position: relative; z-index: 1; }
.vexa__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.vexa__badge { font: 600 10px var(--font-mono); letter-spacing: .08em; background: var(--mint); color: var(--ink); padding: 3px 7px; border-radius: 999px; }
.vexa__sub { font-size: 12.5px; color: #b9c3bd; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vexa__tools { margin-left: auto; display: flex; gap: 6px; position: relative; z-index: 1; }
.vexa__tool { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .2s; }
.vexa__tool:hover { background: rgba(255,255,255,.22); }
.vexa__tool[hidden] { display: none; }

.vexa__scroll { position: relative; flex: 1; min-height: 0; background: #f5f5f2; }
.vexa__log { height: 100%; overflow-y: auto; padding: 20px 16px 8px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; overscroll-behavior: contain; }
.vexa__down { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(11,11,11,.12); background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.vexa__down[hidden] { display: none; }

.vexa__welcome { text-align: center; padding: 14px 6px 4px; animation: fadeUp .6s var(--ease) both; }
.vexa__welcome-av { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; padding: 3px; background: var(--mint); }
.vexa__welcome-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center; background: #fff; display: block; }
.vexa__welcome h3 { font-size: 20px; letter-spacing: -.01em; font-weight: 700; margin: 0; }
.vexa__welcome p { color: var(--slate); font-size: 14.5px; line-height: 1.55; margin: 8px auto 0; max-width: 32ch; }
.vexa__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; text-align: left; }
.vexa__card { display: flex; flex-direction: column; gap: 10px; padding: 13px; background: #fff; border: 1px solid #e4e4df; border-radius: 16px; font: 600 13.5px/1.35 var(--font-body); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.vexa__card:hover { border-color: var(--ink); }
.vexa__card .ic { width: 30px; height: 30px; border-radius: 10px; background: var(--mint); display: grid; place-items: center; }
.vexa__card:nth-child(2) .ic { background: var(--lilac); } .vexa__card:nth-child(3) .ic { background: var(--sky); } .vexa__card:nth-child(4) .ic { background: var(--peach); }

.vexa__row { display: flex; gap: 9px; align-items: flex-end; animation: vexaIn .4s var(--ease) both; }
.vexa__row--user { justify-content: flex-end; }
@keyframes vexaIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vexa__av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--mint); display: grid; place-items: center; align-self: flex-start; margin-top: 2px; }
.vexa__av img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.vexa__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: calc(100% - 42px); }
.vexa__msg { position: relative; padding: 12px 15px; font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; }
.vexa__msg--bot { background: #fff; border: 1px solid #e4e4df; border-radius: 6px 20px 20px 20px; color: #161616; }
.vexa__msg--user { background: var(--ink); color: #fff; border-radius: 20px 20px 6px 20px; max-width: 86%; }
.vexa__msg p { margin: 0; } .vexa__msg p + p, .vexa__msg ul + p, .vexa__msg p + ul, .vexa__msg ol + p, .vexa__msg p + ol, .vexa__msg pre + p, .vexa__msg p + pre { margin-top: 9px; }
.vexa__msg ul, .vexa__msg ol { margin: 6px 0 0; padding-left: 20px; } .vexa__msg ul { list-style: disc; } .vexa__msg ol { list-style: decimal; } .vexa__msg li + li { margin-top: 4px; }
.vexa__msg h4 { margin: 10px 0 4px; font-size: 14.5px; font-weight: 700; } .vexa__msg h4:first-child { margin-top: 0; }
.vexa__msg a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.vexa__msg code { font: 500 12.5px var(--font-mono); background: #efefeb; padding: 2px 6px; border-radius: 6px; }
.vexa__msg pre { background: #101010; color: #eaeaea; padding: 12px 14px; border-radius: 12px; overflow-x: auto; font: 12.5px/1.6 var(--font-mono); margin: 8px 0 0; }
.vexa__msg pre code { background: none; padding: 0; color: inherit; }
.vexa__msg strong { font-weight: 700; }
.vx-w { opacity: 0; animation: vxWord .4s ease forwards; animation-delay: calc(var(--n) * var(--step, 16ms)); }
@keyframes vxWord { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
.vexa__acts { display: flex; gap: 4px; opacity: 0; transition: opacity .2s; }
.vexa__col:hover .vexa__acts, .vexa__acts:focus-within { opacity: 1; }
.vexa__act { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--smoke); font: 600 12px var(--font-body); padding: 4px 8px; border-radius: 8px; cursor: pointer; }
.vexa__act:hover { background: #e9e9e4; color: var(--ink); }
.vexa__srcs { display: grid; gap: 6px; }
.vexa__src { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 1px solid #e4e4df; border-radius: 14px; font-size: 13px; font-weight: 600; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.vexa__src:hover { border-color: var(--ink); text-decoration: none; }
.vexa__src .ic { width: 26px; height: 26px; border-radius: 9px; background: var(--mint); display: grid; place-items: center; flex-shrink: 0; }
.vexa__src .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vexa__src .go { margin-left: auto; color: var(--smoke); flex-shrink: 0; }
.vexa__typing { display: inline-flex; align-items: center; gap: 5px; padding: 15px 17px; }
.vexa__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--smoke); animation: blink 1.2s infinite; }
.vexa__typing i:nth-child(2) { animation-delay: .18s; } .vexa__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.vexa__retry { align-self: flex-start; border: 1.5px solid var(--ink); background: #fff; border-radius: 999px; padding: 7px 14px; font: 600 13px var(--font-body); cursor: pointer; }

.vexa__form { padding: 10px 14px 12px; background: #fff; border-top: 1px solid #ececE8; }
.vexa__box { display: flex; align-items: flex-end; gap: 8px; background: #f5f5f2; border: 1.5px solid transparent; border-radius: 22px; padding: 6px 6px 6px 16px; transition: border-color .2s, background .2s; }
.vexa__box:focus-within { border-color: var(--ink); background: #fff; }
.vexa__box textarea { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; resize: none; font: 15px/1.5 var(--font-body); color: var(--ink); padding: 9px 0; max-height: 120px; }
.vexa__send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: background .2s, color .2s, transform .2s; }
.vexa__send:not([disabled]):hover { background: var(--mint); color: var(--ink); }
.vexa__send[disabled] { background: #d6d6d1; }
.vexa__foot { margin-top: 8px; text-align: center; font-size: 11.5px; color: var(--smoke); line-height: 1.4; }
.vexa__foot a { text-decoration: underline; }
.vexa__count { color: var(--danger); font-weight: 600; }
@media (max-width: 560px) {
  .vexa__panel, .vexa.is-wide .vexa__panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; border: 0; }
  .vexa.is-open .vexa__fab, .vexa.is-open .vexa__label { display: none; }
  .vexa__label { display: none; }
  .vexa__tool[data-vexa-wide] { display: none; }
  .vexa__cards { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .vx-w { opacity: 1; animation: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
@media print { .site-header, .vexa, .cookie, .site-footer { display: none; } body { background: #fff; } }

/* shared keyframes */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* assistant: source cards and rows must never be wider than the bubble column */
.vexa__row { min-width: 0; }
.vexa__col { flex: 0 1 auto; }
.vexa__srcs { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.vexa__src { min-width: 0; }

/* ---------- Vision & mission ---------- */
[id] { scroll-margin-top: 96px; }
.vm { padding-block: clamp(72px, 10vw, 128px); }
.vm__vision { max-width: 1020px; }
.vm__vision h2 { margin-top: 24px; }
.vm__mission { margin-top: clamp(48px, 7vw, 96px); }
.vm__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid #3a3a37; }
.vm__list li { padding: 26px clamp(16px, 2vw, 28px) 8px 0; }
.vm__list li + li { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid #3a3a37; }
.vm__list .num { font-family: var(--font-mono); font-size: 13px; color: var(--mint); }
.vm__list h3 { margin-top: 18px; font-size: 20px; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
.vm__list p { margin-top: 12px; color: #bdbdb8; font-size: 15px; line-height: 1.6; }
@media (max-width: 1024px) {
  .vm__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 0; }
  .vm__list li, .vm__list li + li { padding: 24px 0 12px; border-left: 0; border-top: 1px solid #3a3a37; }
}
@media (max-width: 640px) { .vm__list { grid-template-columns: 1fr; } }
.vm-band { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); background: var(--paper); border-radius: var(--r-xl); }
.vm-band__text { margin-top: 14px; max-width: 26ch; }

.footer-vm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(32px, 4vw, 52px); border-bottom: 1px solid #2b2b29; }
.footer-vm__vision { margin-top: 14px; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.01em; }
.footer-vm ol { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.footer-vm li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.45; color: #d6d6d1; }
.footer-vm li span { font-family: var(--font-mono); color: var(--mint); font-size: 12px; padding-top: 2px; }
.footer-vm a.more { display: inline-flex; margin-top: 16px; color: var(--mint); font-weight: 600; font-size: 14px; }
@media (max-width: 860px) { .footer-vm { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer-vm ol { grid-template-columns: 1fr; } }


/* ==========================================================================
   Motion system (scroll-driven, one-time, transform/opacity only)
   ========================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* entrance reveal: hidden only once boot.js has marked the page as scripted, so nothing flashes */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* headlines: each word rises out of its own mask */
.js .hl .hw { display: inline-block; overflow: hidden; vertical-align: top; padding: .07em 0 .1em; margin: -.07em 0 -.1em; }
.js .hl .hw > span { display: inline-block; transform: translate3d(0, 112%, 0); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 48ms); }
.js .hl.is-in .hw > span { transform: none; }


/* hero + vision: on large screens the hero stays put while the black vision sheet slides over it */
.stage { position: relative; }
.stage > .vm { position: relative; z-index: 2; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.hero2__grid { transform-origin: 50% 0; }
@media (min-width: 1021px) and (min-height: 700px) {
  .js .stage > .hero2 { position: sticky; top: var(--header-h, 79px); z-index: 1; }
  .js .stage .hero2__grid { transform: scale(calc(1 - var(--hero-p, 0) * .05)); opacity: calc(1 - var(--hero-p, 0) * .55); }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hl .hw > span { transform: none; transition: none; }
  .js .stage > .hero2 { position: relative; top: auto; }
  .js .stage .hero2__grid { transform: none; opacity: 1; }
}
.reduce-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ==========================================================================
   Error pages (404 / 403 / 400 / 500 / 503): same layout and type as the rest of the site, with an animated block illustration
   ========================================================================== */
.err { position: relative; overflow: hidden; padding: clamp(20px, 4vw, 56px) 0 clamp(36px, 6vw, 80px); }
.err__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(12px, 3vw, 48px); align-items: center; min-height: min(660px, calc(100vh - 170px)); }
.err__eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.err__eyebrow::before { display: none; }
.err__eyebrow b { font-weight: 600; color: var(--ink); background: var(--ink); color: #fff; padding: 4px 10px; border-radius: var(--r-pill); letter-spacing: .06em; }
.err__eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; }
.err__title { margin: 22px 0 24px; font-size: clamp(46px, 7.6vw, 112px); }
.err__title .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.err__title .line > span { display: block; animation: lineUp 1.15s var(--ease) both; animation-delay: calc(.1s + var(--n) * .12s); }
.err__title .line:nth-child(2n) { color: var(--slate); }
.err__lead { max-width: 52ch; animation: fadeUp .9s var(--ease) .35s both; }
.err__meta, .err__suggest, .err__cta { animation: fadeUp .9s var(--ease) .45s both; }
.err__meta { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 13.5px; color: var(--smoke); }
.err__meta > span:first-child { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.err__meta code { font: 500 13px var(--font-mono); color: var(--ink); background: rgba(11, 11, 11, .06); padding: 3px 9px; border-radius: 8px; overflow-wrap: anywhere; }
.err__live { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); }
.err__live i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc6a; animation: errPulse 2.4s ease-in-out infinite; }
@keyframes errPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.err__suggest { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.err__suggest .mono { color: var(--smoke); }
.err__suggest .tag { background: #fff; transition: background-color .2s ease; }
.err__suggest .tag:hover { background: var(--mint); text-decoration: none; }

.err__stage { position: relative; display: grid; place-items: center; min-height: 340px; }
.err__num { position: absolute; left: 0; right: 0; bottom: -2%; text-align: center; z-index: 0; white-space: nowrap; overflow: hidden; font-family: var(--font-display); font-weight: 700; font-size: clamp(190px, 31vw, 430px); line-height: .8; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(11, 11, 11, .13); user-select: none; pointer-events: none; animation: fadeUp 1.3s var(--ease) .1s both; }
.err-art { position: relative; z-index: 1; width: min(100%, 560px); aspect-ratio: 640 / 560; }
.err-art svg { width: 100%; height: 100%; overflow: visible; display: block; }

/* accent blocks: the same pastel palette as the rest of the site, three tones per block */
.tone-plate .fl { fill: #e2e2de; } .tone-plate .fr { fill: #cbcbc6; } .tone-plate .ft { fill: #fff; }
.tone-mint .fl { fill: #bdeeb6; } .tone-mint .fr { fill: #9fd998; } .tone-mint .ft { fill: #d1ffca; }
.tone-butter .fl { fill: #eedc8a; } .tone-butter .fr { fill: #d4c36f; } .tone-butter .ft { fill: #fff0a6; }
.tone-lilac .fl { fill: #c6bef0; } .tone-lilac .fr { fill: #aaa1d6; } .tone-lilac .ft { fill: #dcd5ff; }
.tone-peach .fl { fill: #efc4ae; } .tone-peach .fr { fill: #d6a891; } .tone-peach .ft { fill: #ffdac6; }
.tone-sky .fl { fill: #b8cdee; } .tone-sky .fr { fill: #9db2d4; } .tone-sky .ft { fill: #cfe3ff; }
.tone-ink .fl { fill: #292929; } .tone-ink .fr { fill: #171717; } .tone-ink .ft { fill: #3d3d3d; }

/* entrance: every piece flies in from its own direction and settles, in build order */
.err-art .eb { animation: ebIn 1.2s var(--ease) var(--d, 0s) both; }
.err-art .eb--plate { animation-name: twFade; animation-duration: 1s; }
.err-art .eb--cube { animation-duration: 1.4s; animation-timing-function: cubic-bezier(.2, .9, .25, 1.12); }
.err-art .eb--ghost { animation-name: twFade; animation-duration: 1.2s; }
.err-art .eb--pop { animation-name: ebPop; animation-duration: .9s; transform-box: fill-box; transform-origin: 50% 60%; }
@keyframes ebIn { 0% { opacity: 0; transform: translate3d(var(--dx, 0px), var(--dy, 30px), 0); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ebPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.err-art .eb--ghost polygon { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-dasharray: 5 7; stroke-linejoin: round; opacity: .55; }
/* afterwards: a very slow drift, and a small burst outward while the pointer is over the picture (echoing the blocks in the brand video) */
.err-art .eb__f { animation: ebFloat var(--fd, 6s) ease-in-out var(--fl, 2s) infinite alternate; }
@keyframes ebFloat { from { transform: none; } to { transform: translate3d(0, var(--fy, -8px), 0); } }
.err-art .eb__lift { animation: ebLift 5.4s ease-in-out var(--fl, 2.3s) infinite; }
@keyframes ebLift { 0%, 100% { transform: none; } 45%, 62% { transform: translate3d(0, 68px, 0); } }
.err-art .eb__b { transition: transform 1s var(--ease); }
@media (hover: hover) { .err-art:hover .eb__b { transform: translate3d(var(--bx, 0px), var(--by, 0px), 0); } }
.err-art .lock .shackle { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.err-art .lock .body { fill: var(--mint); stroke: var(--ink); stroke-width: 4; }
.err-art .lock .key { fill: #fff; stroke: var(--ink); stroke-width: 3.5; }
.err-art .lock .slot { fill: var(--ink); }
.err-art .warn .tri { fill: var(--butter); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.err-art .warn .bar, .err-art .warn .dot { fill: var(--ink); }

/* helpful links: editorial rows, colour-only hover */
.err__links { padding-block: clamp(8px, 2vw, 24px) 0; }
.err__links > .eyebrow { margin-bottom: 20px; animation: fadeUp .9s var(--ease) .5s both; }
.err-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 40px); border-top: 1px solid var(--ash); }
.err-links > a, .err-links__static { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--ash); animation: fadeUp .9s var(--ease) both; animation-delay: calc(.55s + var(--n, 0) * .07s); }
.err-links .num { font: 13px var(--font-mono); color: var(--smoke); padding-top: 4px; }
.err-links b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.err-links small { display: block; margin-top: 4px; color: var(--smoke); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.err-links .icon { color: var(--smoke); margin-top: 3px; transition: color .2s ease; }
.err-links > a:hover { text-decoration: none; }
.err-links > a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.err-links > a:hover .icon { color: var(--ink); }
@media (max-width: 900px) { .err-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 880px) {
  .err__grid { grid-template-columns: 1fr; min-height: 0; }
  .err__stage { min-height: 0; margin-top: 8px; }
  .err__title { font-size: clamp(42px, 12.5vw, 90px); }
}
@media (max-width: 600px) { .err-links { grid-template-columns: 1fr; } .err__num { font-size: clamp(150px, 46vw, 230px); } }

/* standalone pages (500 / 503) get a plain header and footer of their own */
.err-page { min-height: 100vh; display: flex; flex-direction: column; }
.err-page main { flex: 1; }
.err-foot { background: var(--ink); color: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 36px 0; margin-top: clamp(24px, 4vw, 56px); }
.err-foot .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; }
.err-foot img { height: 40px; width: auto; }
.err-foot p, .err-foot a { color: #bdbdb8; font-size: 14px; }
.err-foot a:hover { color: var(--mint); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .err__title .line > span, .err__lead, .err__meta, .err__suggest, .err__cta, .err__num, .err__links > .eyebrow, .err-links > a, .err-links__static, .err__live i,
  .err-art .eb, .err-art .eb__f, .err-art .eb__lift { animation: none !important; }
  .err-art .eb__b { transition: none; }
}
.vm--mission { padding-block: clamp(64px, 8vw, 112px); background: var(--paper); color: var(--ink); }
.vm--mission .vm__mission { margin-top: 0; }
.vm--mission .vm__list { border-top-color: var(--ash); }
.vm--mission .vm__list li + li { border-left-color: var(--ash); }
.vm--mission .vm__list .num { color: var(--smoke); }
.vm--mission .vm__list p { color: var(--slate); }
@media (max-width: 1024px) { .vm--mission .vm__list li, .vm--mission .vm__list li + li { border-top-color: var(--ash); } }

/* ==========================================================================
   Cards (services, products, case studies, news, articles, offers): one design, after the dayos.com use-case card.
   Solid-colour picture panel on the left, bold condensed uppercase title, black arrow button, icon tags. Solid fills only, colour-only hover.
   ========================================================================== */
.ucards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.ucard { position: relative; display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); min-height: 250px; background: var(--paper); border-radius: 44px; overflow: hidden; color: var(--ink); transition: background-color .25s ease; }
.section--white .ucard { background: var(--mist); }
.ucard:hover { text-decoration: none; background: #fbfbf9; }
.section--white .ucard:hover { background: #ebebe6; }
.ucard__img { position: relative; background: var(--mist); min-height: 100%; }
.ucard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; display: block; }
.ucard__body { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-width: 0; padding: 30px 28px 26px 26px; }
.ucard__title { padding-right: 58px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(27px, 2.5vw, 38px); line-height: .98; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ucard__sub { margin: -8px 0 0; padding-right: 8px; font-size: 15px; line-height: 1.45; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ucard__go { position: absolute; top: 28px; right: 24px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; transition: background-color .2s ease, color .2s ease; }
.ucard:hover .ucard__go { background: var(--volt); color: var(--ink); }
.ucard__tags { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ucard__tag { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--ink); min-width: 0; }
.ucard__ico { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; background: var(--mint); color: var(--ink); }
.ucard__tag:nth-child(2) .ucard__ico { background: var(--lilac); }
.ucard__tag:nth-child(3) .ucard__ico { background: var(--butter); }
/* the icon tiles echo the colour of the picture beside them (--accent is set from the picture's dominant colour) */
@supports (background: color-mix(in srgb, red 50%, white)) {
  .ucard[style*="--accent"] .ucard__ico { background: color-mix(in srgb, var(--accent) 26%, #fff); }
}
/* the "explore everything" tile: black, no picture */
.ucard--all, .section--white .ucard--all { grid-template-columns: minmax(0, 1fr); background: var(--ink); color: #fff; }
.ucard--all:hover, .section--white .ucard--all:hover { background: #1c1c1c; }
.ucard--all .ucard__body { padding: 30px 28px 28px; }
.ucard--all .ucard__title { color: #fff; font-size: clamp(34px, 3.4vw, 52px); }
.ucard--all .ucard__go { background: var(--volt); color: var(--ink); }
.ucard--all .ucard__tag { color: #bdbdb8; font-weight: 450; }
@media (max-width: 960px) { .ucards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .ucard { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 32px; }
  .ucard__img { min-height: 0; aspect-ratio: 4 / 3; }
  .ucard__body { padding: 22px 22px 22px; gap: 18px; }
  .ucard__go { top: 20px; right: 20px; width: 40px; height: 40px; }
  .ucard__title { font-size: clamp(26px, 7.4vw, 34px); }
}

/* cover picture on article / news / offer / case-study pages: a wide frame, the artwork keeps its subject centred */
.cover-frame img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 620px; object-fit: cover; object-position: 50% 54%; }
@media (max-width: 560px) { .cover-frame img { aspect-ratio: 4 / 3; } }
