@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700&display=swap');

/* ============================================================
   MicroDynamics — Precision Instruments
   Editorial industrial design system
   ============================================================ */

:root {
  --ink:        #1C1E25;     /* primary dark charcoal */
  --ink-2:      #1C1E25;     /* softened dark charcoal for sitewide dark sections */
  --ink-3:      #1C1E25;     /* softened dark charcoal for sitewide dark sections */
  --paper:      #dfe3ea;     /* sitewide grey main bg */
  --paper-2:    #e8ebf0;     /* lighter grey surface */
  --paper-3:    #cfd5de;     /* subtle grey bg */
  --mute:       #6a6a6a;
  --mute-dark:  rgba(255,255,255,.55);

  /* Brand colors */
  --crimson:    #c4221a;     /* the modernized red */
  --crimson-2:  #f24b3e;     /* hot accent */
  --indigo:     #1a1148;     /* deep brand navy/indigo */

  /* Accent (tweakable) */
  --accent:     var(--crimson);
  --accent-ink: #fff;
  /* Sizing */
  --max:    1440px;
  --gut:    clamp(20px, 4vw, 56px);
}

[data-display="inter"]      { --f-display: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
[data-display="serif"]      { --f-display: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
[data-display="space"]      { --f-display: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
[data-display="bricolage"]  { --f-display: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
[data-display="mono"]       { --f-display: 'Satoshi', ui-sans-serif, system-ui, sans-serif; letter-spacing: -.02em; }

[data-body="space"]   { --f-body: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
[data-body="inter"]   { --f-body: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
[data-body="serif"]   { --f-body: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
[data-body="mono"]    { --f-body: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }

[data-accent="crimson"] { --accent: #c4221a; --accent-ink: #fff; }
[data-accent="indigo"]  { --accent: #2a23ab; --accent-ink: #fff; }
[data-accent="lime"]    { --accent: #c4ff00; --accent-ink: #0b0d14; }
[data-accent="amber"]   { --accent: #f59e0b; --accent-ink: #0b0d14; }
[data-accent="cobalt"]  { --accent: #1e6dff; --accent-ink: #fff; }

/* -------- Background themes -------- */
[data-bg="cream"] {
  --paper:   #dfe3ea;
  --paper-2: #e8ebf0;
  --paper-3: #cfd5de;
  --line:    #b4bcc7;
}
[data-bg="paper"] {
  --paper:   #ffffff;
  --paper-2: #fafafa;
  --paper-3: #f1f1f1;
  --line:    #e2e2e2;
}
[data-bg="ivory"] {
  --paper:   #faf6ec;
  --paper-2: #fffcf5;
  --paper-3: #f1ead7;
  --line:    #ddd2b8;
}
[data-bg="fog"] {
  --paper:   #dfe3ea;
  --paper-2: #e8ebf0;
  --paper-3: #cfd5de;
  --line:    #b4bcc7;
}
[data-bg="sand"] {
  --paper:   #ecd9b9;
  --paper-2: #f5e8cd;
  --paper-3: #e0c79c;
  --line:    #c9a96b;
}
[data-bg="ink"] {
  --paper:   #1C1E25;
  --paper-2: #1C1E25;
  --paper-3: #1C1E25;
  --line:    rgba(255,255,255,.10);
  --mute:    rgba(255,255,255,.55);
  /* --ink stays dark so sections that hard-code background: var(--ink)
     (hero, footer, CTA, MIRA spread, robotics) remain legible. */
}
[data-bg="ink"]::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 44%, rgba(135,9,31,.2)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.03) 23px 24px);
  pointer-events: none;
  opacity: .5;
  z-index: -1;
}
[data-bg="ink"] body { color: #f3efe6; }
[data-bg="ink"] .nav { background: rgba(28,30,37,.85); border-bottom-color: rgba(255,255,255,.08); }
[data-bg="ink"] .nav-links a { color: #f3efe6; }
[data-bg="ink"] .nav-links a:hover,
[data-bg="ink"] .nav-links a.is-active { color: var(--crimson-2); }
[data-bg="ink"] .nav-dropdown-toggle { color: #f3efe6; }
[data-bg="ink"] .nav-dropdown-toggle:hover,
[data-bg="ink"] .nav-dropdown:hover .nav-dropdown-toggle { color: var(--crimson-2); }
[data-bg="ink"] .nav-dropdown-menu { background: #1C1E25; border-color: rgba(255,255,255,.08); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
[data-bg="ink"] .nav-dropdown-menu::before { background: #1C1E25; border-color: rgba(255,255,255,.08); }
[data-bg="ink"] .nav-dropdown-menu a { color: #f3efe6; }
[data-bg="ink"] .nav-dropdown-menu a:hover { background: rgba(255,255,255,.06); color: var(--crimson-2); }
[data-bg="ink"] .btn-ghost { border-color: rgba(255,255,255,.4); color: #f3efe6; }
[data-bg="ink"] .btn-ghost:hover { background: #f3efe6; color: #0b0d14; border-color: #f3efe6; }
[data-bg="ink"] .p-card { background: #1C1E25; border-color: rgba(255,255,255,.08); }
[data-bg="ink"] .p-card .footer { border-top-color: rgba(255,255,255,.1); }
[data-bg="ink"] .p-card p { color: rgba(255,255,255,.65); }
[data-bg="ink"] .news-card { background: #1C1E25; border-color: rgba(255,255,255,.08); }
[data-bg="ink"] .news-card .date { color: rgba(255,255,255,.55); }
[data-bg="ink"] .news-card:hover { border-color: #f3efe6; }
[data-bg="ink"] .numbers { background: #1C1E25; border-color: rgba(255,255,255,.08); }
[data-bg="ink"] .numbers .n { border-right-color: rgba(255,255,255,.08); }
[data-bg="ink"] .numbers .d { color: #f3efe6; }
[data-bg="ink"] .numbers .k { color: rgba(255,255,255,.55); }
[data-bg="ink"] .section.tint { background: #1C1E25; }
[data-bg="ink"] .process { border-top-color: rgba(255,255,255,.08); }
[data-bg="ink"] .process .cell { border-right-color: rgba(255,255,255,.08); border-bottom-color: rgba(255,255,255,.08); }
[data-bg="ink"] .process .cell p { color: rgba(255,255,255,.65); }
[data-bg="ink"] .logos { background: #1C1E25; border-color: rgba(255,255,255,.08); }
[data-bg="ink"] .logos-track { border-color: rgba(255,255,255,.08); }
[data-bg="ink"] .logos-track .row .item { color: #f3efe6; border-right-color: rgba(255,255,255,.08); }
[data-bg="ink"] .logos-track .row .item small { color: rgba(255,255,255,.5); }
[data-bg="ink"] .s-head .lead { color: rgba(255,255,255,.65); }
[data-bg="ink"] .meta { color: rgba(255,255,255,.55); }
[data-bg="ink"] .caps { background: #1C1E25; border-color: rgba(255,255,255,.08); }
[data-bg="ink"] .caps .item { border-top-color: #f3efe6; }
[data-bg="ink"] .caps .item p { color: rgba(255,255,255,.65); }
[data-bg="ink"] .feature:not(.dark) { background: #1C1E25; color: #f3efe6; border-bottom-color: rgba(255,255,255,.08); }
[data-bg="ink"] .feature:not(.dark) .text p { color: rgba(255,255,255,.7); }
[data-bg="ink"] .feature:not(.dark) .text .num { color: var(--crimson-2); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
body * {
  font-weight: 400 !important;
}

strong,
b {
  font-weight: inherit !important;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* -------- Layout -------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.hr   { height: 1px; background: var(--line); width: 100%; }
.hr-d { height: 1px; background: var(--line-dark); width: 100%; }

/* -------- Mono "meta" label -------- */
.meta {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.meta::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: 1;
}
.meta.bare::before { display: none; }
.meta.dot::before {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--crimson); opacity: 1;
}
.meta.crimson { color: var(--crimson); }
.meta.dark { color: var(--mute-dark); }

.heading-period {
  color: var(--crimson-2);
  display: inline;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

/* Add this: */
.heading-period::after {
  content: '.';
}

.logo-3xl {
  position: absolute;
  inset: 0;
  width: auto;
  width: 100%;
  height: 100%;

  transform-origin: center center;
  z-index: 1;
  pointer-events: none;
}


/* -------- Announcement bar -------- */
.announce {
  background: var(--ink);
  color: #fff;
  object-fit: cover;
  font-size: 12px;
  letter-spacing: .04em;
}
.announce .wrap {

  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.announce .news {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; overflow: hidden; white-space: nowrap;
}
.announce .news .pill {
  background: var(--crimson);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: .12em;
  font-weight: 600;
}
.announce .right { display: flex; gap: 22px; opacity: .8; }
.announce a:hover { color: var(--crimson-2); }

/* -------- Nav -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}
.nav .wrap {
  min-height: 84px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.nav .brand > img {
  height: 3.35rem !important;
  width: auto;
}
.brand .mark {
  width: 36px; height: 36px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.04em;
}
.brand .mark::after {
  content: '';
  width: 7px; height: 7px;
  background: var(--crimson);
  position: absolute;
}
.brand .mark { position: relative; }
.brand .mark::after { right: -3px; bottom: -3px; }
.brand .word {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.01em;
  line-height: 1;
}
.brand .word small {
  display: block;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--mute);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 15px;
  letter-spacing: -.005em;
}
.nav-links a {
  position: relative; padding: 6px 0;
  color: var(--ink);
}
.nav-links a:hover { color: var(--crimson); }
.nav-links a.is-active { color: var(--crimson); }
.nav-links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--crimson);
}
.nav-dropdown-menu a.is-active::after { display: none; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mute);
  white-space: nowrap;
}
.nav-meta a {
  display: inline-flex;
  align-items: center;
  color: inherit;
}
.nav-meta a:hover {
  color: var(--crimson);
}

/* Nav dropdown — Stripe-style */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: 15px; letter-spacing: -.005em;
  color: var(--ink); padding: 6px 0;
  display: flex; align-items: center; gap: 4px;
  transition: color .15s;
}
.nav-dropdown-toggle.is-active,
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--crimson); }
.nav-dropdown.is-open .nav-dropdown-toggle { color: var(--crimson); }
.nav-dropdown-toggle .chevron {
  font-size: 9px; transition: transform .25s cubic-bezier(.4,0,.2,1);
  display: inline-block;
}
.nav-dropdown:hover .nav-dropdown-toggle .chevron,
.nav-dropdown.is-open .nav-dropdown-toggle .chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 200px;
  padding: 10px 0;
  background: var(--paper-2);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
  /* Start hidden + shifted */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px) scale(.96);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity .25s cubic-bezier(.4,0,.2,1),
    transform .25s cubic-bezier(.4,0,.2,1),
    visibility .25s;
  z-index: 100;
}
/* Arrow pointer */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--paper-2);
  border-top: 1px solid rgba(0,0,0,.04);
  border-left: 1px solid rgba(0,0,0,.04);
  border-radius: 2px 0 0 0;
}
/* Invisible bridge to prevent gap between trigger and menu */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  font-size: 14px; color: var(--ink);
  transition: background .15s, color .15s, padding-left .15s;
  position: relative;
}
.nav-dropdown-menu a:hover {
  background: var(--paper-3);
  color: var(--crimson);
  padding-left: 24px;
}
.nav-dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; border-radius: 2px;
  background: var(--crimson);
  transition: height .2s cubic-bezier(.4,0,.2,1);
}
.nav-dropdown-menu a:hover::before {
  height: 20px;
}

.nav-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.52);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .24s ease, opacity .24s ease;
}

.nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink); color: #fff;
}
.btn-primary:hover { background: var(--crimson); }
.btn-crimson { background: var(--crimson); color: #fff; }
.btn-crimson:hover { background: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light {
  border-color: rgba(255,255,255,.4); color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-small { padding: 9px 14px; font-size: 12.5px; }
.btn .arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* -------- Hero -------- */
.hero {
  --hero-bg: #f7f6f7;
  position: relative;
  background: var(--hero-bg);
  color: #f2f3f7;
  overflow: hidden;
  width: 100%;
  min-height: 720px;
  display: flex; flex-direction: column;
  isolation: isolate;
}
.hero > * { position: relative; z-index: 2; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(11, 13, 20, 0.7) 0%,
      rgba(11, 13, 20, 0.35) 35%,
      rgba(11, 13, 20, 0.85) 100%
    ),
    radial-gradient(
      1200px 700px at 80% 30%,
      rgba(196, 34, 26, 0.18),
      rgba(0, 0, 0, 0) 70%
    );
}

.hero-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 40px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(232, 236, 244, 0.58);
}
.hero-top .ticks { display: flex; gap: 28px; }
.hero-top .ticks span { position: relative; }
.hero-top .ticks span:first-child::before { display: none; }
.hero-top .ticks span::before {
  content: ''; position: absolute; left: -14px; top: 50%;
  width: 6px; height: 1px; background: rgba(232, 236, 244, 0.35);
}
.hero-top .live {
  color: var(--crimson-2);
  display: flex; align-items: center; gap: 8px;
}
.hero-top .live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--crimson-2);
  box-shadow: 0 0 0 0 rgba(242,75,62,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242,75,62,.7); }
  70%{ box-shadow: 0 0 0 14px rgba(242,75,62,0); }
  100%{ box-shadow: 0 0 0 0 rgba(242,75,62,0); }
}

.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  align-content: stretch;
  gap: clamp(28px, 4vw, 64px);
  padding: 64px 0 48px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(62px, 9.5vw, 142px);
  line-height: .92;
  letter-spacing: -.04em;
  text-wrap: balance;
  color: #f7f8fb;
}
.hero h1 em {
  font-style: normal;
  font-family: inherit;
  font-weight: 400;
}
.hero h1 .crimson { color: var(--crimson-2); }

.hero-side {
  display: flex; flex-direction: column;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(240, 244, 252, 0.18);
  max-width: 44ch;
}
.hero-side p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(238, 242, 249, 0.82);
  max-width: 40ch;
}
.hero .meta.dark {
  color: var(--crimson);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  min-width: 0;
  width: calc(100% + var(--gut) + 32px - 28px);
  height: auto;
  margin-left: -32px;
  margin-right: 0;
  margin-top: -28px;
  margin-bottom: 28px;
  overflow: hidden;
  align-self: center;
  justify-self: stretch;
  background: transparent;
  isolation: isolate;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, rgba(0,0,0,.8) 6%, #000 12%, #000 88%, rgba(0,0,0,.8) 94%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, rgba(0,0,0,.8) 6%, #000 12%, #000 88%, rgba(0,0,0,.8) 94%, rgba(0,0,0,0) 100%);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(11, 13, 20, 0.34) 0%,
      rgba(11, 13, 20, 0.14) 36%,
      rgba(11, 13, 20, 0.4) 100%
    ),
    radial-gradient(
      1200px 700px at 80% 30%,
      rgba(196, 34, 26, 0.12),
      rgba(0, 0, 0, 0) 70%
    );
}
.hero-media .bg-video {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  background: transparent;
  z-index: 1;
}

.hero-meta-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(240, 244, 252, 0.16);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.hero-meta-bar > div {
  padding: 24px 28px 28px;
  border-right: 1px solid rgba(240, 244, 252, 0.14);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta-bar > div:last-child { border-right: 0; }
.hero-meta-bar .v {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -.02em;
  color: #f7f8fb;
}
.hero-meta-bar .v sup { font-size: 14px; color: var(--crimson-2); }
.hero-meta-bar .k {
  color: rgba(232, 236, 244, 0.56);
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: .18em;
}

@media (min-width: 1081px) {
  .hero > .wrap {
    width: 100%;
    max-width: none;
    padding-left: var(--gut);
    padding-right: var(--gut);
    display: flex;
    flex-direction: column;
  }

  .hero-top {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: clamp(44px, 5.9vw, 88px);
  }

  .hero-side p {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-meta-bar > div {
    padding: 12px 18px 14px;
  }

  .hero-meta-bar .v {
    font-size: 24px;
  }

  .hero-meta-bar .k {
    font-size: 9.5px;
  }
}

/* Crosshair reticle in hero */
.reticle {
  position: absolute;
  width: 240px; height: 240px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.reticle::before, .reticle::after {
  content: ''; position: absolute; background: rgba(255,255,255,.35);
}
.reticle::before { left: 50%; top: -14px; bottom: -14px; width: 1px; transform: translateX(-.5px); }
.reticle::after  { top: 50%; left: -14px; right: -14px; height: 1px; transform: translateY(-.5px); }

.reticle .inner {
  position: absolute; inset: 60px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}
.reticle .tag {
  position: absolute; left: calc(100% + 16px); top: 8px;
  font-family: var(--f-mono); font-size: 10.5px; color: rgba(255,255,255,.65);
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.reticle .tag::before {
  content: ''; display: inline-block; width: 14px; height: 1px;
  background: rgba(255,255,255,.45); vertical-align: middle; margin-right: 8px;
}

/* -------- Section header -------- */
.section { padding: 100px 0; }
.section.dark { 
  background: var(--ink); 
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 44%, rgba(135,9,31,.2)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.03) 23px 24px);
  pointer-events: none;
  opacity: .6;
}
.section.dark > * {
  position: relative;
  z-index: 1;
}
.section.tint  { background: var(--paper-3); }

/* -------- Markets page -------- */

.market-section.tint { background: var(--paper-3); }
.market-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.market-card.reverse { direction: rtl; }
.market-card.reverse > * { direction: ltr; }
.market-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink-2);
}
.market-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.market-card:hover .market-img img { transform: scale(1.03); }
.market-info {
  display: flex; flex-direction: column; gap: 16px;
}
.market-info h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.market-info p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 52ch;
}
@media (max-width: 1080px) {
  .market-card, .market-card.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
}

/* -------- Countries page -------- */
.countries-section {
  padding: 0 0 100px;
}
.countries-shell {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}
.countries-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 24, 39, .10);
}
.countries-metric {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7b8492;
  white-space: nowrap;
}
.countries-metric--label {
  color: #161823;
}
.countries-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.countries-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 0;
    opacity: .96;
}
.countries-row:last-child { border-bottom: none; }
.countries-row__label,
.countries-row__value {
  position: relative;
  z-index: 1;
}
.countries-row__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
      -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
  font-weight: 500;
  color: #364152;
}
.countries-row__flag {
  flex: 0 0 auto;
  position: relative;
  width: 24px;
  height: 16px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  background: #eef2f7;
}
.countries-row__flag::before,
.countries-row__flag::after {
  content: '';
  position: absolute;
}
.countries-row__flag--us {
  background: repeating-linear-gradient(180deg, #c63d32 0 10%, #ffffff 10% 20%);
}
.countries-row__flag--us::before {
  inset: 0 auto auto 0;
  width: 44%;
  height: 54%;
  background: #21468b;
}
.countries-row__flag--brazil {
  background: #1f8b4c;
}
.countries-row__flag--brazil::before {
  inset: 3px;
  background: #f2c94c;
  transform: rotate(45deg);
}
.countries-row__flag--brazil::after {
  inset: 5px 7px;
  border-radius: 50%;
  background: #2f5fb3;
}
.countries-row__flag--italy {
  background: linear-gradient(90deg, #1f8b4c 0 33.33%, #ffffff 33.33% 66.66%, #d34646 66.66% 100%);
}
.countries-row__flag--canada {
  background: linear-gradient(90deg, #d62828 0 25%, #ffffff 25% 75%, #d62828 75% 100%);
}
.countries-row__flag--canada::before {
  inset: 4px 9px;
  background: #d62828;
  clip-path: polygon(50% 0%, 62% 28%, 100% 28%, 70% 48%, 82% 100%, 50% 66%, 18% 100%, 30% 48%, 0% 28%, 38% 28%);
}
.countries-row__flag--netherlands {
  background: linear-gradient(180deg, #ae1c28 0 33.33%, #ffffff 33.33% 66.66%, #21468b 66.66% 100%);
}
.countries-row__flag--belgium {
  background: linear-gradient(90deg, #111111 0 33.33%, #f4d03f 33.33% 66.66%, #d62828 66.66% 100%);
}
.countries-row__flag--uk {
  background:
    linear-gradient(90deg, transparent 43%, #c62828 43% 57%, transparent 57%),
    linear-gradient(180deg, transparent 38%, #c62828 38% 62%, transparent 62%),
    linear-gradient(90deg, transparent 34%, #ffffff 34% 66%, transparent 66%),
    linear-gradient(180deg, transparent 30%, #ffffff 30% 70%, transparent 70%),
    #21468b;
}
.countries-row__flag--germany {
  background: linear-gradient(180deg, #111111 0 33.33%, #c62828 33.33% 66.66%, #f1c40f 66.66% 100%);
}
.countries-row__flag--france {
  background: linear-gradient(90deg, #21468b 0 33.33%, #ffffff 33.33% 66.66%, #d62828 66.66% 100%);
}
.countries-row__value {
  font-size: clamp(17px, 1.7vw, 19px);
  font-weight: 500;
  color: #4b5563;
  text-align: right;
}

/* -------- Endorsements grid -------- */
.endorsement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px 24px;
}
.endorsement-item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  padding: 24px 10px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: transform .25s ease, opacity .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.endorsement-item:hover {
  transform: translateY(-4px);
  opacity: 1;
  border-color: var(--ink);
  box-shadow: 0 14px 32px rgba(11,13,20,.08);
}
.endorsement-item img {
  max-width: 200px; max-height: 94px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform .25s ease, opacity .25s ease;
}
.endorsement-item img.logo-lg {
  max-width: 228px;
  max-height: 108px;
}
.endorsement-item img.logo-xl {
  max-width: 256px;
  max-height: 118px;
}
.endorsement-item img.logo-xxl {
  max-width: 288px;
  max-height: 128px;
}
.endorsement-item img.logo-color {
  filter: none;
  opacity: 1;
}
.endorsement-item:hover img { transform: translateY(-2px); opacity: 1; }
.endorsement-item span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
}

/* -------- Resources page -------- */
.resources-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.resource-tab {
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--mute);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.resource-tab:hover { border-color: var(--ink); color: var(--ink); }
.resource-tab.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.resource-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.resource-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.resource-img {
  aspect-ratio: 16/10;
  background: var(--ink-2);
  overflow: hidden;
}
.resource-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.resource-card:hover .resource-img img { transform: scale(1.04); }
.resource-body {
  padding: 20px 20px 24px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.resource-type {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--crimson);
}
.resource-body h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: var(--ink);
}
.resource-date {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--mute);
  margin-top: auto;
}
.resource-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Resource card as button */
.resource-card-button {
  all: unset;
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, border-color .2s, box-shadow .2s;
  text-align: left;
}
.resource-card-button:hover { transform: translateY(-4px); border-color: var(--ink); }
.resource-card-button:focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; }
.resource-card-button.is-active { border-color: var(--crimson); box-shadow: 0 0 0 2px rgba(196,34,26,.15); }
.resource-card-button .resource-img { aspect-ratio: 16/10; background: var(--ink-2); overflow: hidden; }
.resource-card-button .resource-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.resource-card-button:hover .resource-img img { transform: scale(1.04); }

/* Resource reader panel */
.resource-reader {
  max-width: 780px;
  margin: 0 auto;
  animation: fadeUp .35s ease both;
}
.resource-back-btn {
  all: unset;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--crimson);
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 32px;
  display: inline-block;
  transition: color .2s;
}
.resource-back-btn:hover { color: var(--ink); }
.resource-reader-head {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resource-reader-head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}
.resource-reader-head .resource-date {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--mute);
}
.resource-reader-content {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.resource-reader-content p {
  margin-bottom: 1.25em;
}
.resource-reader-content p:last-child { margin-bottom: 0; }
.resource-reader-content a { color: var(--crimson); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.resource-reader-content a:hover { color: var(--ink); }
.resource-reader-content a.resource-pdf-btn,
.resource-reader-content a.resource-pdf-link { text-decoration: none; }
.resource-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -.005em;
  color: #fff;
  background: var(--crimson);
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 32px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .25s ease;
}
.resource-reader-content .resource-pdf-btn { color: #fff; }
.resource-pdf-btn:hover,
.resource-reader-content .resource-pdf-btn:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.resource-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -.005em;
  color: var(--crimson);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: 999px;
  margin-top: 12px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.resource-pdf-link:hover,
.resource-reader-content .resource-pdf-link:hover {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
  transform: translateY(-1px);
}
.resource-reader-hero {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 32px;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--ink-2);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------- Support page -------- */
.support-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.support-block:first-child { padding-top: 0; }
.support-block:last-child { border-bottom: none; }
.support-block--reversed { direction: rtl; }
.support-block--reversed > * { direction: ltr; }
.support-block__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.support-block__content h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -.02em;
}
.support-block__content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--mute);
}
.support-tagline {
  color: var(--ink) !important;
  font-size: 15px !important;
}
.support-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.support-bullets li {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.support-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--crimson);
}
.support-note {
  font-size: 13px !important;
  font-style: normal;
  color: var(--mute) !important;
}
.support-block__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.support-block__image {
  position: relative;
  isolation: isolate;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-2);
}
.support-block__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(243,239,230,.04) 0%, rgba(243,239,230,0) 26%, rgba(11,13,20,.18) 100%),
    linear-gradient(90deg, rgba(243,239,230,.92) 0%, rgba(243,239,230,0) 18%, rgba(243,239,230,0) 82%, rgba(243,239,230,.86) 100%);
  pointer-events: none;
  z-index: 2;
}
.support-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  min-height: 320px;
  max-height: 480px;
}
.support-block--reversed .support-block__image::after {
  background:
    linear-gradient(180deg, rgba(243,239,230,.04) 0%, rgba(243,239,230,0) 26%, rgba(11,13,20,.18) 100%),
    linear-gradient(90deg, rgba(243,239,230,.86) 0%, rgba(243,239,230,0) 18%, rgba(243,239,230,0) 82%, rgba(243,239,230,.92) 100%);
}
@media (max-width: 768px) {
  .support-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .support-block--reversed { direction: ltr; }
  .support-block__image img { min-height: 240px; max-height: 320px; }
}

/* -------- Support page ANIMATIONS -------- */

/* Scroll progress bar (site-wide, injected by app.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--crimson);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.1s linear;
}

/* Section counter */
.support-counter {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--crimson);
  opacity: 0.7;
  display: block;
  margin-bottom: -8px;
}

/* -- Block reveal states -- */
.support-block.sb-hidden .support-block__content {
  opacity: 0;
  transform: translateY(48px);
}
.support-block.sb-visible .support-block__content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Image clip-path wipe reveal */
.support-block__image {
  clip-path: inset(8% 8% 8% 8% round 14px);
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.support-block__image.img-revealed {
  clip-path: inset(0% 0% 0% 0% round 14px);
}
.support-block__image img {
  transition: transform 0.05s linear;
  transform: scale(1.08);
}

#qc-inspection-training .support-block__image img { object-position: center 40%; }
#software-data-analysis-training .support-block__image img { object-position: center 42%; }
#flexo-anilox-training .support-block__image img { object-position: center 52%; }
#financing-options .support-block__image img { object-position: center center; }

/* Bullet stagger */
.support-bullets li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.support-bullets li.bullet-in {
  opacity: 1;
  transform: translateX(0);
}

/* CTA slide-up */
.support-block__ctas {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.support-block__ctas.cta-in {
  opacity: 1;
  transform: translateY(0);
}

/* Magnetic button hover */
.support-block__ctas .btn {
  transition: transform 0.12s ease-out, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  will-change: transform;
}
.support-block__ctas .btn:hover {
  box-shadow: 0 8px 24px rgba(196, 34, 26, 0.18);
}

/* Hero text split animation */
.hero-split-ready .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) rotateX(40deg);
  transform-origin: bottom;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--wi) * 0.06s + 0.1s);
}
.hero-split-in .hw {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

/* Tagline emphasis */
.support-tagline strong {
  background: linear-gradient(to right, var(--crimson), #e65340);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Image hover lift */
.support-block__image:hover img {
  transform: scale(1.03) !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Reduced motion: disable animations */
@media (prefers-reduced-motion: reduce) {
  .support-block.sb-hidden .support-block__content,
  .support-bullets li,
  .support-block__ctas {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .support-block__image {
    clip-path: none;
    transition: none;
  }
  .support-block__image img {
    transform: none !important;
  }
  .hero-split-ready .hw {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-progress { display: none; }
}

/* -------- Quote page -------- */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.quote-info h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: .96;
  letter-spacing: -.03em;
  margin-top: 16px;
}
.quote-info h2 em { font-family: inherit; font-style: normal; font-weight: 400; }
.quote-info > p {
  font-size: 17px; color: var(--mute); line-height: 1.6;
  margin-top: 20px; max-width: 44ch;
}
.quote-contact {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.quote-contact > div {
  display: flex; flex-direction: column; gap: 2px;
}
.quote-contact .label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute);
}
.quote-contact .value { font-size: 16px; color: var(--ink); }

.quote-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 20px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-group {
  display: flex; flex-direction: column; gap: 6px;
}
.form-group label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--f-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--crimson);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 13px; color: var(--mute); text-align: center; margin-top: 4px;
}
@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

.s-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 56px;
}
.s-head h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(44px, 5.8vw, 88px);
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.s-head h2 em { font-family: inherit; font-style: normal; font-weight: 400; }
.support-hero-shift {
  display: inline-block;
  margin-left: -0.14em;
}
.s-head .lead {
  font-size: 18px;
  color: var(--mute);
  max-width: 52ch;
  line-height: 1.55;
}
.dark .s-head .lead { color: var(--mute-dark); }

/* -------- Product grid -------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.p-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.p-card .photo {
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
  overflow: hidden; position: relative;
}
.p-card .photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.p-card:hover .photo img { transform: scale(1.04); }
.p-card .info {
  padding: 28px 28px 0px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.p-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.p-card p { color: var(--mute); font-size: 16px; line-height: 1.55; }
.p-card .footer {
  background: var(--ink) !important;
  color: #fff !important;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  /* Control the slim height of the dark bar here: */
  padding: 10px 16px !important; 
  border-top: 1px solid var(--line);
}

.p-card .footer .more {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  color: #fff;
  justify-content: center;
  gap: 8px;
  min-height: 14px;    /* Reduced from 44px */
  min-width: 196px;
  padding: 0 8px;     /* Optional tighter padding */
  white-space: nowrap;
  flex-shrink: 0;
}
.p-card .footer .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .12em;
  margin-left: auto;
  padding-right: 18px;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

/* -------- Card Footer Exact Global Match -------- */
.p-card .card-footer {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 12px 20px;
  margin-bottom: 18px;
   margin-top: 18px;
  border-top: 1px solid var(--line);
}

.p-card .card-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 44%, rgba(135,9,31,.2)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.03) 23px 24px);
  pointer-events: none;
  opacity: .6;
  z-index: 0;
}

.p-card .card-footer > * {
  position: relative;
  z-index: 1;
}

.p-card .card-footer .more {
  color: #fff;
}

.p-card .card-footer .num {
  color: rgba(255, 255, 255, 0.65);
}

/* -------- MIRA feature -------- */
.mira-spread {
  background: rgb(35, 37, 48);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mira-spread .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 620px;
}
.mira-spread .text {
  padding: 88px 60px 88px 0;
  display: flex; flex-direction: column; gap: 26px;
  justify-content: center;
}
.mira-spread .text .badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--crimson-2);
}
.mira-spread h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(60px, 7.5vw, 112px);
  line-height: .9;
  letter-spacing: -.04em;
}
.mira-spread h2 em { font-family: inherit; font-style: normal; font-weight: 400; color: var(--crimson-2); }
.mira-spread p {
  font-size: 19px;
  color: rgba(255,255,255,.72);
  max-width: 48ch;
  line-height: 1.55;
}
.mira-spread .bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 6px;
}
.mira-spread .bullets li {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding-left: 16px;
  position: relative;
}
.mira-spread .bullets li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 1px; background: var(--crimson-2);
}
.mira-spread .ctas { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

.mira-spread .visual {
  position: relative;
  background: rgb(35, 37, 48);
}
.mira-spread .visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 1;
}
.mira-spread .visual .frame {
  position: absolute; inset: 80px 60px;
  border: 1px solid rgba(255,255,255,.18);
  z-index: 2;
}
.mira-spread .visual .frame::before,
.mira-spread .visual .frame::after,
.mira-spread .visual .frame > i:nth-child(1)::before,
.mira-spread .visual .frame > i:nth-child(1)::after {
  content: ''; position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--crimson-2);
}
.mira-spread .visual .frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.mira-spread .visual .frame::after  { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.mira-spread .visual .frame > i:nth-child(1)::before { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.mira-spread .visual .frame > i:nth-child(1)::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.mira-spread .visual .frame > i:nth-child(1) {
  position: absolute; inset: 0;
}
.mira-spread .visual .frame .label {
  position: absolute; top: 10px; left: 16px;
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--crimson-2);
}
.mira-spread .visual .frame .coord {
  position: absolute; bottom: 10px; right: 16px;
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .14em; color: rgba(255,255,255,.7);
}

/* -------- Stats / Numbers strip -------- */
.numbers {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.numbers .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.numbers .n {
  padding: 56px 32px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.numbers .n:last-child { border-right: 0; }
.numbers .v {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(52px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: -.03em;
}
.numbers .v sup {
  font-size: 22px;
  color: var(--crimson);
  vertical-align: top;
  margin-left: 4px;
  font-weight: 400;
}
.numbers .v small {
  display: inline-block;
  font-size: 20px;
  color: var(--crimson);
  vertical-align: baseline;
  margin-left: 8px;
  line-height: 1.1;
  font-weight: 400;
}
.numbers .v .unit-label {
  display: block;
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.numbers .k {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
}
.numbers .d { font-size: 15px; color: var(--ink); max-width: 28ch; line-height: 1.45; }

/* -------- Process — Inspect / Save / Repeat -------- */
.process-bg {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #ece7dc;
}
#process.section {
  padding: 0;
}
.process-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  z-index: 0;
}
.process-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 52% 56px 6%;
  min-height: 600px;
}
.process-content::after {
  content: '';
  display: none;
}
.process-bg::before {
  content: '';
  position: absolute;
  inset: 0 44% 0 0;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.74) 62%, rgba(255,255,255,0));
  pointer-events: none;
  z-index: 1;
}
.process-bg::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: 44%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1;
}
.process-content h2,
.process-items {
  position: relative;
  z-index: 1;
  text-shadow: none;
}
.process-content h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 74px);
  line-height: .96;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 0;
}
.process-content h2 em { font-family: inherit; font-style: normal; font-weight: 400; }
.process-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-item {
  padding: 28px 0;
  border-top: 1px solid rgba(0,0,0,.2);
}
.process-item:first-child { border-top: 0; }
.process-item .step {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em;
  color: var(--crimson); margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
}
.process-item h3 {
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 8px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.process-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #343434;
  max-width: 40ch;
}

/* -------- MIRA Robotics & Connect -------- */
.robotics-section {
  padding: 0;
  background: #020306;
  color: #fff;
}
.robotics-bg {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #020306 0%, #07080d 48%, #101015 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 76px);
  isolation: isolate;
}
.robotics-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(242,75,62,.18), transparent),
    linear-gradient(180deg, transparent, rgba(255,255,255,.055), transparent);
  background-size: 46% 100%, 100% 38%;
  background-position: -60% 0, 0 -50%;
  animation: robotics-field-sweep 19s linear infinite;
  opacity: .75;
  pointer-events: none;
  z-index: 0;
}
.robotics-bg::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,75,62,.8), transparent);
  opacity: .9;
  z-index: 2;
}
.robotics-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(340px, .68fr);
  gap: clamp(24px, 3.8vw, 58px);
  align-items: center;
  min-height: 780px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.robotics-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 0 90px 20px rgba(8,8,13,.82);
}
.robotics-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), rgba(2,3,6,.16) 68%, rgba(2,3,6,.34) 100%);
  filter: none;
  transform: none;
  opacity: 1;
  z-index: 0;
}
.robotics-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,13,.42) 0%, rgba(8,8,13,.1) 14%, rgba(8,8,13,0) 30%, rgba(8,8,13,0) 70%, rgba(8,8,13,.18) 84%, rgba(8,8,13,.6) 100%),
    linear-gradient(180deg, rgba(8,8,13,.36) 0%, rgba(8,8,13,.08) 12%, rgba(8,8,13,0) 26%, rgba(8,8,13,0) 74%, rgba(8,8,13,.08) 88%, rgba(8,8,13,.36) 100%),
    radial-gradient(ellipse 118% 108% at 50% 50%, rgba(8,8,13,0) 44%, rgba(8,8,13,.08) 60%, rgba(8,8,13,.5) 100%);
  pointer-events: none;
  z-index: 2;
}
.robotics-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  opacity: .96;
  transform: none;
  transform-origin: center center;
  animation: none;
  z-index: 1;
}
.robotics-gridline,
.robotics-scanline,
.robotics-reticle,
.robotics-node-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.robotics-gridline {
  background:
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 58px 58px;
  mix-blend-mode: screen;
  opacity: .35;
  animation: robotics-grid-pan 22s linear infinite;
}
.robotics-scanline {
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(242,75,62,.32), rgba(255,255,255,.35), transparent);
  filter: blur(.2px);
  animation: robotics-scan 6.5s cubic-bezier(.45, 0, .2, 1) infinite;
  opacity: .9;
}
.robotics-reticle span {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.72);
}
.robotics-reticle span:nth-child(1) { top: 24px; left: 24px; border-right: 0; border-bottom: 0; }
.robotics-reticle span:nth-child(2) { top: 24px; right: 24px; border-left: 0; border-bottom: 0; }
.robotics-reticle span:nth-child(3) { bottom: 24px; left: 24px; border-right: 0; border-top: 0; }
.robotics-reticle span:nth-child(4) { bottom: 24px; right: 24px; border-left: 0; border-top: 0; }
.robotics-node-map .node {
  position: absolute;
  display: block;
}
.robotics-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.robotics-routes .route {
  stroke: rgba(242,75,62,.95);
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: .8;
  animation: robotics-route 3.8s linear infinite;
}
.robotics-routes .route-b { animation-delay: .5s; }
.robotics-routes .route-c { animation-delay: 1s; }
.robotics-node-map .node {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 999px;
  background: var(--crimson-2);
  box-shadow: 0 0 0 0 rgba(242,75,62,.68), 0 0 18px rgba(242,75,62,.56);
  animation: robotics-node-pulse 1.8s ease-out infinite;
  transform: translate(-50%, -50%);
  transform-origin: center;
}
.robotics-node-map .n1 { left: 20%; top: 34%; }
.robotics-node-map .n2 { left: 63%; top: 42%; animation-delay: .35s; }
.robotics-node-map .n3 { left: 35%; top: 60%; animation-delay: .7s; }
.robotics-node-map .n4 { left: 75%; top: 27%; animation-delay: 1.05s; }
.robotics-hud {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(12px);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.robotics-hud b {
  color: #fff;
  font-weight: 500;
}
.robotics-hud-top { top: 20px; left: 20px; }
.robotics-hud-bottom { right: 20px; bottom: 20px; }
.robotics-content {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}
.robotics-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.robotics-copy .meta {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.robotics-copy h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: .94;
  letter-spacing: 0;
  max-width: min(13ch, 100%);
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}
.robotics-copy p {
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.62;
  max-width: 48ch;
}
.robotics-items {
  display: grid;
  gap: 14px;
}
.robotics-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.robotics-item {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .32s ease, border-color .32s ease, background .32s ease;
}
.robotics-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--crimson-2);
  transform: scaleY(.32);
  transform-origin: top;
  transition: transform .32s ease;
}
.robotics-item:hover {
  transform: translateY(-4px);
  border-color: rgba(242,75,62,.6);
  background: linear-gradient(135deg, rgba(242,75,62,.18), rgba(255,255,255,.035));
}
.robotics-item:hover::before { transform: scaleY(1); }
.robotics-label {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  min-width: 0;
}
.robotics-logo-img {
  height: 64px;
  max-width: min(100%, 280px);
  width: auto;
  display: block;
  flex-shrink: 0;
}
.robotics-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.76);
  max-width: 58ch;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.robotics-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.robotics-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
@keyframes robotics-field-sweep {
  0% { background-position: -60% 0, 0 -50%; }
  100% { background-position: 160% 0, 0 150%; }
}
@keyframes robotics-photo-drift {
  from { transform: scale(1.025); }
  to { transform: scale(1.07); }
}
@keyframes robotics-grid-pan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 58px 58px, 58px 58px; }
}
@keyframes robotics-scan {
  0% { transform: translateX(-120%); opacity: 0; }
  12% { opacity: .9; }
  70% { opacity: .9; }
  100% { transform: translateX(560%); opacity: 0; }
}
@keyframes robotics-route {
  0%, 100% { opacity: .62; }
  50% { opacity: .92; }
}
@keyframes robotics-node-pulse {
  0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(242,75,62,.68), 0 0 18px rgba(242,75,62,.56); }
  55% { transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 0 15px rgba(242,75,62,.16), 0 0 26px rgba(242,75,62,.66); }
  100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 24px rgba(242,75,62,0), 0 0 14px rgba(242,75,62,.48); }
}
@media (max-width: 1080px) {
  .robotics-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .robotics-stage {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .robotics-copy h2 { max-width: min(14ch, 100%); }
  .robotics-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .robotics-shell {
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 28px;
  }
  .robotics-stage { aspect-ratio: 4 / 3; }
  .robotics-items { grid-template-columns: 1fr; }
  .robotics-copy h2 { font-size: 42px; }
  .robotics-hud { font-size: 8.5px; letter-spacing: .1em; }
  .robotics-hud-top { top: 12px; left: 12px; }
  .robotics-hud-bottom { right: 12px; bottom: 12px; }
}
@media (max-width: 480px) {
  .robotics-item { padding: 20px; }
  .robotics-label { align-items: flex-start; flex-wrap: wrap; }
  .mira-logo-img { height: 40px; }
  .robotics-title { font-size: 26px; }
  .robotics-flow span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .robotics-bg::before,
  .robotics-photo,
  .robotics-gridline,
  .robotics-scanline,
  .robotics-node-map .route,
  .robotics-node-map .node {
    animation: none !important;
  }
}

/* -------- Logo wall -------- */
.logos {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 60px 0;
  overflow: hidden;
}
.logos .head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
}
.logos h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.02em;
  line-height: 1.05;
  max-width: 24ch;
}
.logos h3 em { font-family: inherit; font-style: normal; font-weight: 400; }
.logos-track {
  display: flex; gap: 0;
  border-top: 0;
  border-bottom: 0;
  padding: 16px 0 8px;
  overflow: hidden;
  position: relative;
}
.logos-track .row {
  display: flex;
  gap: clamp(28px, 3vw, 44px);
  width: max-content;
  --logo-loop-distance: 0px;
  --logo-loop-duration: 25s;
  animation: scroll-logos var(--logo-loop-duration) linear infinite;
  flex-shrink: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.logos-track .logo-set {
  display: flex;
  flex-shrink: 0;
  gap: clamp(28px, 3vw, 44px);
}
@media (hover: hover) and (pointer: fine) {
  .logos-track:hover .row { animation-play-state: paused; }
}
.logos-track .item {
  flex: 0 0 248px;
  height: 132px;
  display: grid; place-items: center;
  padding: 14px 18px;
  border-right: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
  position: relative;
  overflow: visible;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 14px 32px rgba(11,13,20,.08);
  transform: translateY(-4px);
}
.logos-track .item small {
  display: block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--mute);
  margin-top: 4px;
  text-transform: uppercase;
  text-align: center;
}
.logos-track .item img {
  display: block;
  width: min(208px, 100%);
  height: 72px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.logos-track .item img.logo-lg {
  width: min(228px, 100%);
  height: 82px;
}
.logos-track .item img.logo-xl {
  width: min(244px, 100%);
  height: 88px;
}
.logos-track .item img.logo-xxl {
  width: min(262px, 100%);
  height: 96px;
}
.logos-track .item img.logo-color {
  mix-blend-mode: normal;
}
@keyframes scroll-logos {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-1 * var(--logo-loop-distance)), 0, 0); }
}

/* -------- News grid -------- */
.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.news-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.news-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.news-card .img {
  aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2);
}
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.news-card--bw .img {
  aspect-ratio: 16 / 9;
  background: #fff;
}
.news-card:hover .img img { transform: scale(1.05); }
.news-card .body {
  padding: 24px 24px 26px;
  display: flex; flex-direction: column;
  flex: 1; gap: 14px;
}
.news-card .date {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--mute); text-transform: uppercase;
}
.news-card h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.news-card.is-feature { grid-row: span 2; grid-column: span 1; }
.news-card.is-feature h4 { font-size: 32px; line-height: 1.05; }

/* -------- CTA band -------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 20% 50%, rgba(196,34,26,.35), transparent 70%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band .row {
  display: grid;
  grid-template-columns: 1.4fr .7fr;
  align-items: end;
  gap: 60px;
}
.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 132px);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.cta-band h2 em { font-family: inherit; font-style: normal; font-weight: 400; color: var(--crimson-2); }
.cta-band .side { display: flex; flex-direction: column; gap: 20px; padding-bottom: 18px; }
.cta-band .side p { color: rgba(255,255,255,.7); font-size: 16px; }

/* -------- Footer -------- */
.footer {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 44%, rgba(135,9,31,.2)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.03) 23px 24px);
  pointer-events: none;
  opacity: .6;
}
.footer > * {
  position: relative;
  z-index: 1;
  padding: 80px 0 30px;
  border-top: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
.footer > * {
  position: relative;
  z-index: 1;
}
.footer .top {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(5, minmax(0, 1fr));
  gap: 40px 32px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}
.footer .brand-blk { display: flex; flex-direction: column; gap: 22px; }
.footer .brand-blk p { color: rgba(255,255,255,.65); max-width: 34ch; font-size: 14px; line-height: 1.55; }
.footer .brand > img {
  height: 3.1rem !important;
  width: auto;
}
.footer .top > :last-child {
  margin-left: clamp(16px, 2vw, 32px);
}
.footer h5 {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.85); font-size: 14px; }
.footer ul a:hover { color: var(--crimson-2); }
.footer .bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
}
.footer .bottom a { color: rgba(255,255,255,.7); }
.footer .bottom a:hover { color: var(--crimson-2); }

.footer-linkedin {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  margin-top: 16px;
  transition: color .2s, background .2s;
}
.footer-linkedin:hover { color: #fff; background: rgba(255,255,255,.08); }

/* -------- MIRA page specific -------- */
.mira-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  min-height: 780px;
  display: flex; flex-direction: column;
  isolation: isolate;
}
.mira-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,20,.92) 0%, rgba(11,13,20,.82) 28%, rgba(11,13,20,.96) 100%),
    radial-gradient(900px 600px at 20% 80%, rgba(42,35,171,.45), transparent 60%),
    radial-gradient(800px 500px at 80% 30%, rgba(196,34,26,.2), transparent 65%);
  z-index: 1;
}
.mira-hero > * { position: relative; z-index: 2; }
.mira-hero > .wrap {
  width: 100%;
  max-width: min(1560px, calc(100vw - 24px));
  padding-left: clamp(14px, 1.8vw, 26px);
  padding-right: clamp(18px, 2.6vw, 42px);
}
.mira-hero .body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(28px, 2.8vw, 52px);
  padding: 64px 0 40px;
}
.mira-hero .body .text {
  position: relative;
  min-width: 0;
  max-width: 460px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  margin-left: 0;
  padding-right: clamp(10px, 1.6vw, 24px);
}
.mira-hero .body .text > *:not(.hero-radar) {
  position: relative;
  z-index: 1;
}
.mira-hero .body .text .super {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--crimson-2);
}
.mira-hero .body .text .super::before {
  content: ''; width: 24px; height: 1px; background: var(--crimson-2);
}
.mira-hero .body .text h1 {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(56px, 6.2vw, 108px);
  line-height: .86;
  letter-spacing: -.07em;
}
.mira-hero .body .text h1 .dot {
  display: inline-block; color: var(--crimson-2);
}
.mira-hero .body .text .sub {
  font-family: var(--f-body);
  font-style: normal;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.2;
  color: rgba(255,255,255,.92);
  max-width: 15ch;
  letter-spacing: -.01em;
}
.mira-hero .body .text .sub .dot {
  color: var(--crimson-2);
}
.mira-hero .body .text p {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  max-width: 34ch;
  line-height: 1.6;
}
.mira-hero .body .text .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.mira-hero .body .text .ctas {
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin-top: 6px;
}

.mira-hero .hero-radar {
  position: absolute;
  top: 50%;
  right: -8%;
  width: min(22vw, 260px);
  transform: translateY(-52%);
  opacity: .52;
  pointer-events: none;
  z-index: 0;
}
.mira-hero .hero-radar svg { width: 100%; height: auto; }

.mira-hero .hero-media {
  --mira-media-shift: 0px;
  --mira-media-opacity: 1;
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: min(100%, 1120px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  align-self: center;
  justify-self: end;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, rgba(0,0,0,.92) 8%, #000 16%, #000 84%, rgba(0,0,0,.92) 92%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, rgba(0,0,0,.92) 8%, #000 16%, #000 84%, rgba(0,0,0,.92) 92%, rgba(0,0,0,0) 100%);
  transform: translate3d(0, var(--mira-media-shift), 0);
  opacity: var(--mira-media-opacity);
  will-change: transform, opacity;
}
.mira-hero .hero-media::before {
  content: none;
}
.mira-hero .hero-media::after {
  content: none;
}
.mira-hero .hero-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: saturate(1.02) contrast(1.04);
  border-radius: 0;
}

@media (max-width: 1280px) {
  .mira-hero > .wrap {
    max-width: min(1480px, calc(100vw - 20px));
    padding-left: clamp(12px, 1.4vw, 20px);
    padding-right: clamp(16px, 2.2vw, 32px);
  }
  .mira-hero .body {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 24px;
  }
  .mira-hero .body .text h1 {
    font-size: clamp(52px, 5.8vw, 92px);
  }
  .mira-hero .hero-media {
    max-width: min(100%, 980px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mira-hero .hero-media {
    transform: none;
    opacity: 1;
    will-change: auto;
  }
}

.mira-hero .botbar {
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.mira-hero .botbar > div {
  display: flex; gap: 12px; align-items: baseline;
}
.mira-hero .botbar > div b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -.005em;
  color: #fff;
  text-transform: none;
}

/* MIRA feature blocks */
.feature {
  --feature-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: var(--feature-height);
  border-bottom: 1px solid var(--line);
}
.feature.dark { background: var(--ink); color: #fff; border-color: var(--line-dark); }
.feature.flip .text { order: 2; }
.feature .text {
  padding: 100px 60px 100px var(--gut);
  display: flex; flex-direction: column; justify-content: center;
  gap: 22px;
}
.feature .text .num {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--crimson);
  display: flex; align-items: center; gap: 12px;
}
.feature.dark .text .num { color: var(--crimson-2); }
.feature .text .num::before {
  content: ''; width: 18px; height: 1px; background: currentColor;
}
.feature .text h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 60px);
  line-height: .98;
  letter-spacing: -.03em;
}
.feature .text h3 em { font-family: inherit; font-style: normal; font-weight: 400; }
.feature .text p {
  font-size: 16px; line-height: 1.6;
  color: var(--mute); max-width: 50ch;
}
.feature.dark .text p { color: rgba(255,255,255,.72); }

.feature .photo {
  position: relative;
  min-height: var(--feature-height);
  background: var(--ink-2);
  overflow: hidden;
}
.feature .photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-global .photo {
  background: #ffffff;
  min-height: var(--feature-height);
  aspect-ratio: auto;
  align-self: stretch;
}
.feature-global .photo img {
  object-fit: contain;
  padding: 0;
  object-position: center center;
  transform: none;
  mix-blend-mode: normal;
}
.feature-global .text {
  padding-top: 52px;
  padding-bottom: 28px;
  justify-content: flex-start;
  gap: 16px;
}
.feature-collaboration .photo {
  background: #ffffff;
  min-height: var(--feature-height);
  aspect-ratio: auto;
  align-self: stretch;
}
.feature-collaboration .photo img {
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: center center;
}
.feature-asset-performance .photo img {
  object-position: center center;
}
#security .photo img {
  object-position: center top;
}
.feature .photo .ann {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  background: rgba(11,13,20,.7);
  padding: 6px 10px;
  border-left: 2px solid var(--crimson-2);
  backdrop-filter: blur(6px);
}

/* -------- Image overlay cleanup -------- */
.mira-spread .visual .frame,
.feature .photo .ann,
.robotics-gridline,
.robotics-scanline,
.robotics-reticle,
.robotics-node-map,
.robotics-hud,
.robotics .stage .corner,
.robotics .stage .tag {
  display: none !important;
}

/* MIRA Robotics */
.robotics {
  background: var(--ink);
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.robotics .robotics-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .52;
  filter: saturate(.92) contrast(1.04) brightness(.86);
}
.robotics::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,13,20,.68) 0%, rgba(11,13,20,.3) 38%, rgba(11,13,20,.74) 100%),
    radial-gradient(800px 500px at 90% 30%, rgba(196,34,26,.14), transparent 65%),
    radial-gradient(700px 500px at 10% 80%, rgba(42,35,171,.18), transparent 60%);
  pointer-events: none;
}
.robotics .wrap {
  display: grid; grid-template-columns: 1fr;
  gap: 0; align-items: center;
  position: relative;
  z-index: 2;
}
.robotics .text { display: flex; flex-direction: column; gap: 22px; }
.robotics .text .badge {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--crimson-2);
  display: inline-flex; align-items: center; gap: 12px;
}
.robotics .text .badge::before {
  content: ''; width: 24px; height: 1px; background: var(--crimson-2);
}
.robotics .text h2 {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(56px, 7vw, 108px);
  line-height: .9;
  letter-spacing: -.04em;
}
.robotics .text h2 em { font-family: inherit; font-style: normal; font-weight: 400; }
.robotics .text p {
  color: rgba(255,255,255,.7);
  font-size: 17px; line-height: 1.6;
  max-width: 52ch;
}

.robotics .stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: transparent;
  border: none;
  isolation: isolate;
}
.robotics .stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,7,11,.92), rgba(6,7,11,0) 18%, rgba(6,7,11,0) 82%, rgba(6,7,11,.92)),
    linear-gradient(90deg, rgba(6,7,11,.92), rgba(6,7,11,0) 14%, rgba(6,7,11,0) 86%, rgba(6,7,11,.92)),
    radial-gradient(circle at center, rgba(6,7,11,0) 56%, rgba(6,7,11,.24) 76%, rgba(6,7,11,.66) 100%);
}
.robotics .stage img {
  position: absolute; inset: 0;
  z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at center, #000 52%, rgba(0,0,0,.92) 66%, rgba(0,0,0,.5) 82%, transparent 100%);
  mask-image: radial-gradient(circle at center, #000 52%, rgba(0,0,0,.92) 66%, rgba(0,0,0,.5) 82%, transparent 100%);
}
.robotics .stage .corner {
  position: absolute; z-index: 2; width: 28px; height: 28px;
  border: 1px solid var(--crimson-2);
}
.robotics .stage .c1 { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.robotics .stage .c2 { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.robotics .stage .c3 { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.robotics .stage .c4 { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.robotics .stage .tag {
  position: absolute; z-index: 2; bottom: 18px; left: 18px;
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .18em; color: #fff;
  text-transform: uppercase;
  background: rgba(11,13,20,.6); padding: 6px 10px;
}

/* MIRA capabilities strip */
.caps {
  background: var(--paper-3);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.caps .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.caps .item {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.caps .item .ic {
  font-family: var(--f-mono); font-size: 11px; color: var(--crimson);
  letter-spacing: .14em;
}
.caps .item h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.caps .item p {
  font-size: 14px; color: var(--mute);
  line-height: 1.55;
}

/* -------- Tweaks panel -------- */
.tweaks-toggle {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--ink);
  display: none;
  align-items: center; gap: 8px;
}
.tweaks-toggle::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--crimson-2);
}
.tweaks-panel {
  position: fixed; right: 20px; bottom: 70px;
  width: 320px;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--ink);
  z-index: 99;
  padding: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  display: none;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.tweaks-panel.is-open { display: flex; }
.tweaks-panel .head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--ink); padding-bottom: 12px;
}
.tweaks-panel .head h6 {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
}
.tweaks-panel .head button { font-family: var(--f-mono); font-size: 16px; line-height: 1; }
.tweaks-panel .group { display: flex; flex-direction: column; gap: 8px; }
.tweaks-panel label { letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.tweaks-panel .seg {
  display: flex; border: 1px solid var(--ink);
  flex-wrap: wrap;
}
.tweaks-panel .seg button {
  flex: 1 0 33.333%;
  padding: 8px 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: transparent; color: var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.tweaks-panel .seg button:last-child { border-right: 0; }
.tweaks-panel .seg button.is-on { background: var(--ink); color: var(--paper-2); }
.tweaks-panel .swatches { display: flex; gap: 6px; }
.tweaks-panel .swatches button {
  flex: 1; height: 32px;
  border: 1px solid var(--ink);
  position: relative;
  cursor: pointer;
}
.tweaks-panel .swatches button.is-on::after {
  content: ''; position: absolute; inset: -4px;
  border: 1px solid var(--ink);
  pointer-events: none;
}
.tweaks-panel .bg-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.tweaks-panel .bg-swatches button {
  border: 1px solid var(--ink);
  height: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
}
.tweaks-panel .bg-swatches button .l { flex: 1; }
.tweaks-panel .bg-swatches button .d { height: 8px; background: var(--ink); }
.tweaks-panel .bg-swatches button.is-on { outline: 2px solid var(--crimson); outline-offset: -2px; }
.tweaks-panel .bg-swatches button span {
  position: absolute; bottom: 2px; left: 4px;
  font-family: var(--f-mono); font-size: 8.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); opacity: .7;
  z-index: 1; mix-blend-mode: difference; color: #fff;
}

/* -------- Product Modals -------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,13,20,.6);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s cubic-bezier(.4,0,.2,1), visibility .3s;
}
.modal-overlay.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.modal {
  position: relative;
  background: var(--paper);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 1040px; width: 92%;
  max-height: 85vh; overflow-y: auto;
  transform: translateY(20px) scale(.97);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; cursor: pointer;
  font-size: 28px; color: var(--mute);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--paper-3); color: var(--ink); }
.modal h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: clamp(16px, 1.35vw, 18px); color: var(--mute); max-width: none; line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
  margin-bottom: 32px;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.modal-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  transition: transform .25s, border-color .2s;
}
.modal-item:hover { transform: translateY(-3px); border-color: var(--ink); }
.modal-item-img {
  grid-row: 1 / span 2;
  background: var(--ink-2);
  overflow: hidden;
  min-height: 220px;
}
.modal-item-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.modal-item:hover .modal-item-img img { transform: scale(1.04); }

.modal-item--training .modal-item-img img {
  object-position: center 26%;
}
.modal-item h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: -.01em;

  margin: 0;               /* Add this */
  padding: 22px 24px 6px;
}

.modal-item p {
  font-size: clamp(16px, 1.25vw, 18px);
  color: var(--mute);
  line-height: 1.72;
  max-width: 72ch;

  margin: 0;               /* Add this */
  padding: 0 24px 22px;
}
@media (max-width: 720px) {
  .modal { padding: 32px 20px; }
  .modal-item {
    grid-template-columns: 1fr;
  }
  .modal-item--training {
    grid-template-columns: 1fr;
  }
  .modal-item-img {
    grid-row: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .hero-side { border-top: 0; padding-top: 0; }
}

/* -------- Utilities -------- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* Reveal staggering */
.fade-up.d1 { transition-delay: .08s; }
.fade-up.d2 { transition-delay: .16s; }
.fade-up.d3 { transition-delay: .24s; }
.fade-up.d4 { transition-delay: .32s; }

em,
i {
  font-family: inherit !important;
  font-style: normal !important;
}

/* -------- Responsive -------- */
@media (max-width: 1240px) {
  .reticle { display: none; }
}
@media (max-width: 1080px) {
  .nav .wrap {
    position: relative;
    justify-content: flex-start;
  }
  .nav-toggle {
    display: inline-flex;
    order: 0;
  }
  .brand {
    order: 1;
  }
  .nav-cta {
    order: 2;
    margin-left: auto;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gut);
    right: var(--gut);
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(246,246,248,.98);
    box-shadow: 0 24px 70px rgba(11,13,20,.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
  }
  .nav-links a:hover,
  .nav-links a.is-active {
    background: rgba(135,9,31,.08);
  }
  .nav-links a.is-active::after { display: none; }
  /* Mobile dropdown */
  .nav-dropdown {
    width: 100%;
    position: relative;
    z-index: 2;
  }
  .nav-dropdown-toggle {
    display: flex; min-height: 44px; align-items: center;
    justify-content: space-between;
    padding: 10px 12px; border-radius: 6px; width: 100%;
  }
  .nav-dropdown-toggle:hover,
  .nav-dropdown.is-open .nav-dropdown-toggle {
    background: transparent;
    color: var(--crimson);
  }
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 10px 0;
    margin: 0;
    background: var(--paper-2);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.96);
    transform-origin: top left;
    pointer-events: none;
    max-height: none;
    overflow: visible;
    z-index: 80;
    transition:
      opacity .25s cubic-bezier(.4,0,.2,1),
      transform .25s cubic-bezier(.4,0,.2,1),
      visibility .25s;
  }
  .nav-dropdown-menu::before {
    left: 22px;
    transform: rotate(45deg);
  }
  .nav-dropdown-menu::after {
    left: 0;
    right: 0;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav-dropdown-menu a {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 11px 20px;
    border-radius: 0;
    color: var(--ink) !important;
  }
  .nav-dropdown-menu a::before { display: block; }
  .nav-dropdown-menu a:hover {
    padding-left: 24px;
    background: var(--paper-3);
    color: var(--crimson);
  }
  .hero-meta-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-meta-bar > div:nth-child(2) { border-right: 0; }
  .s-head { grid-template-columns: 1fr; gap: 24px; }
  .products { grid-template-columns: 1fr; }
  .mira-spread .wrap { grid-template-columns: 1fr; min-height: 0; }
  .mira-spread .text { padding: 80px 0 40px; }
  .mira-spread .visual { min-height: 420px; border-left: 0; }
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
  .numbers .n:nth-child(2) { border-right: 0; }
  /* Stack photo above content on tablet/mobile */
  .process-bg { min-height: 0; overflow: visible; display: flex; flex-direction: column; }
  .process-bg::before { display: none; }
  .process-bg::after { display: none; }
  .process-photo { position: static; inset: auto; width: 100%; height: 320px; flex-shrink: 0; }
  .process-content { position: static; min-height: 0; padding: 40px 24px; background: var(--paper-3); }
  .process-content h2 { margin-bottom: 32px; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-band .row { grid-template-columns: 1fr; gap: 30px; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .top > :last-child { margin-left: 0; }
  .mira-hero .body {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 20px;
    padding: 52px 0 32px;
  }
  .mira-hero > .wrap {
    max-width: none;
    padding-left: clamp(16px, 2.4vw, 24px);
    padding-right: clamp(16px, 2.6vw, 24px);
  }
  .mira-hero .body .text {
    max-width: 420px;
    min-height: 0;
    margin-left: 0;
    padding-right: 18px;
    padding-bottom: 0;
  }
  .mira-hero .hero-radar {
    position: absolute;
    top: 50%;
    right: -6%;
    width: min(18vw, 170px);
    transform: translateY(-52%);
    margin-top: 0;
  }
  .mira-hero .hero-media {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    max-width: min(100%, 700px);
    height: auto;
    padding: 0;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.16) 0, #000 10%, #000 90%, rgba(0,0,0,.16) 100%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,.16) 0, #000 10%, #000 90%, rgba(0,0,0,.16) 100%);
  }
  .mira-hero .hero-media video { border-radius: 0; }
  .mira-hero .botbar { grid-template-columns: 1fr 1fr; }
  .countries-head {
    gap: 16px;
  }
  .countries-row {
    grid-template-columns: 1fr auto;
    min-height: 58px;
  }
  .countries-row__label,
  .countries-row__value {
    font-size: 17px;
  }
  .feature { --feature-height: 360px; grid-template-columns: 1fr; min-height: 0; }
  .feature .text { padding: 60px var(--gut); }
  .feature.flip .text { order: 0; }
  .feature .photo { min-height: 360px; }
  .robotics .wrap { grid-template-columns: 1fr; gap: 40px; }
  .caps .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .mira-hero .body {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0 32px;
  }
  .mira-hero .body .text {
    max-width: none;
    padding-right: 0;
    padding-bottom: 12px;
  }
  .mira-hero .hero-radar {
    position: relative;
    top: auto;
    right: auto;
    width: min(78vw, 360px);
    transform: none;
    margin-top: 8px;
  }
  .mira-hero .hero-media {
    max-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-body {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0 32px;
  }
  .hero-media {
    height: auto;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    justify-self: stretch;
  }
}
@media (max-width: 768px) {
  .nav .wrap {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 0;
    justify-content: normal;
  }
  .nav-meta { display: none; }
  .nav-toggle {
    grid-column: 1;
    justify-self: start;
  }
  .brand {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
  }
  .brand img {
    max-width: min(190px, 52vw);
  }
  .countries-shell {
    border-radius: 20px;
    padding: 22px 16px;
  }
  .countries-head {
    padding-bottom: 14px;
  }
  .countries-row {
    gap: 12px;
    min-height: 50px;
  }
  .countries-row__label {
    gap: 10px;
    font-size: 16px;
  }
  .countries-row__flag {
    width: 22px;
    height: 15px;
  }
  .countries-row__value {
    font-size: 16px;
  }
  .nav-cta {
    display: none;
  }
  .process-photo { height: 260px; }
  .process-content { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .numbers .wrap { grid-template-columns: 1fr; }
  .numbers .n {
    padding: 30px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .numbers .n:last-child { border-bottom: 0; }
  .process-photo { height: 200px; }
  .process-content { padding: 28px 16px; }
  .process-content h2 { font-size: clamp(30px, 8vw, 46px); }
}
