/* ==========================================================================
   Avantix Innovation — site stylesheet
   One file, no build step. Sections:
     1. Tokens            5. Home hero & readout     9. Content pages
     2. Base              6. Architecture diagram   10. Forms
     3. Layout & type     7. Lists, tiles, cards    11. Motion
     4. Header & footer   8. FAQ & CTA              12. Print
   ========================================================================== */

/* 0. FONTS ----------------------------------------------------------------- */

/* Geist and Geist Mono (SIL Open Font License), self-hosted variable fonts,
   latin subset. Other scripts (e.g. Chinese) fall back to system fonts. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. TOKENS ---------------------------------------------------------------- */

:root {
  /* Surfaces — clean white with a cool grey for alternate bands. Names kept
     from the first design system (--paper = page background). */
  --paper: #ffffff;
  --paper-2: #f3f5f9;
  --card: #ffffff;
  --white: #ffffff;

  /* Ink — deep navy rather than neutral black, to sit with the dark bands */
  --ink: #0e1726;
  --ink-2: #334155;
  --muted: #56607a;
  --line: rgba(14, 23, 38, 0.1);
  --line-2: rgba(14, 23, 38, 0.2);

  /* Brand gold, taken from the logo. --gold is for fills and marks only;
     --gold-ink is the darker shade that passes AA as text on light surfaces. */
  --gold: #d4a847;
  --gold-soft: #f3e4bd;
  --gold-ink: #8a6718;

  /* Night — the dark surface: header, heroes, results, CTA, footer */
  --night: #0a0f1c;
  --night-2: #111a2c;
  --night-3: #18233a;
  --on-night: #eef1f6;
  --on-night-muted: #9aa4b5;
  --night-line: rgba(238, 241, 246, 0.12);
  --gold-night: #e7c067;
  --glow-blue: rgba(59, 91, 219, 0.28);

  --ok: #1f8a57;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --r-sm: 9px;
  --header-h: 72px;

  --shadow-1: 0 1px 2px rgba(14, 23, 38, 0.05), 0 2px 8px rgba(14, 23, 38, 0.05);
  --shadow-2: 0 1px 2px rgba(14, 23, 38, 0.06), 0 14px 36px -10px rgba(14, 23, 38, 0.18);
  --shadow-3: 0 2px 6px rgba(0, 0, 0, 0.2), 0 30px 70px -20px rgba(0, 0, 0, 0.55);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. BASE ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: rgba(201, 154, 46, 0.18);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

dl,
dd {
  margin: 0;
}

address {
  font-style: normal;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a,
button,
summary,
label,
select {
  touch-action: manipulation;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--dark :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-night);
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.ico {
  width: 20px;
  height: 20px;
  flex: none;
}

/* 3. LAYOUT & TYPE --------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section--tint {
  background: var(--paper-2);
}

.section--dark {
  background: var(--night);
  color: var(--on-night);
}

/* Mono label: the site's "system voice". A small gold square marks it. */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.label::before {
  content: '';
  width: 22px;
  height: 2px;
  flex: none;
  background: var(--gold);
}

.label .ico {
  width: 16px;
  height: 16px;
}

.section--dark .label,
.label--light,
.page-hero .label,
.hero--dark .label {
  color: var(--gold-night);
}

.section--dark .label::before,
.label--light::before {
  background: var(--gold-night);
}

.sec-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 64px;
  align-items: end;
}

.sec-title {
  font-size: clamp(28px, 3.3vw, 44px);
  letter-spacing: -0.028em;
  max-width: 24ch;
}

.sec-title--sm {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 20px;
}

.split .sec-title {
  margin-bottom: 20px;
}

.sec-intro {
  color: var(--muted);
  font-size: 17px;
  max-width: 48ch;
}

.section--dark .sec-intro {
  color: var(--on-night-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}

.prose-lg {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
}

.section--dark .prose-lg {
  color: var(--on-night);
}

.prose p {
  color: var(--ink-2);
  max-width: 66ch;
}

.note {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.note--light {
  color: var(--on-night-muted);
  margin: 16px 0 0;
}

.more {
  margin-top: 40px;
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.btn:hover .ico:last-child {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: #2a2d33;
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--card);
}

.btn-gold {
  background: var(--gold-night);
  color: var(--night);
}

.btn-gold:hover {
  background: #edc873;
}

.btn-ghost-light {
  border-color: var(--night-line);
  color: var(--on-night);
}

.btn-ghost-light:hover {
  border-color: var(--on-night-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}

.link-arrow .ico {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  border-color: var(--ink);
}

.link-arrow:hover .ico {
  transform: translateX(3px);
}

.link-arrow--light {
  color: var(--on-night);
  border-color: var(--night-line);
}

.link-arrow--light:hover {
  border-color: var(--on-night);
}

.link-ext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--gold-ink);
  font-weight: 500;
  text-decoration: none;
}

.link-ext:hover {
  text-decoration: underline;
}

.link-ext .ico {
  width: 16px;
  height: 16px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  margin-top: 24px;
}

/* Stretched link: makes a whole row or card clickable from one real link */
.stretch::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 4. HEADER & FOOTER ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

/* The frosted background lives on a pseudo-element: a backdrop-filter on the
   header itself would become the containing block for the fixed-position
   mobile menu and clip it to the header's height. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 243, 238, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand img {
  width: 58px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.primary-nav li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.primary-nav li a:hover {
  background: rgba(21, 23, 27, 0.05);
  color: var(--ink);
}

.primary-nav li a[aria-current='page'] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--gold);
  border-radius: 0;
}

.nav-mobile-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

/* Without working JavaScript the menu button cannot open anything, so a plain
   link to the footer's full navigation takes its place. script.js adds
   .js-ready as its first action. */
.menu-fallback {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.menu-toggle .ico-close,
.nav-open .menu-toggle .ico-open {
  display: none;
}

.nav-open .menu-toggle .ico-close {
  display: block;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px 0;
  margin-bottom: 36px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

.crumbs li + li::before {
  content: '/';
  margin: 0 10px;
  color: var(--line-2);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.crumbs [aria-current] {
  color: var(--ink-2);
}

.site-footer {
  background: var(--night-2);
  color: var(--on-night-muted);
  border-top: 1px solid var(--night-line);
  padding: 72px 0 32px;
  font-size: 15px;
}

.site-footer a {
  color: var(--on-night);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 48px;
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.footer-brand .brand-name {
  color: var(--on-night);
}

.footer-brand p {
  max-width: 46ch;
}

.footer-brand address {
  margin-top: 20px;
  line-height: 1.7;
}

.footer-col h2 {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-night-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-family: var(--mono);
  font-size: 12.5px;
}

.footer-sites a {
  margin-left: 12px;
}

/* 5. HOME HERO & READOUT --------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

/* Drafting-paper grid, faded out towards the edges so it reads as a surface
   rather than a pattern laid over the page. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
}

/* The section after the hero continues the story; it does not need a full
   section's worth of top spacing on top of the hero's own bottom padding. */
.hero + .section {
  padding-top: clamp(24px, 3vw, 40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-ink);
}

.hero .lede {
  max-width: 54ch;
}

.hero-note {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--muted);
}

.hero-note a {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
}

/* The illustrative telemetry card. It sits on the paper like a physical
   instrument panel: lighter than the surface, a crisp edge, a soft shadow. */
.readout {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-3);
  padding: 22px;
  font-family: var(--mono);
  position: relative;
}

.readout-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.readout-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.readout-id .ico {
  width: 18px;
  height: 18px;
  color: var(--gold-ink);
}

.readout-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 143, 91, 0.1);
  color: var(--ok);
  font-weight: 500;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.readout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.readout-grid > div {
  padding: 18px 0;
}

.readout-grid > div:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.readout-grid > div:nth-child(even) {
  padding-left: 18px;
}

.readout-grid > div:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.readout-grid dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.readout-grid dd {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.1;
}

.readout-grid small {
  font-size: 13px;
  margin-left: 4px;
  color: var(--muted);
  letter-spacing: 0;
}

.readout-chart {
  padding: 16px 0 12px;
}

.readout-chart-head {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}

.readout-limit {
  color: var(--gold-ink);
}

.spark {
  width: 100%;
  height: auto;
  overflow: visible;
}

.spark-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.spark-limit {
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
}

.readout-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.readout figcaption {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.proof {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(72px, 8vw, 104px);
  border-top: 1px solid var(--line-2);
}

.proof li {
  padding: 24px 24px 0 0;
}

.proof li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.proof strong {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.proof span {
  color: var(--muted);
  font-size: 15px;
}

.proof-src {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

.proof-src a {
  color: var(--ink-2);
}

/* Key facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line-2);
}

.facts > div {
  padding: 16px 16px 0 0;
}

.facts dt {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.facts dd {
  font-weight: 500;
}

.facts--stack {
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.facts--stack > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts--stack a {
  color: var(--ink);
}

/* 6. ARCHITECTURE DIAGRAM -------------------------------------------------- */

.arch {
  position: relative;
  margin: 0;
}

.arch-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 14.5px;
}

.arch-step {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--gold-night);
  margin-bottom: 14px;
}

.arch-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--night-line);
  background: var(--night-2);
  color: var(--on-night);
  margin-bottom: 16px;
}

.arch-node strong {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.arch-node > span:last-child {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--on-night-muted);
}

/* The wire runs behind the icon row; icon discs occlude it. */
.arch-wire {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 58px;
  height: 1px;
  background: var(--night-line);
  overflow: hidden;
}

.arch-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-night), transparent);
  transform: translateX(-100%);
}

.arch figcaption {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--on-night-muted);
  text-align: center;
}

/* Compact variant for use on paper (articles, printable profile) */
.arch--compact {
  margin: 40px 0;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}

.arch--compact .arch-step {
  color: var(--gold-ink);
}

.arch--compact .arch-ico {
  background: var(--white);
  border-color: var(--line-2);
  color: var(--ink);
}

.arch--compact .arch-node > span:last-child,
.arch--compact figcaption {
  color: var(--muted);
}

.arch--compact .arch-wire {
  top: 86px;
  background: var(--line-2);
}

.arch--compact .arch-pulse {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.arch--compact figcaption {
  margin-top: 24px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--night-line);
}

.specs dt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-night);
  margin-bottom: 8px;
}

.specs dd {
  color: var(--on-night-muted);
  font-size: 15px;
}

/* 7. LISTS, TILES, CARDS --------------------------------------------------- */

.svc-n,
.step-n {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}

.svc-ico,
.tile-ico,
.hero-card-ico,
.method-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  flex: none;
}

/* Service rows (home) */
.svc-list {
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 40px 44px minmax(0, 1.2fr) minmax(0, 1fr) 24px;
  gap: 24px;
  align-items: center;
  padding: 28px 12px;
  border-top: 1px solid var(--line);
  transition: background-color 0.25s var(--ease);
}

.svc-row:hover {
  background: var(--card);
}

.svc-main h3 {
  font-size: clamp(20px, 1.9vw, 24px);
  margin-bottom: 6px;
}

.svc-main h3 a {
  text-decoration: none;
}

.svc-main p {
  color: var(--muted);
  font-size: 15.5px;
}

.svc-caps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.svc-caps li {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--paper);
}

.svc-arrow {
  color: var(--muted);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.svc-row:hover .svc-arrow {
  color: var(--ink);
  transform: translateX(4px);
}

/* Product tiles */
.tile-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}

.tile-group > .label {
  margin-bottom: 16px;
}

.tiles {
  display: grid;
  gap: 12px;
}

.tiles--wide {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.tile {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.tile:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.tile .tile-ico {
  background: var(--paper);
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.tile-body strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tile-body > span:last-child {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

.tile-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.tag-live {
  color: var(--ok);
}

.tile-arrow {
  width: 18px;
  height: 18px;
  color: var(--muted);
  margin-top: 2px;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.tile:hover .tile-arrow {
  color: var(--ink);
  transform: translateX(3px);
}

/* Case cards (home) */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.case-card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}

.case-card h3 {
  font-size: clamp(21px, 2vw, 26px);
  margin-bottom: 12px;
}

.case-card h3 a {
  text-decoration: none;
}

.case-card > p:not(.label) {
  color: var(--muted);
}

.case-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 28px;
  border-top: 1px solid var(--line);
}

.results > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 2px;
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line);
}

.results > div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.results dd {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.results dt {
  font-size: 14px;
  color: var(--muted);
}

.results--lg {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.results--lg > div:not(:first-child) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.results--lg dd {
  font-size: clamp(26px, 3vw, 38px);
}

.results--dark {
  margin-top: 0;
  border-color: var(--night-line);
}

.results--dark > div,
.results--dark > div:nth-child(even) {
  border-color: var(--night-line);
}

.results--dark dd {
  color: var(--on-night);
}

.results--dark dt {
  color: var(--on-night-muted);
}

/* Steps & capability grids */
.steps,
.cap-grid {
  list-style: none;
  display: grid;
  gap: 32px 24px;
}

.steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: none;
}

.steps--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cap-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}

.steps li,
.cap-grid li {
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}

.steps h3,
.cap-grid h3 {
  font-size: 18px;
  margin: 12px 0 8px;
  letter-spacing: -0.012em;
}

.steps p,
.cap-grid p {
  color: var(--muted);
  font-size: 15.5px;
}

/* Why list */
.why {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}

.why li {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.why h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.why p {
  color: var(--muted);
  font-size: 15.5px;
}

/* Check lists */
.checks {
  list-style: none;
  display: grid;
  gap: 10px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
}

.checks .ico {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--gold-ink);
}

.checks--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 20px 0;
}

.checks--lg li {
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.checks--lg {
  gap: 0;
  border-top: 1px solid var(--line);
}

/* Chips */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--ink);
}

.also {
  margin-top: 48px;
}

/* 8. FAQ & CTA ------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px clamp(32px, 6vw, 96px);
}

.faq-list {
  border-top: 1px solid var(--line-2);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq summary:hover h3 {
  color: var(--gold-ink);
}

.faq-sign {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 6px;
}

.faq-sign::before,
.faq-sign::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.faq-sign::after {
  transform: rotate(90deg);
}

.faq[open] .faq-sign::after {
  transform: rotate(0deg);
}

.faq-a {
  padding: 0 40px 24px 0;
}

.faq-a p {
  color: var(--ink-2);
  max-width: 68ch;
}

.cta-band {
  background: var(--night);
  color: var(--on-night);
  padding: clamp(72px, 9vw, 120px) 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 48px clamp(40px, 7vw, 120px);
  align-items: end;
}

.cta-band h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 18ch;
}

.cta-band p {
  color: var(--on-night-muted);
  font-size: 18px;
  max-width: 56ch;
}

.cta-facts {
  border-top: 1px solid var(--night-line);
}

.cta-facts > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--night-line);
}

.cta-facts dt {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--on-night-muted);
  margin-bottom: 2px;
}

.cta-facts dd,
.cta-facts a {
  color: var(--on-night);
  text-decoration: none;
}

.cta-facts a:hover {
  text-decoration: underline;
}

/* 9. CONTENT PAGES --------------------------------------------------------- */

.page-hero {
  padding: clamp(28px, 4vw, 44px) 0 clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

.page-hero--aside .page-hero-grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 24px;
  max-width: 22ch;
}

.page-hero-main {
  max-width: 880px;
}

.page-hero .actions {
  margin: 0 0 8px;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .page-hero-main {
  margin: 0 auto 56px;
}

.page-hero--center h1,
.page-hero--center .lede {
  margin-left: auto;
  margin-right: auto;
}

.page-hero--center .actions {
  justify-content: center;
}

.page-hero--center .tiles {
  text-align: left;
}

/* Answer block: the unit answer engines quote. Styled as an annotated note. */
.answer {
  margin-top: 36px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px var(--r) var(--r) 4px;
  max-width: 76ch;
}

.answer-q {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 10px;
}

.answer p {
  color: var(--ink-2);
  font-size: 16.5px;
}

.hero-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}

.hero-card-ico {
  margin-bottom: 24px;
  background: var(--paper);
}

.hero-card > p:not(.label) {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.hero-card--sheet .label {
  margin-bottom: 8px;
}

.hero-card--sheet .table-wrap {
  margin: 0;
}

/* Datasheet tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 32px 0 0;
  -webkit-overflow-scrolling: touch;
}

.datasheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

.datasheet caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}

.datasheet th,
.datasheet td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
}

.datasheet tbody tr:first-child th,
.datasheet tbody tr:first-child td {
  border-top: 1px solid var(--line-2);
}

.datasheet tbody th {
  font-weight: 500;
  color: var(--muted);
  width: 38%;
}

.datasheet td {
  color: var(--ink);
}

.datasheet--cols {
  min-width: 620px;
}

.datasheet--cols thead th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
}

.datasheet--cols tbody tr:first-child th,
.datasheet--cols tbody tr:first-child td {
  border-top: 0;
}

.datasheet--cols tbody th {
  width: auto;
  color: var(--ink);
  font-weight: 600;
}

.datasheet a {
  color: var(--ink);
}

.datasheet a:hover {
  color: var(--gold-ink);
}

/* Service / product / industry blocks */
.svc-blocks,
.ind-list {
  border-bottom: 1px solid var(--line);
}

.svc-block,
.ind-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(32px, 6vw, 96px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.svc-block-head,
.ind-head {
  display: grid;
  grid-template-columns: 36px 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.svc-block-head .svc-n,
.ind-head .svc-n {
  padding-top: 12px;
}

.svc-block h2,
.ind-row h2,
.prod-block h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 8px;
}

.svc-block h2 a,
.prod-block h2 a {
  text-decoration: none;
}

.svc-block h2 a:hover,
.prod-block h2 a:hover {
  color: var(--gold-ink);
}

.svc-tag,
.ind-sum {
  color: var(--muted);
}

.svc-block-body > p:first-child,
.ind-body > p:first-child {
  color: var(--ink-2);
  font-size: 17px;
}

.ind-body .label {
  margin-top: 16px;
  margin-bottom: 12px;
}

.svc-for {
  font-size: 15.5px;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.svc-for .label {
  margin: 0 10px 0 0;
}

.prod-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.prod-block {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
}

.prod-block-head .svc-ico {
  margin-bottom: 24px;
  background: var(--paper);
}

.prod-block-head .label {
  margin-bottom: 10px;
}

.prod-block-body {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-block-body > p:first-child {
  color: var(--ink-2);
}

.prod-block-body .checks {
  margin: 16px 0 20px;
}

.prod-block-body .link-row {
  margin-top: auto;
}

/* Vision & mission */
.vm {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px clamp(40px, 7vw, 120px);
}

.vm-statement {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
}

/* Case study page */
.case-list {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
}

.case-full {
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 2px solid var(--ink);
}

.case-full-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 26ch;
}

.case-full-head .prose-lg {
  max-width: 64ch;
}

.case-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
  margin-top: 16px;
}

.case-steps h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  margin-bottom: 10px;
}

.case-steps .step-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 12px;
}

.case-steps p {
  color: var(--ink-2);
  font-size: 16px;
}

.case-outcome {
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ok);
  border-radius: 4px var(--r) var(--r) 4px;
  max-width: 80ch;
}

.case-built {
  margin-top: 20px;
  color: var(--muted);
}

.case-built a {
  color: var(--ink);
  font-weight: 500;
}

/* FAQ page */
.faq-page {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 48px clamp(32px, 5vw, 80px);
  align-items: start;
}

.faq-index {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.faq-index ul {
  list-style: none;
  display: grid;
  gap: 2px;
  font-size: 14.5px;
}

.faq-index a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  text-decoration: none;
}

.faq-index a:hover {
  color: var(--ink);
}

.faq-groups {
  display: grid;
  gap: 64px;
}

.faq-group-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}

.faq-group-head h2 {
  font-size: clamp(22px, 2.2vw, 28px);
}

.faq-group-head .link-arrow {
  font-size: 14.5px;
}

/* Insights */
.posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.post {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.post:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}

.post--lead {
  grid-column: 1 / -1;
}

.post h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 12px;
  max-width: 30ch;
}

.post--lead h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.03em;
}

.post h2 a {
  text-decoration: none;
}

.post > p:not(.label) {
  color: var(--muted);
  max-width: 68ch;
}

.post-meta {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 16px;
}

.article-head .post-meta {
  margin: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 720px);
  gap: 48px clamp(40px, 6vw, 96px);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.toc ol {
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 14.5px;
  border-left: 1px solid var(--line-2);
}

.toc a {
  display: block;
  padding: 5px 0 5px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--ink);
  border-left-color: var(--gold);
}

.article-body {
  font-size: 18px;
  line-height: 1.72;
  color: var(--ink-2);
}

.article-body h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 56px 0 18px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin-bottom: 1.2em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3em;
  margin: 0 0 1.4em;
  display: grid;
  gap: 10px;
}

.article-body li::marker {
  color: var(--gold-ink);
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body .table-wrap {
  margin: 32px 0;
}

.article-body .datasheet {
  font-size: 15.5px;
  line-height: 1.5;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.method {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.method:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
}

.method .method-ico {
  background: var(--paper);
}

.method > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.method .label {
  margin-bottom: 4px;
}

.method strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.method > span:last-child > span:last-child {
  font-size: 14.5px;
  color: var(--muted);
}

/* Printable profile helper bar (screen only) */
.profile-bar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 14.5px;
  color: var(--muted);
}

.profile-bar-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}

.pf-cover {
  padding: clamp(64px, 10vw, 128px) 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.pf-cover img {
  margin: 0 auto 24px;
  width: 140px;
}

.pf-cover h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.pf-cover .lede {
  margin: 0 auto 24px;
}

.pf-contact {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
}

.pf-tagline {
  margin-top: 32px;
  font-size: 20px;
  color: var(--gold-ink);
  font-weight: 500;
}

.pf-sec {
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}

.pf-sec h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.pf-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pf-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.pf-item h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.pf-item p,
.pf-item li {
  color: var(--ink-2);
  font-size: 15.5px;
}

.pf-item ul {
  margin-top: 8px;
  padding-left: 1.1em;
}

.pf-item .label {
  margin-bottom: 8px;
}

.pf-for {
  margin-top: 8px;
  color: var(--muted);
}

.pf-cases {
  display: grid;
  gap: 40px;
}

.pf-case {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.pf-case h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.pf-case p {
  color: var(--ink-2);
}

.pf-case .results {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Article sources, FAQ "all questions" link, contact cross-links */
.sources {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  font-size: 15px;
}

.article-body .sources h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.sources a {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.faq-more {
  margin-top: 24px;
}

.contact-more {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.contact-more a {
  color: var(--ink);
}

.sec-intro a {
  color: var(--ink);
}

/* 10. FORMS ---------------------------------------------------------------- */

.enquiry {
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}

.enquiry h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.enquiry-help {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: 14.5px;
  font-weight: 500;
}

.opt {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold-ink);
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.22);
}

.field [aria-invalid='true'] {
  border-color: #b3261e;
}

.field-error {
  color: #b3261e;
  font-size: 14.5px;
  margin: -4px 0 12px;
}

.enquiry .actions {
  margin-top: 8px;
}

.enquiry-status {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.enquiry-status:empty {
  display: none;
}

/* 11. MOTION --------------------------------------------------------------- */

/* Entrance reveals: once, short, and only when JS is running. Content is
   visible without JS, and for visitors who prefer reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }

  /* Failsafe: if script.js never runs (blocked, failed to load), .js-ready is
     never set and hidden content is shown after a short delay anyway. */
  .js:not(.js-ready) .reveal {
    animation: reveal-failsafe 0.4s 1.5s var(--ease) forwards;
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .spark-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.8s 0.3s var(--ease) forwards;
  }

  .dot {
    animation: breathe 2.4s ease-in-out infinite;
  }

  /* The pulse travels the wire in the direction data flows. */
  .arch-pulse {
    animation: travel 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }
}

@keyframes reveal-failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes travel {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(560%);
  }
}

/* RESPONSIVE --------------------------------------------------------------- */

@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1060px) {
  .js-ready .menu-toggle {
    display: inline-flex;
  }

  html:not(.js-ready) .menu-fallback {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }

  .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .primary-nav li a {
    padding: 16px 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .primary-nav li a:hover {
    background: none;
  }

  .primary-nav li a[aria-current='page'] {
    box-shadow: inset 3px 0 0 var(--gold);
    padding-left: 14px;
  }

  .nav-mobile-extra {
    display: grid;
    gap: 16px;
    margin-top: 32px;
  }

  .nav-mobile-extra .btn {
    width: 100%;
  }

  .nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--mono);
    color: var(--ink-2);
    text-decoration: none;
    padding: 12px;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .site-header {
    border-bottom-color: var(--line);
  }

  .nav-open .site-header::before {
    background: var(--paper);
  }

  .hero-grid,
  .page-hero--aside .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .readout {
    max-width: 560px;
  }

  .hero-card {
    max-width: 560px;
  }

  .svc-row {
    grid-template-columns: 32px 44px minmax(0, 1fr) 24px;
  }

  .svc-caps {
    grid-column: 3 / 4;
  }

  .svc-arrow {
    grid-row: 1;
    grid-column: 4;
  }

  .tile-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile-groups .tiles {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
  }

  .faq-page {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-index {
    position: static;
  }

  .faq-index ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .faq-index a {
    padding: 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--ink-2);
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .sec-head--split,
  .split,
  .faq-grid,
  .cta-grid,
  .svc-block,
  .ind-row,
  .vm,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .proof li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts > div {
    padding-bottom: 12px;
  }

  .facts--stack {
    grid-template-columns: 1fr;
  }

  /* Architecture turns into a vertical pipeline */
  .arch-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .arch-node {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    align-items: start;
    text-align: left;
    position: relative;
    padding-bottom: 24px;
  }

  .arch-node:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 56px;
    bottom: 0;
    width: 1px;
    background: var(--night-line);
  }

  .arch--compact .arch-node:not(:last-child)::after {
    background: var(--line-2);
  }

  .arch-ico {
    grid-row: 1 / 3;
    grid-column: 1;
    margin: 0;
  }

  .arch-step {
    display: none;
  }

  .arch-node strong {
    grid-column: 2;
    margin: 6px 0 2px;
  }

  .arch-node > span:last-child {
    grid-column: 2;
  }

  .arch-wire {
    display: none;
  }

  .arch figcaption {
    text-align: left;
    margin-top: 8px;
  }

  .case-grid,
  .posts,
  .prod-blocks {
    grid-template-columns: minmax(0, 1fr);
  }

  .results--lg,
  .pf-case .results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results--lg > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .case-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps,
  .steps--4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .steps li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 8px;
    padding: 20px 0;
  }

  .steps h3 {
    margin: 0 0 6px;
    grid-column: 2;
  }

  .steps p {
    grid-column: 2;
  }

  .steps .step-n {
    grid-row: 1 / 3;
    padding-top: 3px;
  }

  .why {
    grid-template-columns: minmax(0, 1fr);
  }

  .checks--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .pf-grid,
  .pf-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .faq-a {
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .brand-name span {
    display: none;
  }

  .svc-row {
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    gap: 16px;
    padding: 24px 0;
  }

  .svc-n {
    display: none;
  }

  .svc-row .svc-n {
    display: none;
  }

  .svc-caps {
    grid-column: 1 / -1;
  }

  .svc-arrow {
    grid-column: 3;
  }

  .svc-row:hover {
    background: none;
  }

  .svc-block-head,
  .ind-head {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .svc-block-head .svc-n,
  .ind-head .svc-n {
    display: none;
  }

  .readout {
    padding: 16px;
  }

  .readout-foot {
    flex-direction: column;
    gap: 4px;
  }

  .readout-head {
    font-size: 11.5px;
  }

  .proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .specs {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .proof li,
  .proof li + li {
    padding: 18px 0 0;
    border-left: 0;
  }

  .proof li + li {
    border-top: 1px solid var(--line);
    margin-top: 18px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .actions .btn {
    flex: 1 1 auto;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-sites a {
    margin: 0 12px 0 0;
  }

  .footer-sites {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
  }

  .footer-sites a:first-child {
    margin-left: 8px;
  }
}

/* 13. BUYER-FIRST REDESIGN (2026-09-24) ------------------------------------
   Dark header and heroes, interface mockups, service cards, the showcase
   tabs, and the process timeline. Placed after the base system so these
   rules take precedence where they overlap. */

/* Header: dark, everywhere, so the brand reads the same on every page */
.site-header::before {
  background: rgba(10, 15, 28, 0.9);
}

.site-header.is-scrolled {
  border-bottom-color: var(--night-line);
}

.brand,
.brand-name {
  color: var(--on-night);
}

.primary-nav li a {
  color: var(--on-night-muted);
}

.primary-nav li a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-night);
}

.primary-nav li a[aria-current='page'] {
  color: var(--on-night);
}

.header-phone {
  color: var(--on-night-muted);
}

.header-phone:hover {
  color: var(--on-night);
}

.menu-toggle,
.menu-fallback {
  border-color: var(--night-line);
  color: var(--on-night);
}

.site-header :focus-visible {
  outline-color: var(--gold-night);
}

@media (max-width: 1060px) {
  .primary-nav {
    background: var(--night);
    border-top-color: var(--night-line);
  }

  .primary-nav li a,
  .primary-nav li a:hover {
    color: var(--on-night);
    border-bottom-color: var(--night-line);
  }

  .nav-open .site-header::before {
    background: var(--night);
  }

  .nav-phone {
    color: var(--on-night-muted);
  }
}

/* Dark heroes: home and every inner page. One light source — a cool glow top
   right, a warm gold one bottom left — over a faint engineering grid. */
.hero--dark,
.page-hero {
  position: relative;
  background: var(--night);
  color: var(--on-night);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 0;
}

.hero--dark::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 1;
  background-image:
    radial-gradient(55% 70% at 85% 10%, var(--glow-blue), transparent 70%),
    radial-gradient(40% 55% at 5% 100%, rgba(212, 168, 71, 0.16), transparent 70%);
  background-size: auto;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero--dark::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 10%, transparent 75%);
}

.hero--dark {
  padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 120px);
}

.hero--dark h1,
.page-hero h1 {
  color: var(--on-night);
}

.hero--dark h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero--dark h1 em {
  color: var(--gold-night);
}

.hero--dark .lede,
.page-hero .lede {
  color: var(--on-night-muted);
}

.hero-for {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  color: var(--on-night-muted);
}

.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--on-night-muted);
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof .ico {
  width: 18px;
  height: 18px;
  color: var(--gold-night);
}

.hero-proof a {
  color: var(--on-night);
}

.hero-visual {
  position: relative;
}

/* Dashboard sits top right; the chat overlaps its lower-left corner, so both
   read as separate screens rather than one covering the other. */
.hero-stack {
  position: relative;
  min-height: 690px;
}

.hero-stack .mock-dash {
  width: 82%;
  margin-left: auto;
}

.hero-stack .mock-chat {
  position: absolute;
  left: 0;
  top: 150px;
  width: 50%;
  z-index: 2;
}

.mock-cap.mock-cap--light {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-night-muted);
  text-align: center;
  font-size: 12.5px;
}

.page-hero .crumbs ol,
.page-hero .crumbs a {
  color: var(--on-night-muted);
}

.page-hero .crumbs a:hover,
.page-hero .crumbs [aria-current] {
  color: var(--on-night);
}

.page-hero .crumbs li + li::before {
  color: var(--night-line);
}

.page-hero .answer {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--night-line);
  border-left-color: var(--gold);
}

.page-hero .answer-q {
  color: var(--gold-night);
}

.page-hero .answer p {
  color: #cfd6e2;
}

.page-hero .post-meta,
.page-hero .post-meta a {
  color: var(--on-night-muted);
}

.page-hero .hero-card {
  color: var(--ink);
}

.page-hero .readout figcaption,
.page-hero .mock-cap {
  color: var(--on-night-muted);
}

/* Light-theme buttons placed inside a dark hero adapt to it */
.page-hero .btn-primary,
.hero--dark .btn-primary {
  background: var(--gold-night);
  color: var(--night);
}

.page-hero .btn-primary:hover,
.hero--dark .btn-primary:hover {
  background: #f0cf85;
}

.page-hero .btn-ghost,
.hero--dark .btn-ghost {
  color: var(--on-night);
  border-color: var(--night-line);
}

.page-hero .btn-ghost:hover,
.hero--dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--on-night-muted);
}

/* WhatsApp — the company's main conversation channel */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: #1f9d55;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.wa-float:hover {
  background: #1a8a4a;
  transform: translateY(-2px);
}

.wa-float .ico {
  width: 22px;
  height: 22px;
}

.nav-open .wa-float {
  display: none;
}

.btn-wa {
  background: #1f9d55;
  color: #ffffff;
}

.btn-wa:hover {
  background: #1a8a4a;
}

.method--primary {
  border-color: #1f9d55;
  box-shadow: 0 0 0 1px #1f9d55 inset;
}

.method--primary .method-ico {
  background: #1f9d55;
  color: #ffffff;
  border-color: #1f9d55;
}

@media (max-width: 560px) {
  .wa-float span {
    display: none;
  }

  .wa-float {
    padding: 0;
    width: 56px;
    justify-content: center;
  }
}

/* Starting-price chip in page heroes */
.hero-price {
  display: table;
  margin-top: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(231, 192, 103, 0.4);
  border-radius: 999px;
  background: rgba(231, 192, 103, 0.08);
  color: var(--gold-night);
  font-size: 14.5px;
  text-decoration: none;
}

.hero-price strong {
  color: var(--on-night);
}

.hero-price:hover {
  background: rgba(231, 192, 103, 0.16);
}

/* Pricing page */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
}

.plan h3 {
  margin: 16px 0 4px;
  font-size: 21px;
}

.plan h3 a {
  text-decoration: none;
}

.plan > p:not(.plan-price):not(.plan-setup):not(.plan-tag):not(.plan-note) {
  color: var(--muted);
  font-size: 15px;
}

.plan-price {
  margin: 4px 0 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-right: 4px;
}

.plan-price small {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}

.plan-setup {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--gold-ink);
  font-weight: 600;
}

.plan--featured {
  grid-row: span 2;
  background: var(--night);
  color: var(--on-night);
  border-color: var(--night);
  box-shadow: var(--shadow-3);
}

.plan--featured .svc-card-ico {
  background: var(--night-3);
  color: var(--gold-night);
}

.plan--featured .plan-price span,
.plan--featured .plan-price small {
  color: var(--on-night-muted);
}

.plan--featured .plan-setup {
  color: var(--gold-night);
}

.plan--featured .checks li {
  color: var(--on-night);
}

.plan--featured .checks .ico {
  color: var(--gold-night);
}

.plan--featured .checks {
  margin: 12px 0 16px;
}

.plan-note {
  font-size: 13px;
  color: var(--on-night-muted);
  margin-bottom: 20px;
}

.plan--featured .btn {
  margin-top: auto;
}

.plan-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-night);
  color: var(--night);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-table th span,
.price-table td span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 1060px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan--featured {
    grid-row: auto;
  }
}

/* Results strip under the home hero */
.stats-strip {
  padding: 36px 0 32px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.stats-strip .proof {
  margin-top: 0;
  border-top: 0;
}

.stats-strip .proof li {
  padding-top: 4px;
}

.stats-strip .proof-src {
  margin-top: 18px;
}

/* Interface mockups (src/mockups.js) */
.mock {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-3);
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: left;
}

.section .mock,
.show-visual .mock {
  border-color: var(--line);
  box-shadow: var(--shadow-2);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.mock-bar strong {
  display: block;
  font-size: 13.5px;
}

.mock-bar small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.mock-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
  font-size: 12px;
}

.mock-tag {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phone-title .mock-tag {
  margin-left: 6px;
  vertical-align: middle;
}

.mock-live {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ok);
}

.mock-dots {
  display: inline-flex;
  gap: 5px;
}

.mock-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d5dae3;
}

.mock-meta {
  margin-left: auto;
}

.mock-cap {
  margin: 0;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 11.5px;
  color: var(--muted);
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: #f1efe9;
}

.msg {
  position: relative;
  max-width: 84%;
  margin: 0;
  padding: 8px 12px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(14, 23, 38, 0.06);
}

.msg time {
  position: absolute;
  right: 9px;
  bottom: 4px;
  font-size: 10px;
  color: var(--muted);
}

.msg-in {
  align-self: flex-start;
  background: var(--white);
  border-top-left-radius: 4px;
}

.msg-out {
  align-self: flex-end;
  background: #d9f2e1;
  border-top-right-radius: 4px;
}

.chat-event {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  margin: 4px 0 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(212, 168, 71, 0.2);
  color: #6b5212;
  font-size: 11.5px;
  font-weight: 600;
}

.chat-event .ico {
  width: 14px;
  height: 14px;
}

.dash-body {
  padding: 14px;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dash-kpis > div {
  padding: 10px;
  border-radius: 10px;
  background: var(--paper-2);
}

.dash-kpis dt {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-kpis dd {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.dash-kpis dd small {
  font-size: 12px;
  color: var(--muted);
  margin-left: 2px;
}

.dash-kpis .ok {
  color: var(--ok);
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 84px;
  margin: 14px 0 10px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
}

.dash-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.dash-table td {
  padding: 7px 4px;
  border-top: 1px solid var(--line);
}

.dash-table td:first-child {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 11.5px;
}

.dash-table td:last-child {
  text-align: right;
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.pill-ok {
  background: rgba(31, 138, 87, 0.12);
  color: var(--ok);
}

.pill-warn {
  background: var(--gold-soft);
  color: #6b5212;
}

.pill-info {
  background: rgba(59, 91, 219, 0.12);
  color: #2f4bb8;
}

.mock-phone {
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section .mock-phone,
.show-visual .mock-phone {
  box-shadow: none;
}

.phone-frame {
  width: 260px;
  padding: 12px;
  border-radius: 38px;
  background: #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-3);
}

.phone-notch {
  width: 88px;
  height: 18px;
  margin: 0 auto 6px;
  border-radius: 0 0 12px 12px;
  background: #000;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 390px;
  padding: 18px 16px;
  border-radius: 28px;
  background: var(--white);
}

.phone-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.phone-sub {
  margin: -8px 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.phone-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.phone-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}

.phone-list .ico {
  width: 18px;
  height: 18px;
  color: var(--line-2);
}

.phone-list .done .ico {
  color: var(--ok);
}

.phone-btn {
  margin-top: auto;
  padding: 11px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.phone-toast {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ok);
}

.phone-toast .ico {
  width: 15px;
  height: 15px;
}

.mock-phone .mock-cap {
  border: 0;
  background: none;
  text-align: center;
  margin-top: 12px;
}

/* Service cards (home, Kuala Lumpur page) */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.svc-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}

.svc-card-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--gold-ink);
}

.svc-card-ico .ico {
  width: 26px;
  height: 26px;
}

.svc-card h3 {
  margin: 22px 0 8px;
  font-size: clamp(21px, 2vw, 26px);
  letter-spacing: -0.02em;
}

.svc-card h3 a {
  text-decoration: none;
}

.svc-card > p {
  color: var(--muted);
}

.svc-card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 4px 0 24px;
}

.svc-card li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--ink-2);
}

.svc-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
}

.svc-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.svc-card--lead {
  background: var(--night);
  border-color: var(--night);
  color: var(--on-night);
}

.svc-card--lead:hover {
  border-color: var(--night);
}

.svc-card--lead .svc-card-ico {
  background: var(--night-3);
  color: var(--gold-night);
}

.svc-card--lead > p {
  color: var(--on-night-muted);
}

.svc-card--lead li {
  color: var(--on-night);
}

.svc-card--lead .link-arrow {
  color: var(--on-night);
  border-color: var(--night-line);
}

.svc-card--lead :focus-visible {
  outline-color: var(--gold-night);
}

/* Showcase tabs (home). Without JavaScript every panel is shown in turn. */
.show-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 40px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

html:not(.js-ready) .show-tabs {
  display: none;
}

.show-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.show-tabs button .ico {
  width: 18px;
  height: 18px;
}

.show-tabs button:hover {
  background: var(--paper-2);
}

.show-tabs button[aria-selected='true'] {
  background: var(--night);
  color: var(--on-night);
}

.show-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: center;
}

html:not(.js-ready) .show-panel + .show-panel {
  margin-top: 64px;
}

.show-copy h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.show-copy > p {
  color: var(--ink-2);
  font-size: 17px;
  margin-bottom: 20px;
}

.show-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.show-visual {
  display: flex;
  justify-content: center;
}

.show-visual > .mock:not(.mock-phone),
.show-visual > .readout {
  width: 100%;
  max-width: 540px;
}

/* Process timeline */
.steps--timeline {
  position: relative;
}

.steps--timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--line-2));
}

.steps--timeline li {
  position: relative;
  padding-top: 52px;
  border-top: 0;
}

.steps--timeline .step-n {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 12.5px;
}

/* Dark case cards */
.case-card--dark {
  background: var(--night-2);
  border-color: var(--night-line);
  color: var(--on-night);
  box-shadow: none;
}

.case-card--dark:hover {
  border-color: rgba(238, 241, 246, 0.3);
  box-shadow: none;
}

.case-card--dark h3 a {
  color: var(--on-night);
}

.case-card--dark :focus-visible {
  outline-color: var(--gold-night);
}

/* Industry pills */
.ind-strip {
  margin-top: 56px;
}

.ind-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ind-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}

.ind-pill .ico {
  width: 18px;
  height: 18px;
  color: var(--gold-ink);
}

.ind-pill:hover {
  border-color: var(--ink);
}

/* Kuala Lumpur band (home) */
.kl-band {
  background: linear-gradient(120deg, #fbf3df 0%, #ffffff 65%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kl-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: center;
}

/* The KL band heading is not inside a split layout, so it needs its own gap */
.kl-band .sec-title {
  margin-bottom: 16px;
}

.kl-actions {
  display: grid;
  gap: 12px;
}

@media (max-width: 1060px) {
  .hero-stack .mock-chat {
    width: 52%;
  }

  .hero-visual,
  .page-hero-aside {
    max-width: 600px;
  }

  .show-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .show-visual {
    justify-content: flex-start;
  }

  .svc-cards--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .svc-cards,
  .kl-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .show-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .steps--timeline::before {
    left: 16px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--gold), var(--line-2));
  }

  .steps--timeline li {
    display: block;
    padding: 0 0 28px 56px;
  }

  .steps--timeline h3 {
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  .hero-stack {
    min-height: 0;
  }

  /* On phones one interface is enough; the chat carries the AI message. */
  .hero-stack .mock-dash {
    display: none;
  }

  .hero-stack .mock-chat {
    position: relative;
    top: auto;
    width: 100%;
  }

  .dash-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 14. PHOTOGRAPHY & MOTION (2026-09-24) ------------------------------------ */

/* Service cards with a photo header; the icon badge sits on the photo's edge */
.svc-card {
  --pad: clamp(24px, 3vw, 36px);
  padding: var(--pad);
}

.svc-card--media {
  overflow: hidden;
}

.svc-card-media {
  position: relative;
  height: 200px;
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 0;
  overflow: hidden;
  background: var(--paper-2);
}

.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transition: transform 0.9s var(--ease);
}

.svc-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 28, 0.35) 100%);
}

.svc-card--lead .svc-card-media::after {
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.1) 30%, var(--night) 100%);
}

.svc-card:hover .svc-card-media img {
  transform: scale(1.05);
}

.svc-card--media .svc-card-ico {
  position: relative;
  z-index: 1;
  margin-top: -26px;
  border: 3px solid var(--white);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.svc-card--lead.svc-card--media .svc-card-ico {
  border-color: var(--night);
  background: var(--night-3);
}

/* Photo beside service copy */
.photo-card {
  margin: 32px 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Kuala Lumpur skyline behind dark bands. The photo fades into the navy on
   the text side, so copy stays readable and the city shows on the right. */
.kl-band--photo,
.page-hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.kl-band--photo {
  background: var(--night);
  color: var(--on-night);
  border: 0;
}

.kl-bg,
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.kl-bg img,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 60%;
}

.kl-bg::after,
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 28, 0.96) 0%, rgba(10, 15, 28, 0.82) 45%, rgba(10, 15, 28, 0.45) 100%);
}

.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(10, 15, 28, 0.96) 0%, rgba(10, 15, 28, 0.8) 45%, rgba(10, 15, 28, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 15, 28, 0.2) 0%, rgba(10, 15, 28, 0) 40%);
}

/* Per-photo crops: the city lights for KL, the subject for the AI images */
.hero-bg img {
  object-position: 75% 40%;
}

.hero-bg--kl img {
  object-position: 60% 85%;
}

.hero-bg--aiChip img {
  object-position: 60% 30%;
}

.kl-band--photo .label {
  color: var(--gold-night);
}

.kl-band--photo .sec-title {
  color: var(--on-night);
}

.kl-band--photo .prose-lg {
  color: #cfd6e2;
}

.kl-band--photo :focus-visible {
  outline-color: var(--gold-night);
}

.footer-credit {
  color: var(--on-night-muted);
  opacity: 0.8;
}

@media (max-width: 820px) {
  .kl-bg::after,
  .hero-bg::after {
    background: rgba(10, 15, 28, 0.86);
  }
}

/* Motion — each animation shows something working, runs once (the float is
   a slow ambient exception), and is skipped entirely for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  /* The hero chat plays out like a real conversation */
  .hero-stack .mock-chat .msg,
  .hero-stack .mock-chat .chat-event {
    opacity: 0;
    animation: msg-in 0.45s var(--ease) forwards;
  }

  .hero-stack .mock-chat .msg:nth-child(1) { animation-delay: 0.5s; }
  .hero-stack .mock-chat .msg:nth-child(2) { animation-delay: 1.5s; }
  .hero-stack .mock-chat .msg:nth-child(3) { animation-delay: 2.6s; }
  .hero-stack .mock-chat .msg:nth-child(4) { animation-delay: 3.5s; }
  .hero-stack .mock-chat .chat-event { animation-delay: 4.3s; }

  /* Dashboard bars grow into place */
  .dash-chart span {
    transform-origin: bottom;
    animation: bar-grow 0.8s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 55ms + 0.3s);
  }

  /* Slow ambient float so the hero screens feel alive, not pasted */
  .hero-stack .mock-dash {
    animation: float-a 7s ease-in-out 1.2s infinite alternate;
  }

  .hero-stack .mock-chat {
    animation: float-b 8s ease-in-out 0.6s infinite alternate;
  }

  /* The process line draws, then each step arrives */
  .js .steps--timeline.reveal {
    opacity: 1;
    transform: none;
  }

  .js .steps--timeline.reveal::before {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.4s var(--ease) 0.1s;
  }

  .js .steps--timeline.reveal li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }

  .js .steps--timeline.reveal.is-in::before {
    transform: none;
  }

  .js .steps--timeline.reveal.is-in li {
    opacity: 1;
    transform: none;
  }

  .js .steps--timeline.reveal.is-in li:nth-child(2) { transition-delay: 0.25s; }
  .js .steps--timeline.reveal.is-in li:nth-child(3) { transition-delay: 0.5s; }
  .js .steps--timeline.reveal.is-in li:nth-child(4) { transition-delay: 0.75s; }
  .js .steps--timeline.reveal.is-in li:nth-child(5) { transition-delay: 1s; }

  .js:not(.js-ready) .steps--timeline.reveal li {
    animation: reveal-failsafe 0.4s 1.5s var(--ease) forwards;
  }

  /* Showcase panels ease in when a tab is chosen */
  .js-ready .show-panel:not([hidden]) {
    animation: panel-in 0.45s var(--ease);
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 820px) {
  .js .steps--timeline.reveal::before {
    transform: scaleY(0);
    transform-origin: top;
  }
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bar-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes float-a {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@keyframes float-b {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(8px);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 15. VISUAL INNER PAGES (2026-09-24) --------------------------------------
   Photos on services, products, industries, case studies, about, and the
   customers page, with a shared photo-reveal motion. */

.ico-xl {
  width: 56px;
  height: 56px;
  stroke-width: 1.2;
}

/* Photo cards used beside headings */
.ind-left {
  display: grid;
  gap: 24px;
  align-content: start;
}

.media-card,
.case-banner {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-1);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.case-banner {
  margin: 8px 0 24px;
}

.case-banner img {
  width: 100%;
  height: clamp(200px, 26vw, 340px);
  object-fit: cover;
}

.svc-block:hover .media-card img,
.ind-row:hover .media-card img {
  transform: scale(1.04);
}

/* Product cards with a media header (photo or designed icon panel) */
.prod-media {
  height: 180px;
  margin: calc(clamp(24px, 3vw, 36px) * -1) calc(clamp(24px, 3vw, 36px) * -1) 20px;
  overflow: hidden;
  background: var(--paper-2);
}

.prod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.prod-block {
  overflow: hidden;
}

.prod-block:hover .prod-media img {
  transform: scale(1.05);
}

.prod-media--icon,
.sys-media--icon {
  display: grid;
  place-items: center;
  color: var(--gold-night);
  background:
    radial-gradient(60% 80% at 80% 20%, var(--glow-blue), transparent 70%),
    linear-gradient(135deg, var(--night) 0%, var(--night-3) 100%);
}

/* Services hub hero collage */
.hero-collage {
  position: relative;
  min-height: 460px;
}

.hero-collage .mock-dash {
  width: 86%;
  margin-left: auto;
}

.hero-collage .mock-chat {
  position: absolute;
  left: 0;
  top: 110px;
  width: 52%;
}

.hero-collage .msg:nth-child(n + 3),
.hero-collage .chat-event {
  display: none;
}

/* Customer stories */
.stories {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: center;
}

.story--flip .story-media {
  order: 2;
}

.story-media {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 28, 0.85));
}

.story-media .label {
  margin: 0;
}

.story-body h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.story-built {
  color: var(--ink-2);
  font-size: 17px;
}

.story-built strong {
  color: var(--ink);
}

.story .chips {
  margin: 16px 0 4px;
}

.chip--soft {
  background: var(--paper-2);
  border-color: var(--line);
}

/* Systems grid on the customers page */
.sys-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sys-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.sys-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.sys-media {
  display: block;
  height: 140px;
  overflow: hidden;
}

.sys-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.sys-media.sys-media--icon {
  display: grid;
}

.sys-card:hover .sys-media img {
  transform: scale(1.06);
}

.sys-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 20px;
}

.sys-body strong {
  font-size: 17px;
}

.sys-body > span:last-child {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Interface strip (customers, about) */
.look-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.look-grid .mock {
  box-shadow: var(--shadow-3);
  border-color: rgba(255, 255, 255, 0.1);
}

.look-grid .mock-phone {
  box-shadow: none;
  border: 0;
}

.section--dark .mock-phone .mock-cap {
  color: var(--on-night-muted);
}

@media (max-width: 1060px) {
  .sys-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .look-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .look-phone {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .hero-collage {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .story,
  .look-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story--flip .story-media {
    order: 0;
  }
}

@media (max-width: 560px) {
  .sys-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-collage {
    min-height: 0;
  }

  .hero-collage .mock-chat {
    display: none;
  }

  .hero-collage .mock-dash {
    width: 100%;
  }
}

/* Photo reveal: photos settle from a slight zoom and blur as their block
   scrolls into view. Runs once; skipped for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .media-card img,
  .js .reveal .story-media img,
  .js .reveal .case-banner img,
  .js .reveal .prod-media img,
  .js .reveal .sys-media img,
  .js .reveal.photo-card img {
    transform: scale(1.12);
    filter: blur(6px);
    transition: transform 1.2s var(--ease), filter 0.9s var(--ease);
  }

  .js .reveal.is-in .media-card img,
  .js .reveal.is-in .story-media img,
  .js .reveal.is-in .case-banner img,
  .js .reveal.is-in .prod-media img,
  .js .reveal.is-in .sys-media img,
  .js .reveal.is-in.photo-card img {
    transform: none;
    filter: none;
  }

  .hero-collage .mock-dash {
    animation: float-a 7s ease-in-out 1.2s infinite alternate;
  }

  .hero-collage .mock-chat {
    animation: float-b 8s ease-in-out 0.6s infinite alternate;
  }
}

/* 12. PRINT ---------------------------------------------------------------- */

@media print {
  @page {
    size: A4 portrait;
    margin: 14mm 12mm;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 10.5pt;
    line-height: 1.5;
  }

  .skip-link,
  .wa-float,
  .site-header,
  .site-footer,
  .cta-band,
  .profile-bar,
  .menu-toggle,
  .actions,
  .toc,
  .enquiry,
  .arch-pulse,
  .arch-wire,
  .show-tabs,
  .hero--dark::before,
  .hero--dark::after,
  .page-hero::before,
  .page-hero::after {
    display: none !important;
  }

  .reveal,
  .msg,
  .chat-event,
  .steps--timeline li,
  .dash-chart span {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Stock photos are not printed: the footer credit that labels them is
     hidden in print, so the photos go too. */
  .kl-bg,
  .hero-bg,
  .photo-card,
  .svc-card-media,
  .media-card,
  .case-banner,
  .story-media,
  .prod-media,
  .sys-media,
  .look-grid,
  .hero-collage {
    display: none !important;
  }

  /* Dark bands print as black text on white */
  .page-hero,
  .page-hero *:not(.btn),
  .hero--dark,
  .hero--dark *:not(.btn),
  .kl-band--photo,
  .kl-band--photo *:not(.btn) {
    color: #000 !important;
  }

  .hero--dark,
  .kl-band--photo {
    background: #fff !important;
  }

  .section,
  .section--tint,
  .section--dark,
  .page-hero {
    background: #fff !important;
    color: #000 !important;
    padding: 18pt 0 !important;
  }

  .section--dark .sec-title,
  .section--dark .sec-intro,
  .section--dark .label,
  .section--dark dd,
  .section--dark dt,
  .section--dark strong,
  .section--dark span,
  .section--dark p {
    color: #000 !important;
  }

  .wrap {
    max-width: none;
    padding: 0;
  }

  .answer,
  .tile,
  .case-card,
  .prod-block,
  .post,
  .hero-card,
  .method,
  .readout {
    box-shadow: none !important;
    background: #fff !important;
  }

  a {
    color: #000 !important;
    text-decoration: none;
  }

  h2,
  h3 {
    break-after: avoid;
  }

  .faq-a {
    display: block !important;
  }

  /* Print every showcase panel, not only the selected tab */
  .show-panel[hidden] {
    display: grid !important;
  }

  /* ── Printable company profile: one section per A4 page ── */
  .profile .pf-cover {
    border: 0;
    padding: 80mm 0 0 !important;
    min-height: 240mm;
  }

  .profile .pf-sec {
    break-before: page;
    page-break-before: always;
    border: 0;
    padding: 0 !important;
  }

  .profile .pf-sec h2 {
    font-size: 22pt;
    margin-bottom: 14pt;
  }

  .profile .pf-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 18pt;
  }

  .profile .pf-grid--3 {
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .profile .pf-item,
  .profile .pf-case,
  .profile .datasheet tr,
  .profile .arch-node {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .profile .pf-item {
    padding: 9pt 0;
  }

  .profile .pf-item h3 {
    font-size: 12pt;
  }

  .profile .pf-item p,
  .profile .pf-item li {
    font-size: 9.5pt;
  }

  .profile .pf-case .results {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .profile .arch-flow {
    grid-template-columns: repeat(5, 1fr) !important;
  }

  .profile .arch-node {
    display: flex !important;
    flex-direction: column;
    text-align: center;
  }

  .profile .arch-node::after {
    display: none !important;
  }

  .profile .arch-step {
    display: block !important;
  }

  .label::before,
  .answer {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
