/* ============================================================
   NAVION 3D — Apple-style design system
   Photography-first tiles · parchment + near-black surfaces
   Single Action Blue accent · pill CTAs · SF Pro / Inter stack
   Radii grammar: pill = actions & chips · 18px cards/dialogs
                  11px inputs · 8px compact utility buttons
   One shadow only: product imagery resting on a surface.
   ============================================================ */

/* ---------- Fonts (Inter variable, self-hosted; real SF Pro
   resolves first via -apple-system on Apple devices) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+20B9;
}

/* ---------------- Tokens ---------------- */
:root {
  /* brand — Action Blue is the single interactive color */
  --primary: #0066cc;
  --primary-active: #0059b3;      /* subtle darken for pointer feedback */
  --primary-focus: #0071e3;       /* focus ring */
  --sky: #2997ff;                 /* links on dark tiles */

  /* surfaces */
  --canvas: #ffffff;
  --soft: #f5f5f7;                /* parchment */
  --card: #fafafc;                /* pearl */
  --strong: #e8e8ed;              /* solid chip gray */
  --chip: rgba(210, 210, 215, .64);
  --dark: #272729;                /* near-black tile 1 */
  --dark-elevated: #2a2a2c;       /* tile 2 */
  --deep: #000000;                /* global nav only */

  /* hairlines */
  --hairline: #e0e0e0;
  --hairline-strong: #d2d2d7;
  --divider: #f0f0f0;

  /* text */
  --ink: #1d1d1f;
  --body-c: #333333;              /* ink-muted-80 */
  --body-strong: #1d1d1f;
  --muted: #6e6e73;               /* AA-adjusted ink-muted-48 */
  --muted-soft: #86868b;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #cccccc;

  /* semantic */
  --success: #248a3d;
  --warning: #b25000;
  --error: #d70015;

  /* type — family + ladder (300 / 400 / 600 / 700, no 500) */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;

  --display-xl: 56px;  --lh-display-xl: 1.07;  --ls-hero: -0.005em;
  --display-lg: 40px;  --lh-display-lg: 1.10;
  --display-md: 34px;  --lh-display-md: 1.47;  --ls-md: -0.011em;
  --lead: 28px;        --lh-lead: 1.14;
  --display-sm: 24px;  --lh-display-sm: 1.2;
  --tagline: 21px;     --lh-tagline: 1.19;     --ls-tagline: 0.011em;
  --title-lg: 20px;    --lh-title-lg: 1.3;
  --title-md: 17px;    --lh-title-md: 1.35;
  --title-sm: 15px;    --lh-title-sm: 1.4;
  --body-md: 17px;     --lh-body-md: 1.47;
  --body-sm: 14px;     --lh-body-sm: 1.43;
  --caption: 12px;     --lh-caption: 1.35;

  --w-heavy: 600;
  --w-light: 300;
  --w-regular: 400;

  /* spacing (Apple rhythm) */
  --xxs: 4px; --xs: 8px; --sm: 12px; --md: 17px;
  --lg: 24px; --xl: 32px; --xxl: 48px; --section: 80px;

  /* layout */
  --page-max-width: 1200px;
  --nav-height: 44px;
  --card-padding: 24px;

  /* radii grammar (documented mixed system) */
  --radius: 18px;        /* cards, dialogs, media */
  --radius-sm: 8px;      /* compact utility buttons */
  --radius-md: 11px;     /* pearl capsules, inputs */
  --pill: 9999px;        /* CTAs, chips, search, toast */

  /* the one shadow in the system — product imagery only */
  --shadow-product: 3px 5px 30px rgba(0, 0, 0, .22);

  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------------- Reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body-c);
  font-family: var(--font);
  font-size: var(--body-md);
  font-weight: var(--w-regular);
  line-height: var(--lh-body-md);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; letter-spacing: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--primary); color: var(--on-primary); }

h1, h2, h3, h4, p { margin: 0; }

section[id], footer[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.well {
  width: min(var(--page-max-width), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding-block: var(--section); }

.section-head { max-width: 720px; margin-bottom: var(--xxl); }

.section-title {
  font-size: clamp(30px, 4vw, var(--display-lg));
  line-height: var(--lh-display-lg);
  font-weight: var(--w-heavy);
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Quiet kicker above headlines — small blue caption, no caps */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--xs);
  font-size: 14px;
  font-weight: var(--w-heavy);
  letter-spacing: -0.224px;
  color: var(--primary);
}

.muted { color: var(--muted); }
.pebble { color: var(--muted-soft); }

/* Dot-cluster brand glyph kept as minimal mark */
.dots { display: inline-grid; grid-template-columns: repeat(3, 3px); gap: 2.5px; flex: none; }
.dots i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.dots i:nth-child(5) { visibility: hidden; }

/* ---------------- Buttons ----------------
   Grammar: primary/ghost = pill · compact utility = 8px rect
   Press feedback = scale(0.96) system-wide micro-interaction */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--xs);
  padding: 11px 22px;
  min-height: 44px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: var(--body-md);
  font-weight: var(--w-regular);
  letter-spacing: -0.224px;
  line-height: 1.2;
  transition: transform .12s ease, background-color .18s ease,
              color .18s ease, border-color .18s ease;
  user-select: none;
}
.btn:active { transform: scale(0.96); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-active); }

/* ghost pill — secondary CTA grammar */
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: rgba(0, 102, 204, .06); }

.btn-dark-outline { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .8); }
.btn-dark-outline:hover { background: rgba(255, 255, 255, .1); }

.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { background: #b00011; }

/* compact utility rect */
.btn-sm { min-height: 36px; padding: 8px 15px; font-size: var(--body-sm); border-radius: var(--radius-sm); }
.btn-block { width: 100%; }

/* Inline text link — Action Blue, underline on hover */
.text-link {
  display: inline-flex; align-items: center; gap: var(--xs);
  font-size: var(--body-md);
  font-weight: var(--w-regular);
  letter-spacing: -0.224px;
  color: var(--primary);
  transition: color .15s ease;
}
.text-link:hover { text-decoration: underline; }
.text-link svg { flex: none; }

/* Store hero CTA — Uiverse.io umerhassaan, Action Blue edition.
   Animated gradient ring: a 400%-wide 115deg gradient slides behind
   a 2px-inset solid core. Palette mapped to system blues. */
.btn-swipe {
  display: block;
  width: fit-content;
  cursor: pointer;
  color: #fff;
  position: relative;
  text-decoration: none;
  border: none;
  background: none;
  border-radius: 100px;
  overflow: hidden;
  padding: 2px;
  isolation: isolate;
  font-family: inherit;
}
.btn-swipe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 100%;
  background: linear-gradient(115deg, #a7c4e8, #0071e3, #2997ff);
  background-size: 25% 100%;
  animation: btn-swipe-flow 0.75s linear infinite;
  animation-play-state: running;
  translate: -5% 0%;
  transition: translate 0.25s ease-out;
}
.btn-swipe:hover::before {
  animation-play-state: running;
  transition-duration: 0.75s;
  translate: 0% 0%;
}
@keyframes btn-swipe-flow {
  to { transform: translateX(-25%); }
}
.btn-swipe > span {
  position: relative;
  display: block;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: var(--w-light);
  letter-spacing: 0;
  line-height: 1.2;
  background: var(--primary);
  border-radius: 100px;
  height: 100%;
}
.btn-swipe:active { transform: scale(0.98); }
.btn-swipe.sm { padding: 2px; }
.btn-swipe.sm > span { padding: 9px 18px; font-size: var(--body-sm); }

/* Try Now CTA — Uiverse.io Yaya12085, Action Blue edition.
   Gradient uses the two system blues (primary -> sky); the white
   arrow chip expands across the button on hover and the label
   flips to ink so it stays legible on top of the wipe. */
.btn-neu {
  width: 120px;
  height: 40px;
  border-radius: 30px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 13px;
  gap: 9px;
  color: #fff;
  background: linear-gradient(to right, var(--primary), var(--sky));
  position: relative;
  cursor: pointer;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.212);
  font-size: 15px;
  font-weight: var(--w-heavy);
  letter-spacing: -0.224px;
  transition: transform .12s ease;
}
.btn-neu > span:first-child {
  position: relative;
  z-index: 1;
  transition: color .5s ease;
}
.btn-neu .btn-arrow {
  position: absolute;
  right: 7.5px;
  top: 50%;
  translate: 0 -50%;
  background-color: #fff;
  color: var(--ink);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  transition: all .5s ease;
}
.btn-neu:hover .btn-arrow {
  width: calc(120px - (7.5px) * 2);
}
.btn-neu:hover > span:first-child { color: var(--ink); }
.btn-neu:active { transform: scale(0.96); }

/* Contact send — Uiverse.io adamgiebl, Action Blue edition.
   Scoped to .btn-send; :not(.svg-wrapper) guards the span slide
   because this markup wraps the plane glyph in a <span>. */
.btn-send {
  font-family: inherit;
  font-size: 20px;
  background: var(--primary);
  color: #fff;
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-send span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}
.btn-send svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}
.btn-send:hover { background: var(--primary-active); }
.btn-send:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}
.btn-send:hover svg {
  transform: translateX(1.2em) rotate(45deg) scale(1.1);
}
.btn-send:hover span:not(.svg-wrapper) {
  transform: translateX(5em);
}
.btn-send:active {
  transform: scale(0.95);
}
@keyframes fly-1 {
  from { transform: translateY(0.1em); }
  to   { transform: translateY(-0.1em); }
}

/* Hero secondary link — Sky Link Blue on dark tile */
.link-swap {
  position: relative;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: var(--body-md);
  font-weight: var(--w-regular);
  letter-spacing: -0.224px;
  color: var(--sky);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.link-swap p { margin: 0; position: relative; font-size: inherit; color: inherit; }
.link-swap:hover p { text-decoration: underline; }
.link-swap svg {
  width: 15px; height: 15px;
  color: inherit;
  transition: transform .2s var(--ease-out);
}
.link-swap:hover svg { transform: translateX(4px); }

/* Offer CTA — Uiverse.io CristianMontoya98, ink edition (skew wipe).
   Scoped to .btn-12 only; min-width replaces fixed width so long
   labels ("Start Multi-Part Order") are not clipped. */
.btn-12 {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5em;
  height: 2.3em;
  margin: 0.5em 0 0;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 0.625em;
  font-family: inherit;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.224px;
  line-height: 1.3;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color .5s ease, transform .12s ease;
}
.btn-12 span { mix-blend-mode: normal; }
.btn-12::after {
  content: "";
  background: #fff;
  position: absolute;
  z-index: -1;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  transform: skewX(-45deg) scale(0, 1);
  transition: all 0.5s;
}
.btn-12:hover { color: var(--ink); }
.btn-12:hover::after {
  transform: skewX(-45deg) scale(1, 1);
}
.btn-12:active { transform: scale(0.96); }

/* ---------------- Top navigation — translucent black global nav ---------------- */
.nav-wrap {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-pill {
  width: min(1100px, 100%);
  margin-inline: auto;
  height: var(--nav-height);
  padding-inline: var(--lg);
  display: flex;
  align-items: center;
  gap: var(--lg);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: var(--w-heavy);
  font-size: 14px;
  letter-spacing: -0.12px;
  color: var(--on-dark);
  flex: none;
}
.nav-brand img {
  width: 26px; height: 26px; object-fit: contain;
  background: var(--canvas);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 10px;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-size: var(--caption);
  font-weight: var(--w-regular);
  letter-spacing: -0.12px;
  color: rgba(255, 255, 255, .8);
  padding: 8px 10px;
  border-radius: var(--pill);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--on-dark); }
.nav-actions { display: flex; align-items: center; gap: var(--sm); flex: none; }

.nav-burger {
  display: none;
  width: 36px; height: 36px;
  border: none;
  border-radius: var(--pill);
  background: transparent;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-burger span {
  position: relative; width: 16px; height: 1.5px; background: var(--on-dark);
  transition: transform .2s var(--ease-out), background .1s;
}
.nav-burger span::before, .nav-burger span::after {
  content: ''; position: absolute; left: 0; width: 16px; height: 1.5px;
  background: var(--on-dark); transition: transform .2s var(--ease-out), top .2s;
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }
body.nav-open .nav-burger span { background: transparent; }
body.nav-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 99;
  inset: var(--nav-height) 0 auto 0;
  background: rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: var(--md) var(--lg) var(--lg);
  display: none;
  flex-direction: column;
  gap: var(--xxs);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
}
.mobile-menu.show { transform: translateY(0); opacity: 1; }
.mobile-menu a {
  padding: 14px 12px;
  font-size: var(--title-md);
  font-weight: var(--w-heavy);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--sky); }
body.nav-open .mobile-menu { display: flex; }

/* ---------------- Hero — near-black tile ---------------- */
.hero {
  background: var(--dark);
  color: var(--on-dark);
  padding-top: var(--nav-height);    /* nav offset */
  overflow: clip;
}
.hero-stage {
  width: min(var(--page-max-width), calc(100% - 48px));
  margin-inline: auto;
  min-height: calc(88vh - var(--nav-height));
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--xxl);
  align-items: center;
  padding-block: var(--section);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--lg);
}
.hero-copy .eyebrow { color: var(--sky); letter-spacing: -0.12px; }
.hero-title {
  font-size: clamp(34px, 5vw, var(--display-xl));
  line-height: var(--lh-display-xl);
  font-weight: var(--w-heavy);
  letter-spacing: var(--ls-hero);
  color: var(--on-dark);
}
.hero-pitch {
  max-width: 480px;
  color: var(--on-dark-soft);
  font-size: var(--tagline);
  font-weight: var(--w-light);
  line-height: 1.5;
  letter-spacing: 0;
}
.hero-desc {
  max-width: 480px;
  margin-top: var(--sm);
  color: var(--on-dark-soft);
  font-size: var(--body);
  font-weight: var(--w-light);
  line-height: 1.6;
  letter-spacing: 0;
}
.hero-ctas { display: flex; gap: var(--xl); flex-wrap: wrap; align-items: center; }

/* Poster showcase — product render carries the single shadow */
.hero-posters {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.cycle-card.hero-cycle {
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  min-height: 0;
  box-shadow: var(--shadow-product);
  border-radius: 0;
}
.hero-cycle .cycle-slide img { object-fit: contain; border-radius: 0; }
.hero-cycle .cycle-slide { transform: scale(1.04); }
.hero-cycle .cycle-slide.current { transform: scale(1); }
.poster-slot {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sm);
  color: var(--muted-soft);
  font-size: var(--caption);
  background: var(--soft);
  text-align: center;
  padding: var(--md);
}

@media (max-width: 1023px) {
  .hero-stage { grid-template-columns: 1fr; min-height: 0; padding-block: var(--xxl); }
  .hero-posters { order: 2; min-height: 0; }
  .cycle-card.hero-cycle { width: min(340px, 88%); }
}

/* ---------------- Showcase ---------------- */
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--xxl);
  align-items: stretch;
}
.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--lg);
  padding-block: var(--md);
}
.feature-points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sm); }
.feature-points li {
  display: flex; gap: var(--sm); align-items: baseline;
  color: var(--body-c);
}
.feature-points li::before {
  content: '';
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  translate: 0 -2px;
}

.cycle-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  border: none;
  aspect-ratio: 16 / 10;
  min-height: 340px;
}
.cycle-slide {
  position: absolute; inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .35s var(--ease-out), transform .8s var(--ease-out);
  display: flex; align-items: center; justify-content: center;
}
.cycle-slide.current { opacity: 1; transform: scale(1); }
.cycle-slide img { width: 100%; height: 100%; object-fit: cover; }
.cycle-slide figcaption {
  position: absolute;
  left: var(--md); bottom: var(--md);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-md);
  padding: 8px var(--md);
  font-size: var(--caption);
  letter-spacing: -0.12px;
  color: var(--ink);
  max-width: calc(100% - 90px);
}
.cycle-ui {
  position: absolute;
  right: var(--md); bottom: var(--md);
  display: flex; align-items: center; gap: var(--md);
  background: var(--chip);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--pill);
  padding: 8px var(--md);
}
.cycle-dots { display: flex; gap: var(--xs); }
.cycle-dots button {
  width: 8px; height: 8px;
  border: none; padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  transition: background .2s, transform .2s;
}
.cycle-dots button.current { background: var(--primary); transform: scale(1.25); }
.cycle-count {
  font-size: var(--caption);
  letter-spacing: -0.12px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.slot-fill {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sm);
  color: var(--muted-soft);
  font-size: var(--caption);
  background: var(--soft);
}

/* ---------------- Materials — utility cards ---------------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--lg);
}
.spec-cell {
  padding: var(--lg);
  background: rgba(217, 217, 217, .58);
  border: 1px solid #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .22);
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  transition: all .5s;
}
.spec-name {
  font-size: var(--body-sm);
  font-weight: var(--w-heavy);
  letter-spacing: -0.224px;
  color: var(--primary);
}
.spec-value {
  font-size: var(--display-sm);
  font-weight: var(--w-heavy);
  line-height: 1.1;
  letter-spacing: -0.011em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.spec-value small { font-size: var(--title-md); color: var(--muted); font-weight: var(--w-regular); letter-spacing: 0; }
.spec-desc { color: var(--muted); }
.spec-benefit {
  margin-top: auto;
  padding-top: var(--md);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--body-sm);
  letter-spacing: -0.224px;
  color: var(--success);
}

/* ---------------- Why us — stat cards ---------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--lg);
}
.benefit-card {
  padding: var(--xl) var(--lg);
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  background: rgba(217, 217, 217, .58);
  border: 1px solid #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .22);
  border-radius: 17px;
  transition: all .5s;
}
.benefit-stat {
  font-size: var(--display-md);
  font-weight: var(--w-heavy);
  line-height: 1.1;
  letter-spacing: var(--ls-md);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.benefit-card.is-featured .benefit-stat {
  font-size: var(--display-lg);
  line-height: var(--lh-display-lg);
  color: var(--primary);
}
.benefit-label {
  font-size: var(--body-sm);
  letter-spacing: -0.224px;
  color: var(--muted-soft);
}
.benefit-title { font-size: var(--title-md); font-weight: var(--w-heavy); color: var(--ink); margin-top: var(--sm); }
.benefit-desc { color: var(--muted); }
.benefit-card.span-3 { grid-column: span 3; }
.benefit-card.span-2 { grid-column: span 2; }

/* ---------------- Capabilities ---------------- */
.caps-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--lg);
  align-items: stretch;
}
.cap-feature {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: var(--xxl) var(--xl);
  display: flex; flex-direction: column; gap: var(--lg);
}
.cap-feature .meta {
  font-size: var(--body-sm);
  letter-spacing: -0.224px;
  color: var(--on-dark-soft);
}
.cap-feature h3 {
  font-size: clamp(26px, 3vw, var(--display-md));
  font-weight: var(--w-heavy);
  line-height: 1.15;
  letter-spacing: var(--ls-md);
  color: var(--on-dark);
}
.cap-feature p { color: var(--on-dark-soft); }
.cap-feature .btn { align-self: flex-start; margin-top: auto; }
.cap-side { display: grid; gap: var(--lg); }
.cap-item {
  border: 1px solid #fff;
  border-radius: 17px;
  background: rgba(217, 217, 217, .58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .22);
  padding: var(--lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--xxs) var(--md);
  transition: all .5s;
}
.cap-item h4 { font-size: var(--title-md); font-weight: var(--w-heavy); color: var(--ink); }
.cap-item p { grid-column: 1 / -1; color: var(--muted); }
.cap-item .meta {
  font-size: var(--caption);
  letter-spacing: -0.12px;
  color: var(--muted-soft);
  white-space: nowrap;
  align-self: start;
  font-variant-numeric: tabular-nums;
}

/* ---------------- Process timeline ---------------- */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--lg);
  counter-reset: step;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 22px; left: 4%; right: 4%;
  height: 1px;
  background: var(--hairline-strong);
}
.step { position: relative; display: flex; flex-direction: column; gap: var(--sm); }
.step-no {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--body-md);
  font-weight: var(--w-heavy);
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--title-md); font-weight: var(--w-heavy); color: var(--ink); }
.step p { color: var(--muted); }

/* ---------------- Offers ---------------- */
.offers-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--lg); }
.offer-card {
  background: rgba(217, 217, 217, .58);
  border: 1px solid #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .22);
  border-radius: 17px;
  padding: var(--xl) var(--lg);
  display: flex; flex-direction: column; gap: var(--sm); align-items: flex-start;
  transition: all .5s;
}
.offer-badge {
  font-size: var(--body-sm);
  font-weight: var(--w-heavy);
  letter-spacing: -0.224px;
  color: var(--primary);
}
.offer-card h3 { font-size: var(--tagline); font-weight: var(--w-heavy); letter-spacing: var(--ls-tagline); color: var(--ink); }
.offer-card p { color: var(--muted); }
.offer-card .btn, .offer-card .btn-12 { margin-top: auto; }

/* ---------------- Work gallery — square crops, 18px ---------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: var(--md);
}
.work-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.work-item:first-child { grid-column: span 2; grid-row: span 2; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.work-item:hover img { transform: scale(1.04); }
.work-meta {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 40px var(--md) var(--sm);
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
  color: var(--on-dark);
  opacity: 0;
  translate: 0 6px;
  transition: opacity .3s ease, translate .3s var(--ease-out);
}
.work-item:hover .work-meta { opacity: 1; translate: 0 0; }
.work-meta strong { display: block; font-size: var(--title-md); font-weight: var(--w-heavy); }
.work-meta span { font-size: var(--caption); letter-spacing: -0.12px; opacity: .85; }

/* ---------------- Contact ---------------- */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--xxl);
  align-items: start;
}
.contact-info { display: grid; gap: var(--lg); align-content: start; }
.contact-line { display: grid; gap: var(--xxs); padding-bottom: var(--md); border-bottom: 1px solid var(--divider); }
.contact-line .k {
  font-size: var(--caption);
  letter-spacing: -0.12px;
  color: var(--muted-soft);
}
.contact-line .v {
  font-size: var(--tagline);
  font-weight: var(--w-heavy);
  letter-spacing: var(--ls-tagline);
  color: var(--ink);
  word-break: break-word;
}
.contact-line a.v { color: var(--primary); }
.contact-line a.v:hover { text-decoration: underline; }
.contact-form {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--xl) var(--lg);
  display: grid;
  gap: var(--lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--md); }
.field { display: grid; gap: var(--xxs); }
.field label {
  font-size: var(--body-sm);
  font-weight: var(--w-heavy);
  letter-spacing: -0.224px;
  color: var(--ink);
}
.input {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  height: 44px;
  padding: 10px var(--md);
  font-size: var(--body-md);
  font-weight: var(--w-regular);
  letter-spacing: -0.224px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.input { resize: vertical; min-height: 112px; height: auto; }
.input:focus {
  outline: none;
  border-color: var(--primary-focus);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .15);
}
.input.invalid { border-color: var(--error); }
.field-error { font-size: var(--caption); color: var(--error); display: none; }
.field.has-error .field-error { display: block; }
.form-note { font-size: var(--body-sm); font-weight: var(--w-light); color: var(--muted-soft); }
.form-success { display: none; text-align: center; padding: var(--xxl) var(--md); }
.form-success.show { display: block; }
.form-success h3 { font-size: var(--tagline); font-weight: var(--w-heavy); letter-spacing: var(--ls-tagline); color: var(--ink); margin-bottom: var(--xs); }

/* ---------------- Final CTA — edge-to-edge dark tile ---------------- */
#start { padding-block: 0; }
.final-cta {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 0;
  overflow: hidden;
  padding: var(--section) var(--lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--lg);
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--cta-photo, none);
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.final-cta > * { position: relative; }
.final-cta h2 {
  font-size: clamp(28px, 4vw, var(--display-lg));
  line-height: var(--lh-display-lg);
  font-weight: var(--w-heavy);
  letter-spacing: -0.01em;
  color: var(--on-dark);
  max-width: 720px;
}
.final-cta p { color: var(--on-dark-soft); max-width: 480px; }

/* ---------------- Card interactions — Uiverse.io SteveBloX ---------------- */
.spec-cell:hover,
.benefit-card:hover,
.cap-item:hover,
.offer-card:hover {
  border: 1px solid var(--ink);
  transform: scale(1.05);
}
.spec-cell:active,
.benefit-card:active,
.cap-item:active,
.offer-card:active {
  transform: scale(0.95) rotateZ(1.7deg);
}

/* ============================================================
   NAVION redesign layer
   Dark robotics hero, white lab floor, electric blue accent.
   ============================================================ */

:root {
  --primary: #0a84ff;
  --primary-active: #006edb;
  --primary-focus: #4ea1ff;
  --sky: #82c4ff;
  --canvas: #f7f9fc;
  --soft: #eef3f8;
  --card: #ffffff;
  --strong: #dfe7f0;
  --chip: rgba(255, 255, 255, .76);
  --dark: #07111f;
  --dark-elevated: #0e1d31;
  --deep: #02060d;
  --hairline: #d8e1ec;
  --hairline-strong: #b9c8d8;
  --divider: #e5ecf4;
  --ink: #07111f;
  --body-c: #263446;
  --muted: #657386;
  --muted-soft: #7d8998;
  --on-dark-soft: #bfd0e3;
  --display-xl: 72px;
  --lh-display-xl: .96;
  --display-lg: 48px;
  --lh-display-lg: 1.04;
  --page-max-width: 1180px;
  --nav-height: 58px;
  --section: 96px;
  --radius: 16px;
  --radius-md: 12px;
  --shadow-product: 0 28px 80px rgba(0, 0, 0, .35);
}

body {
  background:
    linear-gradient(180deg, #07111f 0 680px, var(--canvas) 680px 100%);
  color: var(--body-c);
  letter-spacing: 0;
}

.well { width: min(var(--page-max-width), calc(100% - 40px)); }
.section { position: relative; padding-block: var(--section); }
.section:nth-of-type(even) { background: rgba(238, 243, 248, .55); }

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-title {
  font-size: clamp(32px, 5vw, var(--display-lg));
  letter-spacing: 0;
}

.muted {
  color: var(--muted);
  max-width: 66ch;
}

.eyebrow {
  padding: 7px 12px;
  border: 1px solid rgba(10, 132, 255, .24);
  border-radius: var(--pill);
  background: rgba(10, 132, 255, .08);
  font-size: 13px;
  letter-spacing: .02em;
}

.nav-wrap {
  top: 14px;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}

.nav-pill {
  width: min(1060px, calc(100% - 28px));
  height: var(--nav-height);
  padding-inline: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--pill);
  background: rgba(4, 10, 20, .72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 45px rgba(0, 0, 0, .26);
  pointer-events: auto;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 4px;
}

.nav-brand span {
  font-size: 13px;
  letter-spacing: .06em;
}

.nav-links a {
  color: rgba(235, 244, 255, .76);
  font-size: 13px;
  padding: 10px 13px;
}

.nav-links a:hover,
.mobile-menu a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(10, 132, 255, .32), transparent 26%),
    radial-gradient(circle at 18% 62%, rgba(0, 214, 255, .14), transparent 28%),
    linear-gradient(140deg, #030813 0%, #07111f 52%, #0f2035 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 72%, transparent);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  padding-top: 112px;
  padding-bottom: 68px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(34px, 6vw, 78px);
}

.hero-copy { gap: 24px; }
.hero-copy .eyebrow {
  color: #d8ecff;
  border-color: rgba(130, 196, 255, .32);
  background: rgba(130, 196, 255, .1);
}

.hero-title {
  max-width: 760px;
  font-size: clamp(48px, 8vw, var(--display-xl));
  line-height: var(--lh-display-xl);
  letter-spacing: 0;
}

.hero-title span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .74);
  text-shadow: none;
}

.hero-desc {
  max-width: 620px;
  margin-top: 0;
  color: var(--on-dark-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-ctas {
  gap: 16px;
  margin-top: 4px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.hero-proof span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .06);
  color: rgba(231, 242, 255, .78);
  font-size: 13px;
}

.hero-proof strong {
  color: #fff;
  font-weight: 700;
}

.btn-swipe {
  min-width: 154px;
  border-radius: var(--pill);
}

.btn-swipe::before {
  background: linear-gradient(115deg, #82c4ff, #0a84ff, #00d6ff);
  animation-duration: 1.8s;
}

.btn-swipe > span {
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--primary), #005dd1);
  font-weight: 700;
  font-size: 16px;
}

.link-swap {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(130, 196, 255, .28);
  border-radius: var(--pill);
  color: #d7ebff;
  background: rgba(255, 255, 255, .05);
}

.link-swap:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }

.hero-posters { min-height: 540px; }
.cycle-card.hero-cycle {
  width: min(430px, 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  background: rgba(255, 255, 255, .08);
  transform: rotate(2deg);
}

.cycle-card.hero-cycle::before,
.cycle-card.hero-cycle::after {
  content: "";
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(130, 196, 255, .18);
  border-radius: 22px;
  pointer-events: none;
}

.cycle-card.hero-cycle::before {
  inset: -24px 30px 34px -34px;
  transform: rotate(-7deg);
}

.cycle-card.hero-cycle::after {
  inset: 36px -32px -26px 38px;
  transform: rotate(5deg);
}

@keyframes posterPulse {
  0%   { box-shadow: 0 0 0 0 rgba(130, 196, 255, .45); }
  50%  { box-shadow: 0 0 0 14px rgba(130, 196, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(130, 196, 255, 0); }
}
.cycle-card.hero-cycle.is-pulsing {
  animation: posterPulse .7s ease-out;
}

.cycle-card:not(.hero-cycle),
.work-item {
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 55px rgba(7, 17, 31, .08);
}

.showcase-grid {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
}

.feature-points {
  margin-block: 4px 6px;
  gap: 13px;
}

.feature-points li {
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}

.spec-grid,
.offers-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-cell,
.benefit-card,
.cap-item,
.offer-card,
details.policy {
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: none;
  border-radius: var(--radius);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.spec-cell:hover,
.benefit-card:hover,
.cap-item:hover,
.offer-card:hover,
details.policy:hover {
  border-color: rgba(10, 132, 255, .42);
  box-shadow: 0 18px 50px rgba(7, 17, 31, .1);
  transform: translateY(-4px);
}

.spec-cell:active,
.benefit-card:active,
.cap-item:active,
.offer-card:active,
details.policy:active {
  transform: translateY(-1px) scale(.99);
}

.cap-feature {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(10, 132, 255, .35), transparent 30%),
    linear-gradient(145deg, #07111f, #10223a);
  border: 1px solid rgba(130, 196, 255, .16);
}

.cap-feature::after {
  content: "";
  position: absolute;
  inset: auto -20% -44% 24%;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 214, 255, .22), transparent 60%);
  pointer-events: none;
}

.process-track::before {
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.step-no {
  box-shadow: 0 10px 30px rgba(10, 132, 255, .24);
}

.contact-form {
  box-shadow: 0 20px 70px rgba(7, 17, 31, .08);
}

.final-cta {
  border-radius: 24px;
  min-height: 420px;
  justify-content: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(10, 132, 255, .32), transparent 34%),
    linear-gradient(140deg, #07111f, #10223a);
}

.final-cta::before {
  opacity: .2;
  filter: saturate(.8) contrast(1.08);
}

.home-only main[hidden],
.home-only .modal-root,
.home-only .hero-proof {
  display: none !important;
}

.home-only .hero {
  min-height: 88dvh;
}

/* ---------------- Mobile nav ----------------
   The burger button + .mobile-menu panel markup and JS toggle already
   existed, but no breakpoint ever showed the burger or hid the inline
   .nav-links — so on narrow screens the full desktop nav (logo + 3 text
   links + a permanently-hidden burger) overflowed the pill instead. */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-pill { justify-content: space-between; }
  .nav-burger { display: flex; }
}
