/* ==========================================================================
   Nexus Computing — Design System
   Palette: B2B navy #0F172A + blue CTA #0369A1 on #F8FAFC
   Type:    Space Grotesk (display) / Inter (body) / JetBrains Mono (labels)
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Ink ramp */
  --ink-900: #020617;
  --ink-800: #0F172A;
  --ink-700: #1E293B;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748B;
  --ink-300: #94A3B8;
  --ink-200: #CBD5E1;
  --ink-100: #E2E8F0;
  --ink-50:  #F1F5F9;

  /* Semantic surfaces */
  --bg:            #F8FAFC;
  --surface:       #FFFFFF;
  --surface-sunk:  #F1F5F9;
  --surface-invert:#0F172A;
  --border:        #E2E8F0;
  --border-strong: #CBD5E1;

  /* Brand */
  --brand:      #0369A1;
  --brand-600:  #0284C7;
  --brand-700:  #075985;
  --brand-100:  #E0F2FE;
  --brand-50:   #F0F9FF;
  --signal:     #06B6D4;   /* decorative strokes only — never text */

  /* Status */
  --danger:     #DC2626;
  --danger-50:  #FEF2F2;
  --ok:         #059669;
  --ok-50:      #ECFDF5;
  --warn:       #B45309;

  /* Foreground */
  --fg:         #020617;
  --fg-muted:   #475569;
  --fg-subtle:  #64748B;
  --on-brand:   #FFFFFF;

  /* Spacing scale */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.5rem;  --sp-8: 3rem;
  --sp-9: 4rem;    --sp-10: 5rem;   --sp-11: 6rem;   --sp-12: 8rem;

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-full: 999px;

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(2,6,23,.06), 0 1px 3px rgba(2,6,23,.04);
  --sh-md: 0 4px 6px -1px rgba(2,6,23,.07), 0 2px 4px -2px rgba(2,6,23,.05);
  --sh-lg: 0 12px 20px -6px rgba(2,6,23,.10), 0 6px 10px -6px rgba(2,6,23,.06);
  --sh-xl: 0 24px 44px -12px rgba(2,6,23,.16), 0 10px 18px -10px rgba(2,6,23,.08);
  --sh-brand: 0 10px 24px -8px rgba(3,105,161,.45);

  /* Motion — from motion.csv: Scroll Reveal (Subtle) 300–400ms power1.out */
  --ease-out: cubic-bezier(.33, 1, .68, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 380ms;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --header-h: 72px;

  /* Fonts */
  --f-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--brand-100); color: var(--ink-900); }

/* ---------- 3. Typography ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink-900);
  text-wrap: balance;
}

.display {
  font-size: clamp(2.35rem, 1.45rem + 4.1vw, 4.25rem);
  letter-spacing: -.035em;
}
h2, .h2 { font-size: clamp(1.85rem, 1.35rem + 2.1vw, 2.9rem); letter-spacing: -.028em; }
h3, .h3 { font-size: clamp(1.15rem, 1.06rem + .45vw, 1.4rem); letter-spacing: -.015em; line-height: 1.25; }

.lead {
  font-size: clamp(1.05rem, .99rem + .32vw, 1.22rem);
  line-height: 1.6;
  color: var(--fg-muted);
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}

.mono { font-family: var(--f-mono); }
.muted { color: var(--fg-muted); }

/* ---------- 4. Layout ---------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 768px) { .wrap { width: min(100% - 4rem, var(--wrap)); } }

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--sunk { background: var(--surface-sunk); }
.section--invert { background: var(--surface-invert); color: #E2E8F0; }
.section--invert h2, .section--invert h3 { color: #FFFFFF; }
.section--invert .lead { color: #94A3B8; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--sp-3); }
.section-head .lead { margin-top: var(--sp-4); }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Grid and flex children default to min-width:auto, so a long unbreakable token
   (an email address, the widest <select> option) can push an item past its track
   and produce horizontal page scroll. Let them shrink, and wrap long tokens. */
.grid > *, .split > *, .hero__grid > *, .enquiry > *,
.form__row-2 > *, .steps > *, .footer__grid > *,
.contact-item, .contact-item > *, .feature, .feature > *,
.field, .input, .select, .textarea { min-width: 0; }

.contact-item dd,
.contact-item dd a,
.footer__links a,
.form__summary a,
.diag-row__label { overflow-wrap: anywhere; }

/* Technical grid backdrop */
.tech-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- 5. Skip link ------------------------------------------------- */
.skip-link {
  position: absolute; left: 50%; top: -100px; z-index: 200;
  transform: translateX(-50%);
  background: var(--ink-900); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600; text-decoration: none;
  transition: top var(--t-base) var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ---------- 6. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  min-height: 48px;                 /* touch target ≥44px */
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-size: .975rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.btn:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: var(--sh-brand); }
.btn:active { transform: translateY(0); transition-duration: 80ms; }

/* Shine sweep */
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 620ms var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn--lg { min-height: 54px; padding: .95rem 1.9rem; font-size: 1.02rem; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-800);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--ink-300);
  box-shadow: var(--sh-md);
}

.btn--dark { --btn-bg: var(--ink-800); --btn-fg: #fff; }
.btn--dark:hover { background: var(--ink-700); box-shadow: var(--sh-lg); }

.btn--on-dark {
  --btn-bg: rgba(255,255,255,.07);
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.22);
}
.btn--on-dark:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); box-shadow: none; }

.btn[disabled], .btn[aria-disabled='true'] {
  opacity: .6; cursor: not-allowed; transform: none; box-shadow: none;
}
.btn[disabled]::after { display: none; }

.btn .ico { width: 18px; height: 18px; flex: none; }

/* ---------- 7. Header / Nav ---------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out);
}
.header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px -6px rgba(2,6,23,.14);
  background: rgba(248,250,252,.94);
}

.header__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: inherit; flex: none;
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark .diag { transition: stroke var(--t-base) var(--ease-out); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display); font-weight: 700; font-size: 1.06rem;
  letter-spacing: -.02em; color: var(--ink-900);
}
.brand__sub {
  font-family: var(--f-mono); font-size: .58rem; font-weight: 500;
  letter-spacing: .26em; color: var(--fg-subtle); margin-top: 3px;
}

.nav { margin-left: auto; display: none; }
@media (min-width: 1000px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: var(--sp-2); }
.nav__link {
  position: relative;
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 500;
  color: var(--ink-600); text-decoration: none;
  transition: color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem;
  height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink-900); font-weight: 600; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
@media (min-width: 1000px) { .header__actions { margin-left: var(--sp-4); } }

.header__tel {
  display: none; align-items: center; gap: .45rem;
  font-family: var(--f-mono); font-size: .88rem; font-weight: 500;
  color: var(--ink-800); text-decoration: none;
  padding: .5rem .75rem; border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease-out);
}
.header__tel:hover { background: var(--brand-50); }
@media (min-width: 640px) { .header__tel { display: inline-flex; } }
.header__cta { display: none; }
@media (min-width: 560px) { .header__cta { display: inline-flex; } }

/* Burger */
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex: none;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--r-md); cursor: pointer;
  transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.burger:hover { background: var(--surface); border-color: var(--border-strong); }
@media (min-width: 1000px) { .burger { display: none; } }
.burger__box { width: 20px; height: 14px; position: relative; }
.burger__box span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--ink-800); border-radius: 2px;
  transition: transform var(--t-base) var(--ease-io), opacity var(--t-fast) linear, top var(--t-base) var(--ease-io);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 6px; }
.burger__box span:nth-child(3) { top: 12px; }
.burger[aria-expanded='true'] .burger__box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded='true'] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile panel */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--bg);
  padding: var(--sp-5) 0 var(--sp-8);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  /* visibility flips instantly on open (so the first link is focusable on the
     same frame) and is deferred on close until the fade has finished. */
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              visibility 0s linear var(--t-base);
}
.mobile-nav.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              visibility 0s linear 0s;
}
@media (min-width: 1000px) { .mobile-nav { display: none; } }
.mobile-nav__list { display: grid; gap: .25rem; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: .75rem 1rem;
  border-radius: var(--r-md);
  font-family: var(--f-display); font-size: 1.15rem; font-weight: 600;
  color: var(--ink-900); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast) var(--ease-out), padding-left var(--t-fast) var(--ease-out);
}
.mobile-nav__link:hover, .mobile-nav__link:focus-visible { background: var(--brand-50); padding-left: 1.35rem; }
.mobile-nav__link .ico { width: 16px; height: 16px; color: var(--ink-300); }
.mobile-nav__foot { margin-top: var(--sp-6); display: grid; gap: .75rem; }

body.nav-open { overflow: hidden; }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(3rem, 1.5rem + 7vw, 6.5rem) clamp(3rem, 2rem + 5vw, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 78% 8%, rgba(3,105,161,.09), transparent 62%),
    radial-gradient(ellipse 60% 50% at 12% 4%, rgba(6,182,212,.07), transparent 60%),
    var(--bg);
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .95;
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }

.hero__copy { max-width: 40rem; }
.hero h1 { margin-top: var(--sp-4); }
.hero .lead { margin-top: var(--sp-5); max-width: 34rem; }

.badge-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .85rem .4rem .55rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  box-shadow: var(--sh-sm);
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-600);
}
.badge-pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 3px rgba(5,150,105,.16);
  animation: pulse-dot 2.4s var(--ease-io) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(5,150,105,.16); }
  50%      { box-shadow: 0 0 0 6px rgba(5,150,105,.04); }
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--sp-6); }

.hero__assurance {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-top: var(--sp-6);
  font-size: .88rem; color: var(--fg-muted);
}
.hero__assurance li { display: flex; align-items: center; gap: .45rem; }
.hero__assurance .ico { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* Diagnostic panel visual */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.panel__bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem 1rem;
  background: var(--ink-800);
  border-bottom: 1px solid var(--ink-700);
}
.panel__dots { display: flex; gap: .3rem; }
.panel__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.panel__title {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: #94A3B8; margin-left: .4rem;
}
.panel__body { padding: 1.15rem; display: grid; gap: .6rem; }

.diag-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem;
  padding: .7rem .85rem;
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.diag-row__label {
  font-family: var(--f-mono); font-size: .8rem; color: var(--ink-700);
  display: flex; align-items: center; gap: .55rem; min-width: 0;
}
.diag-row__label .ico { width: 15px; height: 15px; color: var(--brand); flex: none; }
.diag-row__label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.diag-row__status {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: var(--r-full); flex: none;
}
.diag-row__status.ok    { background: var(--ok-50);     color: #047857; }
.diag-row__status.warn  { background: #FFFBEB;          color: var(--warn); }
.diag-row__status.busy  { background: var(--brand-50);  color: var(--brand-700); }

.diag-meter { height: 5px; background: var(--ink-100); border-radius: var(--r-full); overflow: hidden; }
.diag-meter i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--signal));
  border-radius: inherit;
  transition: width 1.4s var(--ease-out);
}
.panel.is-live .diag-meter i { width: var(--fill, 70%); }

/* ---------- 9. Stat strip ------------------------------------------------ */
.stats {
  display: grid; gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: var(--sp-6) var(--sp-5); text-align: center; }
.stat__num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
  letter-spacing: -.03em; color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.stat__num .unit { color: var(--brand); }
.stat__label {
  margin-top: .35rem;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--fg-subtle);
}

/* ---------- 10. Service cards -------------------------------------------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
/* Circuit trace that draws across the top edge on hover */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--signal));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--border-strong);
}
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }

.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: none;
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand);
  margin-bottom: var(--sp-4);
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}
.card__icon .ico { width: 24px; height: 24px; }
.card:hover .card__icon { background: var(--brand); color: #fff; }

.card h3 { margin-bottom: .6rem; }
.card__desc { color: var(--fg-muted); font-size: .95rem; }
.card__list { margin-top: var(--sp-4); display: grid; gap: .45rem; }
.card__list li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .89rem; color: var(--ink-600);
}
.card__list .ico { width: 15px; height: 15px; color: var(--brand); flex: none; margin-top: .28rem; }

.card__foot {
  margin-top: auto; padding-top: var(--sp-5);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.card__meta {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.card__link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .89rem; font-weight: 600; color: var(--brand); text-decoration: none;
}
.card__link .ico { width: 15px; height: 15px; transition: transform var(--t-fast) var(--ease-out); }
.card__link:hover .ico { transform: translateX(3px); }
.card__link::after { content: ''; position: absolute; inset: 0; }

/* ---------- 11. Process -------------------------------------------------- */
.steps { display: grid; gap: var(--sp-6); position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); } }

.step { position: relative; padding-top: var(--sp-5); }
.step::before {
  content: ''; position: absolute; top: 26px; left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step:last-child::before { display: none; }
@media (max-width: 899px) { .step::before { display: none; } }

.step__num {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  font-family: var(--f-mono); font-size: .92rem; font-weight: 500;
  color: var(--brand);
  margin-bottom: var(--sp-4);
}
.section--invert .step__num { background: var(--ink-700); border-color: var(--ink-600); color: #38BDF8; }
.section--invert .step::before {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 6px, transparent 6px 12px);
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .93rem; color: var(--fg-muted); }
.section--invert .step p { color: #94A3B8; }

/* ---------- 12. Feature split -------------------------------------------- */
.split { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: center; }
@media (min-width: 950px) { .split { grid-template-columns: 1fr 1fr; } }

.feature-list { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start;
}
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-md);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand);
}
.feature__icon .ico { width: 21px; height: 21px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { font-size: .93rem; color: var(--fg-muted); }

/* ---------- 13. Testimonials --------------------------------------------- */
.quote {
  display: flex; flex-direction: column;
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.quote__stars { display: flex; gap: .15rem; color: #F59E0B; margin-bottom: var(--sp-4); }
.quote__stars .ico { width: 17px; height: 17px; }
.quote blockquote { font-size: 1rem; line-height: 1.7; color: var(--ink-700); }
.quote figcaption {
  margin-top: auto; padding-top: var(--sp-5);
  display: flex; align-items: center; gap: .75rem;
}
.quote__avatar {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--ink-800); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem;
}
.quote__who { font-weight: 600; font-size: .92rem; color: var(--ink-900); }
.quote__where { font-family: var(--f-mono); font-size: .74rem; color: var(--fg-subtle); }

/* ---------- 14. FAQ ------------------------------------------------------ */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; display: grid; gap: .75rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.faq__item[open] { border-color: var(--border-strong); box-shadow: var(--sh-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 60px; padding: 1rem 1.25rem;
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem;
  color: var(--ink-900); cursor: pointer;
  list-style: none;
  transition: background var(--t-fast) var(--ease-out);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--brand-50); }
.faq__sign { position: relative; width: 18px; height: 18px; flex: none; }
.faq__sign::before, .faq__sign::after {
  content: ''; position: absolute; background: var(--brand); border-radius: 2px;
  transition: transform var(--t-base) var(--ease-io), opacity var(--t-fast) linear;
}
.faq__sign::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__sign::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 1.25rem 1.25rem; color: var(--fg-muted); font-size: .95rem; }
.faq__item[open] .faq__a { animation: faq-in var(--t-slow) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 15. Form ----------------------------------------------------- */
.enquiry {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 950px) { .enquiry { grid-template-columns: .85fr 1.15fr; } }

.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--sh-sm);
  display: grid; gap: var(--sp-5);
}
@media (max-width: 479px) { .contact-card { padding: var(--sp-5); } }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; }
.contact-item__icon {
  width: 42px; height: 42px; flex: none; border-radius: var(--r-md);
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-item__icon .ico { width: 19px; height: 19px; }
.contact-item dt {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--fg-subtle); margin-bottom: .2rem;
}
.contact-item dd { margin: 0; font-weight: 500; color: var(--ink-900); font-size: .97rem; }
.contact-item dd a { color: var(--ink-900); text-decoration: none; }
/* A long address would otherwise break mid-token on narrow screens; shrink it
   slightly rather than wrapping it after a full stop. */
.contact-item dd a[href^="mailto:"] { font-size: clamp(.84rem, .74rem + .42vw, .97rem); }
.contact-item dd a:hover { color: var(--brand); text-decoration: underline; }
.contact-item dd small { display: block; font-weight: 400; color: var(--fg-muted); font-size: .85rem; margin-top: .15rem; }

.form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(1.25rem, .8rem + 1.6vw, 2.25rem);
  box-shadow: var(--sh-md);
}
.form__grid { display: grid; gap: var(--sp-5); }
@media (min-width: 620px) { .form__row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }

.field { display: grid; gap: .4rem; }
.field label {
  font-size: .89rem; font-weight: 600; color: var(--ink-800);
  display: flex; align-items: center; gap: .35rem;
}
.field .req { color: var(--danger); font-weight: 400; }
.field .hint { font-size: .82rem; color: var(--fg-subtle); font-weight: 400; }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .9rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 1rem;                 /* ≥16px prevents iOS zoom-on-focus */
  color: var(--ink-900);
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(3,105,161,.14);
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}

.field[data-invalid='true'] .input,
.field[data-invalid='true'] .select,
.field[data-invalid='true'] .textarea {
  border-color: var(--danger);
  background: var(--danger-50);
}
.field[data-invalid='true'] .input:focus,
.field[data-invalid='true'] .select:focus,
.field[data-invalid='true'] .textarea:focus {
  box-shadow: 0 0 0 4px rgba(220,38,38,.14);
}

.field__error {
  display: none;
  align-items: center; gap: .35rem;
  font-size: .84rem; font-weight: 500; color: var(--danger);
}
.field[data-invalid='true'] .field__error { display: flex; }
.field__error .ico { width: 15px; height: 15px; flex: none; }

/* Radio chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.chip span {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: .55rem 1rem;
  border: 1px solid var(--border-strong); border-radius: var(--r-full);
  font-size: .89rem; font-weight: 500; color: var(--ink-600);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.chip input:hover + span { border-color: var(--ink-300); background: var(--surface-sunk); }
.chip input:checked + span {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: var(--sh-brand);
}
.chip input:focus-visible + span { outline: 3px solid var(--brand-600); outline-offset: 3px; }

/* Consent checkbox */
.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.consent input {
  width: 22px; height: 22px; margin: 2px 0 0; flex: none;
  accent-color: var(--brand); cursor: pointer;
}
.consent label { font-size: .87rem; font-weight: 400; color: var(--fg-muted); line-height: 1.55; }

/* Honeypot — hidden from humans, visible to naive bots */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* Error summary */
.form__summary {
  display: none;
  padding: 1rem 1.15rem;
  background: var(--danger-50);
  border: 1px solid #FECACA;
  border-left: 4px solid var(--danger);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
}
.form__summary.is-shown { display: block; }
.form__summary h3 { font-size: 1rem; color: #991B1B; margin-bottom: .5rem; }
.form__summary ul { display: grid; gap: .25rem; }
.form__summary a { color: #991B1B; font-size: .89rem; font-weight: 500; }

/* Status banner */
.form__status { display: none; padding: 1rem 1.15rem; border-radius: var(--r-md); margin-top: var(--sp-5); font-size: .93rem; }
.form__status.is-ok    { display: block; background: var(--ok-50);     border: 1px solid #A7F3D0; color: #065F46; }
.form__status.is-error { display: block; background: var(--danger-50); border: 1px solid #FECACA; color: #991B1B; }

/* Button spinner */
.spinner {
  width: 17px; height: 17px; flex: none;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 16. Footer --------------------------------------------------- */
.footer { background: var(--ink-900); color: #94A3B8; padding-block: var(--sp-9) var(--sp-6); }
.footer__grid { display: grid; gap: var(--sp-7); }
@media (min-width: 720px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #64748B; }
.footer__blurb { margin-top: var(--sp-4); font-size: .92rem; max-width: 30ch; }
.footer h4 {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: #64748B;
  margin-bottom: var(--sp-4);
}
.footer__links { display: grid; gap: .6rem; }
.footer__links a {
  color: #CBD5E1; text-decoration: none; font-size: .93rem;
  transition: color var(--t-fast) var(--ease-out);
}
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  margin-top: var(--sp-8); padding-top: var(--sp-5);
  border-top: 1px solid var(--ink-700);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
  font-size: .85rem; color: #64748B;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.footer__legal a { color: #64748B; text-decoration: none; }
.footer__legal a:hover { color: #CBD5E1; text-decoration: underline; }

/* ---------- 17. Sticky mobile call bar ----------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px -8px rgba(2,6,23,.16);
  transform: translateY(110%);
  transition: transform var(--t-slow) var(--ease-out);
}
.callbar.is-shown { transform: translateY(0); }
@media (min-width: 768px) { .callbar { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 767px) { body.has-callbar { padding-bottom: 76px; } }

/* ---------- 18. Back to top ---------------------------------------------- */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 89;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink-800); color: #fff;
  border: none; border-radius: var(--r-md);
  box-shadow: var(--sh-lg); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              visibility var(--t-base), background var(--t-fast) var(--ease-out);
}
.totop.is-shown { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--brand); }
@media (max-width: 767px) { .totop { bottom: 88px; right: 14px; } }

/* ---------- 19. Scroll reveal -------------------------------------------- */
/* Subtle tier from motion.csv: 300–400ms, y 8–16px, power1.out equivalent.
   .js class is set by main.js so no-JS users see everything immediately. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 20. Utilities ------------------------------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
.divider { height: 1px; background: var(--border); border: 0; }

/* ---------- 21. Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* Render the completed final state rather than the pre-animation state */
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn:hover { transform: none; }
  .card:hover, .quote:hover { transform: none; }
}

/* ---------- 22. Print ---------------------------------------------------- */
@media print {
  .header, .callbar, .totop, .mobile-nav, .hero__canvas, .form { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 1rem; }
}
