/* CueSys — fluid design system keyed to Figma 1920 artboard */
:root {
  color-scheme: only light;
  --bg-deep: #1f083f;
  --bg-deep-alt: #1f0840;
  --bg-card: #200b42;
  /* Shared header + hero purple — sampled from Figma (#1f083f) */
  --bg-hero: #1f083f;
  --bg-header: #1f083f;
  --lime: #d0ffab;
  --lime-soft: #cfffaa;
  --purple: #3d2663;
  --border: #52406d;
  --muted: #9383be;
  --ink: #1f0840;
  --btn-text: #423955;
  --white: #ffffff;
  --black: #000000;

  --page: 1920px;
  /* Figma gutter ~174–190px at 1920 */
  --gutter: clamp(1.5rem, 9.06vw, 10.875rem);
  --section-y: clamp(4.5rem, 8vw, 14.4375rem);
  --section-y-sm: clamp(3.5rem, 6vw, 10rem);

  --fs-hero: clamp(2.5rem, 1.25rem + 3.5vw, 5rem);     /* 40→80 — Figma hero title */
  --fs-h2: clamp(2.125rem, 1.125rem + 2.6vw, 4rem);    /* 34→64 — section titles +2px */
  --fs-h3: clamp(1.25rem, 1rem + 0.7vw, 1.6875rem);   /* 20→27 */
  --fs-lede: clamp(1rem, 0.9rem + 0.4vw, 1.3125rem);  /* 16→21 */
  --fs-body: clamp(0.9375rem, 0.85rem + 0.3vw, 1.25rem);
  --fs-nav: clamp(0.9375rem, 0.8rem + 0.35vw, 1.25rem); /* 15→20 */
  --fs-eyebrow: clamp(0.8125rem, 0.7rem + 0.28vw, 1.0625rem); /* section pills */
  --fs-btn: clamp(0.9375rem, 0.85rem + 0.3vw, 1.25rem);

  --font-display: "Sora", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Fixed header height (does not shrink on scroll) */
  --header-h: clamp(4.1875rem, 5vw, 5rem); /* 1.25× compact */
  /* Distance from viewport top to content under fixed header (+ WP admin bar) */
  --wp-admin-bar-h: 0px;
  --anchor-offset: var(--header-h);
  /* Hero banner band below fixed header.
     Max 650px (Figma); shrink on short viewports so Why peeks (e.g. 1920×1280 + scaling). */
  --hero-banner-h: min(650px, max(480px, calc(100svh - var(--header-h) - 14rem)));
  --radius-card: clamp(14px, 1.1vw, 21px);
  --radius-pill: 999px;
  --btn-h: 3.375rem; /* 54px — Figma exact */
}

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

/* Never follow OS / Chrome “Auto dark” — brand palette is fixed */
html {
  color-scheme: only light;
  background-color: #ffffff;
  scroll-behavior: smooth;
  /* Section top sits just under the fixed header; section padding creates the title gap */
  scroll-padding-top: var(--anchor-offset);
  overflow-x: clip;
  max-width: 100%;
}

html.admin-bar {
  --wp-admin-bar-h: 32px;
  --anchor-offset: calc(var(--header-h) + var(--wp-admin-bar-h));
}

@media screen and (max-width: 782px) {
  html.admin-bar {
    --wp-admin-bar-h: 46px;
  }
}

/* In-page section anchors (Why / Offerings / Engagement / Company / Contact) */
.why,
.offerings,
.engagement,
.company,
.contact,
#why,
#offerings,
#engagement,
#company,
#contact {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--black);
  background: var(--white);
  color-scheme: only light;
  forced-color-adjust: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

/* Lock section surfaces so Auto Dark cannot invert brand colors */
.why,
.company {
  background-color: #ffffff !important;
  color: var(--black) !important;
}

.why-copy h2,
.why-copy .lede,
.why-card h3,
.why-card p,
.company-copy h2,
.company-lede {
  forced-color-adjust: none;
}

.why-copy h2 .purple,
.company-copy h2 .purple {
  color: var(--purple) !important;
}

.engagement {
  background-color: #c7f49f !important;
  color: var(--ink) !important;
}

.contact-form {
  background-color: #ffffff !important;
  color: var(--ink) !important;
}

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

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.container {
  width: min(100%, var(--page));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--btn-h);
  padding: 0 32px;
  border-radius: 37px;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn img {
  width: 12.5px;
  height: 10px;
  flex-shrink: 0;
  display: block;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }

.btn-primary {
  background: var(--lime);
  color: var(--btn-text);
  border: 2px solid var(--lime);
  box-sizing: border-box;
}

.btn-ghost {
  color: var(--white);
  border: 2px solid var(--lime);
  background: transparent;
  box-sizing: border-box;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(208, 255, 171, 0.22);
  color: var(--white);
  border-color: var(--lime);
  filter: none;
  outline: none;
}

.btn-sm {
  width: 160px;
  padding: 0;
  font-size: 20px;
}

.btn-wide { width: 100%; }

/* ——— Type helpers ——— */
.eyebrow {
  margin: 0 0 clamp(0.75rem, 1.2vw, 1.5rem);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
}

.eyebrow.dark { color: var(--ink); }
.eyebrow.lime { color: var(--lime); }

/* Updated Home 90:97 — pill / chip eyebrows */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 clamp(0.85rem, 1.3vw, 1.5rem);
  height: clamp(2.45rem, 2.7vw, 3rem);
  min-height: clamp(2.45rem, 2.7vw, 3rem);
  padding: 0 clamp(1.05rem, 1.45vw, 1.45rem);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  line-height: normal;
  border: 1px solid transparent;
  box-sizing: border-box;
  text-align: center;
}

.eyebrow-pill__label {
  display: block;
  letter-spacing: 0.14em;
  line-height: normal;
  /* X: cancel trailing letter-spacing. Y: ~1.5px optical for mono caps */
  transform: translate(0.07em, 0.12em);
  margin-right: -0.14em;
}

.eyebrow-pill.dark {
  color: var(--ink);
  background: rgba(31, 8, 64, 0.06);
  border-color: rgba(61, 38, 99, 0.18);
}

.eyebrow-pill.soft-lime {
  color: var(--ink);
  background: var(--lime);
  border-color: transparent;
}

.eyebrow-pill.soft-white {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(31, 8, 64, 0.12);
}

.eyebrow-pill.lime {
  color: var(--lime);
  background: rgba(208, 255, 171, 0.08);
  border-color: rgba(208, 255, 171, 0.35);
}

h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 .purple { color: var(--purple); }
h2 .black { color: var(--black); }
h2.white { color: var(--white); }
h2.ink { color: var(--ink); }

.lede {
  margin: clamp(1rem, 1.5vw, 1.75rem) 0 0;
  font-size: var(--fs-lede);
  line-height: 1.75;
  font-weight: 400;
}

.lede.ink { color: var(--ink); }

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: var(--wp-admin-bar-h);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 300;
  height: var(--header-h);
  background: var(--bg-header);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  /* Keep logo + nav inside page max-width gutters (same as .container) */
  width: min(100%, var(--page));
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-mark {
  width: clamp(7.8125rem, 8.75vw, 10rem); /* 1.25× compact logo */
  height: auto;
  shape-rendering: geometricPrecision;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.75rem);
}

.nav a {
  font-family: var(--font-ui);
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
  color: var(--white);
  white-space: nowrap;
}


.nav a:hover,
.nav a.is-active,
.nav a[aria-current="true"] {
  color: var(--lime);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0;
  background: var(--white);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ——— Static Hero Banner (image only) ———
   Height follows the image (≈8:3). No fixed band, no cover-crop, no stretch. */
.hero-banner {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  /* Banner starts below sticky header so top artwork is not covered */
  padding-top: var(--header-h);
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  background: var(--bg-hero, #0a0618);
}

.hero-banner__media {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
}

.hero-banner__img {
  display: block;
  width: 100%;
  height: auto; /* intrinsic 8:3 ratio — no crop, no stretch */
  max-width: 100%;
}

@media (max-width: 1100px) {
  .hero-banner {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: var(--header-h);
  }

  .hero-banner__media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: unset;
    min-height: 0;
  }

  .hero-banner__img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
  }
}

/* ——— Hero (left copy + right image; pager only when 2+ slides) ——— */
.hero {
  position: relative;
  isolation: isolate;
  /* Header clearance + capped banner band (never force full viewport) */
  margin-top: 0;
  padding-top: var(--header-h);
  height: calc(var(--header-h) + var(--hero-banner-h));
  min-height: calc(var(--header-h) + var(--hero-banner-h));
  max-height: calc(var(--header-h) + var(--hero-banner-h));
  overflow: hidden;
  background: var(--bg-hero);
}

.hero--single .hero-pager {
  display: none !important;
}

.hero-track {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(4.5%, 0, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.55s;
  pointer-events: none;
}

.hero-slide.is-active {
  /* Stay absolute so all 3 banners share the same fixed track height */
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.is-leaving {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: visible;
  transform: translate3d(-3.5%, 0, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.hero-slide.is-enter-left {
  transform: translate3d(-4.5%, 0, 0);
}

.hero-slide.is-leaving-right {
  transform: translate3d(3.5%, 0, 0);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  /* Figma title node is 874px wide — keep a full-width column so it can use that */
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  height: 100%;
  min-height: 100%;
  /* Padding for 650px banner */
  padding-top: clamp(1.25rem, 3vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 5vw, 5.5rem);
  pointer-events: none;
}

.hero-inner .hero-content,
.hero-inner .hero-actions,
.hero-inner a {
  pointer-events: auto;
}

.hero-glow {
  /* Keep header/banner purple identical — no left-side brightening */
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  /* Keep copy inside the left text band (does not spill into art) */
  max-width: min(32.5rem, 42vw, 100%); /* ~520px */
  padding-bottom: 0;
  align-self: center;
  /* Keep type clear of the photo blend */
  text-shadow: 0 0 48px rgba(31, 8, 63, 0.85), 0 0 2px rgba(31, 8, 63, 0.9);
}

.hero h1 {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  /* Same size on all 3 banners — +4px from baseline */
  font-size: clamp(2.1rem, 1rem + 1.85vw, 3.5rem); /* → 56px max */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 100%;
}

.hero-slide--long .hero-content {
  max-width: min(36rem, 48vw, 100%);
}

/* Slide 3 — tighter type + spacing so CTAs stay inside the 650px band */
.hero-slide--long h1 {
  font-size: clamp(1.7rem, 0.85rem + 1.25vw, 2.55rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-slide--long .hero-inner {
  padding-top: clamp(1rem, 2.25vw, 3rem);
  padding-bottom: clamp(2.25rem, 3.5vw, 4rem);
}

.hero h1 .accent,
.hero-lede .accent,
.hero-lede .accent .cuesys-brand {
  color: var(--lime);
}

/* Hero brand in lede — bold white unless wrapped in .accent */
.hero .cuesys-brand {
  color: #fff;
  font-weight: 700;
}

/* Lime highlight tag under headline (widget field or inside Supporting text) */
.hero-chip,
.hero-lede .hero-chip {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.15rem 0 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.35rem;
  background: var(--lime);
  color: var(--ink, #1a0b2e);
  font-family: var(--font-ui, var(--font-body));
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

/* Supporting copy between highlight tag and CTAs */
.hero-lede {
  display: block;
  margin: 0 0 1.35rem;
  max-width: 34rem;
  font-family: var(--font-body, var(--font-display));
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 0 36px rgba(31, 8, 63, 0.75);
}

.hero-footnote {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-family: var(--font-body, var(--font-display));
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.hero-slide--long .hero-lede {
  margin-top: -0.15rem;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1rem);
}

/* Per-slide Elementor font sizes (desktop) */
.hero-slide.hero-slide--h1-sized h1,
.hero-slide--long.hero-slide--h1-sized h1 {
  font-size: var(--hero-h1-size) !important;
}
.hero-slide.hero-slide--lede-sized .hero-lede,
.hero-slide--long.hero-slide--lede-sized .hero-lede {
  font-size: var(--hero-lede-size) !important;
}

/* Grid (not flex-wrap) — desktop/tablet CTAs always sit on one row */
.hero-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: start;
  gap: 0.85rem;
  width: max-content;
  max-width: 100%;
}

.hero-actions .btn {
  height: 3rem;
  min-width: 0;
  width: auto;
  max-width: 100%;
  padding: 0 1.35rem;
  font-size: 17px;
  gap: 10px;
  white-space: nowrap;
}

.hero-actions .btn img {
  width: 12.5px;
  height: 10px;
}

/* Keep art on the right; hard clip so slides never spill or cover copy (no edge gradients). */
.hero-visual-wrap {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 38%;
  display: block;
  pointer-events: none;
  overflow: hidden;
  max-height: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Empty Elementor slide image — keep frame so editors notice missing banner */
.hero-visual-wrap--empty {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(208, 255, 171, 0.35);
  box-sizing: border-box;
}

/* Soft-edge blend disabled sitewide — show banner images as-is. */
.hero-visual-wrap--blend::before,
.hero-visual-wrap--blend::after {
  content: none;
  display: none;
}

.hero-visual-img,
.hero-visual-img--spheres,
.hero-visual-img--factory {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 100%;
  object-fit: cover;
  object-position: 78% 42%;
  border-radius: 0;
  transform: none;
}

/* Slides 2/3 fill like slide 1 — cover, no letterboxing */
.hero-visual-img--spheres,
.hero-visual-img--factory {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.hero-visual-img--spheres {
  object-position: 55% 45%;
}

.hero-visual-img--factory {
  /* Cropped client visual is already the right art band */
  object-position: 50% 45%;
}

.hero-pager {
  /* Align to site fixed layout (.container), not viewport right edge.
     Hero visual may still bleed full-width outside this frame. */
  position: absolute;
  left: 50%;
  right: auto;
  bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  width: min(100%, var(--page));
  padding-inline: var(--gutter);
  box-sizing: border-box;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-pager > * {
  pointer-events: auto;
}

.hero-bars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-bars span {
  position: relative;
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  /* Inactive track — soft lime (Figma pager) */
  background: rgba(208, 255, 171, 0.55);
  overflow: hidden;
}

.hero-bars span i {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: inherit;
  background: var(--lime);
  transform-origin: left center;
}

.hero-bars span.is-active {
  background: rgba(255, 255, 255, 0.22);
}

.hero-bars span.is-active i {
  width: 100%;
  background: #fff;
  transition: none;
}

.hero-bars span.is-active.is-progressing i {
  background: var(--lime);
  /* Duration comes from Elementor → --hero-auto-s on .hero */
  animation: hero-bar-progress var(--hero-auto-s, 3s) linear forwards;
}

.hero-bars span.is-done i {
  width: 100%;
}

@keyframes hero-bar-progress {
  from { width: 0%; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active,
  .hero-slide.is-leaving {
    transition-duration: 0.01ms;
  }

  .hero-bars span.is-active.is-progressing i {
    animation: none;
    width: 100%;
  }
}

.hero-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  min-width: 4.5rem;
}

/* Active slide index (01 / 02 / 03) — lime green */
.hero-count [data-hero-current] {
  color: var(--lime);
}

.hero-controls {
  display: flex;
  gap: 18px;
  margin-left: 8px;
}

.icon-circle {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.icon-circle:hover,
.icon-circle:focus-visible {
  transform: scale(1.04);
  outline: none;
}

.icon-circle img,
.icon-circle__img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

/* Default white ring/arrow; hover → lime (#d0ffab, same as active 03) */
.icon-circle__img--hover {
  opacity: 0;
  pointer-events: none;
}

.icon-circle:hover .icon-circle__img--default,
.icon-circle:focus-visible .icon-circle__img--default {
  opacity: 0;
}

.icon-circle:hover .icon-circle__img--hover,
.icon-circle:focus-visible .icon-circle__img--hover {
  opacity: 1;
}

/* ——— Why ——— */
.why {
  position: relative;
  background: var(--white);
  padding-block: clamp(2.25rem, 3.5vw, 4.25rem);
  /* Keep horizontal clip; allow orbit to show fully (not cut off below) */
  overflow-x: clip;
  overflow-y: visible;
}

.why-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.why-waves {
  /* Hairline arcs — bottom-left; subtle but readable on white */
  position: absolute;
  left: 0;
  top: auto;
  right: auto;
  bottom: 0;
  width: min(48vw, 46rem);
  max-width: 820px;
  height: auto;
  max-height: 38%;
  object-fit: contain;
  object-position: left bottom;
  opacity: 0.62;
  filter: brightness(0.72) contrast(1.1);
  z-index: 0;
  pointer-events: none;
}

.why-orbit {
  /* Lime disc + white halftone — nudged up + right */
  position: absolute;
  left: calc(1160 / 1920 * 100%);
  top: calc(20 / 1920 * 100vw);
  width: min(40.5vw, 722px);
  max-width: 722px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}


.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.25rem, 2.5vw, 3.5rem);
  align-items: start;
}

.why-copy .eyebrow-pill,
.why-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin-bottom: 0.7rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 1.15rem;
  color: var(--ink);
  background: #e8fcd4;
  border: 1px solid #d0ffab;
  font-size: var(--fs-eyebrow);
}

.why-pill .eyebrow-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.75em;
  height: 0.75em;
  color: inherit;
  transform: translateY(0.02em);
}

.why-pill .eyebrow-pill__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.why-pill .eyebrow-pill__label {
  color: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.why-copy h2 {
  max-width: 12ch;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.why-copy .lede {
  max-width: 36rem;
  margin-top: 0;
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.15rem);
  line-height: 1.6;
}

/* Brand callout inside running copy (client: stand out from body text) */
.cuesys-brand {
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: -0.02em;
  color: var(--purple, #5b21b6);
  white-space: nowrap;
}

.offerings .cuesys-brand,
.contact .cuesys-brand,
.site-footer .cuesys-brand {
  color: var(--lime, #d0ffab);
}

.engagement .cuesys-brand {
  color: var(--ink, #1a0b2e);
}

.contact-form .cuesys-brand {
  color: var(--purple, #5b21b6);
}

.why-cards-wrap {
  position: relative;
  z-index: 1;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(0.85rem, 1.4vw, 1.5rem);
  row-gap: clamp(0.85rem, 1.4vw, 1.5rem);
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px 2px rgba(0, 0, 0, 0.11);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Figma card 400×450 */
  min-height: 0;
}

.why-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 401 / 180;
  overflow: hidden;
  flex-shrink: 0;
}

.why-card__media img,
.why-card > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 401 / 180;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card:hover .why-card__media img,
.why-card:focus-within .why-card__media img,
.why-card:hover > img,
.why-card:focus-within > img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .why-card__media img,
  .why-card > img {
    transition: none;
  }

  .why-card:hover .why-card__media img,
  .why-card:focus-within .why-card__media img,
  .why-card:hover > img,
  .why-card:focus-within > img {
    transform: none;
  }
}

.why-card h3 {
  margin: 0.7rem 0.85rem 0.3rem;
  color: var(--purple);
  font-size: clamp(0.9125rem, 0.8125rem + 0.25vw, 1.0625rem); /* +1px */
  font-weight: 600;
  line-height: 1.2;
}

.why-card p {
  margin: 0 0.85rem 0.85rem;
  font-size: clamp(0.7625rem, 0.7225rem + 0.15vw, 0.8625rem); /* +1px */
  line-height: 1.35;
  color: var(--black);
}

/* Light stagger — keep height compact */
@media (min-width: 1100px) {
  .why-cards {
    padding-bottom: 1.25rem;
  }
  .why-card--1,
  .why-card--3 {
    transform: translateY(1.5rem);
  }
}

/* ——— Offerings ——— */
/* Figma Group 31: 1920×1508 — Rect 12 base #1F0840, image 13 1920×664 top, Rect 22 1920×689 wash */
.offerings {
  position: relative;
  background: #1f0840;
  padding-block: clamp(2.25rem, 3.5vw, 4.25rem);
  overflow: hidden;
}

.offerings-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  /* image 13 aspect 1920×664 */
  aspect-ratio: 1920 / 664;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.offerings-bg-lines,
.offerings-bg-hot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Vertical light streaks — keep readable as in Figma */
.offerings-bg-lines {
  opacity: 1;
  filter: brightness(0.48) saturate(0.7) contrast(1.05);
}

/* Punchy lime glow only in the red-box hotspot (upper mid-right) — 20% strength */
.offerings-bg-hot {
  z-index: 1;
  opacity: 0.2;
  filter: brightness(1.45) saturate(1.55) contrast(1.12);
  -webkit-mask-image: radial-gradient(
    ellipse 46% 58% at 62% 32%,
    #000 0%,
    #000 22%,
    rgba(0, 0, 0, 0.75) 42%,
    rgba(0, 0, 0, 0.25) 62%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 46% 58% at 62% 32%,
    #000 0%,
    #000 22%,
    rgba(0, 0, 0, 0.75) 42%,
    rgba(0, 0, 0, 0.25) 62%,
    transparent 78%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.offerings-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Keep left copy column dull; do not cover the hotspot */
  background: linear-gradient(
    90deg,
    rgba(31, 8, 64, 0.78) 0%,
    rgba(31, 8, 64, 0.55) 30%,
    rgba(31, 8, 64, 0.12) 48%,
    transparent 58%
  );
  pointer-events: none;
}

.offerings-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 3;
  background: linear-gradient(180deg, rgba(31, 8, 64, 0) 0%, #1f0840 90%);
  pointer-events: none;
}

/* Above offerings-bg overlays (z-index 2–3) so card thumbnails stay visible */
.offerings > .container {
  position: relative;
  z-index: 4;
}

/* Figma Key Offerings header — white star pill + single-line title + 2-line lede */
.offerings .eyebrow-pill.offerings-pill,
.offerings-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin: 0 0 0.85rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 1.15rem;
  color: #ffffff;
  background: #3b1d66;
  border: 1.5px solid #6a35c5;
  backdrop-filter: none;
  font-size: var(--fs-eyebrow);
}

.offerings-pill .eyebrow-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.72em;
  height: 0.72em;
  color: #ffffff;
  transform: translateY(0.02em);
}

.offerings-pill .eyebrow-pill__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.offerings-pill .eyebrow-pill__label {
  color: #ffffff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.offerings h2,
.offerings-title {
  margin: 0 0 1.05rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-shadow: none;
  max-width: none;
  width: 100%;
  white-space: nowrap;
  font-size: var(--fs-h2);
}

.offerings-lede {
  margin: 0 0 clamp(1.5rem, 2.4vw, 2.35rem);
  width: 100%;
  max-width: none;
  color: rgba(232, 226, 242, 0.92);
  font-size: clamp(1.0625rem, 0.92rem + 0.4vw, 1.3125rem);
  font-weight: 400;
  line-height: 1.55;
  text-shadow: none;
}

@media (max-width: 1100px) {
  .offerings-title {
    white-space: normal;
  }
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.7rem);
}

.offer-card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: clamp(1.1rem, 1.6vw, 1.5rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.offer-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.85rem, 1.5vw, 1.25rem) clamp(0.85rem, 1.5vw, 1.25rem) 0.35rem;
  box-sizing: border-box;
  background: #fff;
}

.offer-media::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

.offer-media__frame {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 0.85rem;
  box-shadow: none;
}

.offer-media__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: none !important;
  mix-blend-mode: normal;
  transition: opacity 0.25s ease;
  background: #f4f1f8;
}

.offer-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  background: transparent;
}

.offer-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: auto;
  background: #000;
}

.offer-preview.is-playing {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.offer-media.is-playing .offer-media__poster {
  opacity: 0;
}

.offer-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.125rem;
  height: 4.125rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.2s ease;
}

.offer-play:hover,
.offer-play:focus-visible {
  background: transparent;
  transform: translate(-50%, -50%) scale(1.06);
  outline: none;
}

.offer-play__img,
.offer-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.offer-media.is-playing .offer-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.offer-peek-hint {
  display: none !important;
}

.offer-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem clamp(0.9rem, 1.5vw, 1.25rem) 1rem;
  background: #fff;
}

.offer-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.85rem;
  min-width: 0;
}

.offer-card h3 {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  color: #1f083f;
  font-size: clamp(0.88rem, 0.82rem + 0.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
}

.offer-card__text,
.offer-card__copy p {
  margin: 0;
  color: rgba(31, 8, 63, 0.68);
  font-size: clamp(0.7rem, 0.66rem + 0.12vw, 0.8rem);
  line-height: 1.4;
  max-width: 34ch;
}

.offer-watch {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 1.85rem;
  margin: 0;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #1f083f;
  color: #1f083f;
  font-size: clamp(0.68rem, 0.64rem + 0.1vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  box-shadow: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.offer-watch img,
.offer-watch__arrow {
  width: 11px;
  height: 9px;
  flex: 0 0 auto;
  color: inherit;
}

.offer-watch img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(1800%) hue-rotate(240deg) brightness(90%) contrast(105%);
}

.offer-watch:hover {
  background: #1f083f;
  border-color: #1f083f;
  color: #fff;
}

.offer-watch:hover img {
  filter: brightness(0) invert(1);
}

.offer-watch:hover .offer-watch__arrow {
  color: #fff;
}

/* Phones only — hide multi-line desktop <br> wraps, but keep accent on its own line
   (e.g. "Custom Expert Systems." / "Powered by AI."). */
@media (max-width: 767px) {
  .hero h1 br {
    display: none;
  }

  .hero h1 .accent {
    display: block;
  }

  .hero-slide--long h1 {
    font-size: clamp(1.95rem, 6.4vw, 2.45rem);
    line-height: 1.15;
    margin-bottom: 1.15rem;
  }

  /* Phones only — stack hero CTAs */
  .hero-actions {
    display: flex;
    grid-auto-flow: unset;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    flex: 0 0 auto;
  }

  /* Why / Company titles — drop desktop 12ch band; use full content width */
  .why-copy h2,
  .company-copy h2 {
    max-width: none;
    width: 100%;
  }

  .why-copy .lede,
  .company-lede {
    max-width: none;
    width: 100%;
  }

  /*
   * Phase cards (phone): pull copy up into the empty band beside/under the icon
   * so stacked cards aren’t oversized.
   */
  .phase-card {
    min-height: 0;
    padding: 1rem 1.1rem 1.1rem;
  }

  .phase-icon {
    top: 0.85rem;
    right: 0.85rem;
    width: 3.25rem;
  }

  .phase-card--active .phase-icon {
    width: 3.5rem;
  }

  .phase-label {
    margin-top: 0.15rem;
    margin-bottom: 0.35rem;
    padding-right: 3.75rem;
    font-size: 0.8125rem;
  }

  .phase-card h3 {
    margin-bottom: 0.45rem;
    padding-right: 3.5rem;
    font-size: 1.2rem;
  }

  .phase-card p:last-child {
    font-size: 1rem;
    padding-right: 0;
  }
}

@media (max-width: 700px) {
  .offer-card__top {
    flex-wrap: wrap;
  }

  .offer-watch {
    align-self: flex-start;
  }
}

/* ——— Engagement ——— */
.engagement {
  /* Figma lime ~ #C7F49F */
  background-color: #c7f49f;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(31, 8, 64, 0.035) 0 1px,
      transparent 1px 6px
    );
  padding-block: clamp(2.25rem, 3.5vw, 4.25rem);
}

.engagement .ink { color: var(--ink); }

.engagement .eyebrow-pill,
.engagement-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin-bottom: 0.7rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 1.15rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 8, 64, 0.14);
  font-size: var(--fs-eyebrow);
}

.engagement-pill .eyebrow-pill__icon,
.company-pill .eyebrow-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.75em;
  height: 0.75em;
  color: inherit;
  transform: translateY(0.02em);
}

.engagement-pill .eyebrow-pill__icon svg,
.company-pill .eyebrow-pill__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.engagement-pill .eyebrow-pill__label,
.company-pill .eyebrow-pill__label {
  color: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.engagement h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.engagement-lede {
  margin: 0 0 clamp(1.25rem, 2vw, 2rem);
  max-width: none;
  width: 100%;
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .engagement h2,
  .engagement-lede {
    white-space: normal;
  }
}

.phases {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.4vw, 1.35rem);
}

.phases-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  /* Align dots roughly over card centers: card 368 @ gap ~23 → centers ~191+184 … */
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(5.5rem, 9.5vw, 10.5rem);
}

.phase-dot {
  width: clamp(2.75rem, 2.9vw, 3.5rem);
  height: clamp(2.75rem, 2.9vw, 3.5rem);
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1;
}

.phase-dot.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(31, 8, 64, 0.12);
}

.phase-line {
  height: 1.5px;
  background: var(--ink);
  opacity: 0.9;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.2vw, 1.45rem);
}

.phase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: clamp(1rem, 1.25vw, 1.5rem);
  /* Tighter than Figma 368×338 — less dead air under the icon */
  min-height: clamp(12.75rem, 14.5vw, 16.75rem);
  padding: clamp(1.1rem, 1.35vw, 1.45rem) clamp(1.1rem, 1.5vw, 1.85rem) clamp(1.15rem, 1.4vw, 1.6rem);
  overflow: hidden;
  cursor: default;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s ease;
}

.phase-card--active {
  background: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(31, 8, 64, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.phase-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.phase-icon {
  position: absolute;
  top: clamp(0.85rem, 1.1vw, 1.2rem);
  right: clamp(0.85rem, 1.1vw, 1.2rem);
  width: clamp(3.75rem, 5vw, 5.5rem);
  height: auto;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  /* Inactive: same ink tint for every phase icon (#1f0840) */
  filter: brightness(0) saturate(100%) invert(9%) sepia(48%) saturate(3600%) hue-rotate(249deg) brightness(0.92) contrast(1.05);
  opacity: 1;
  /* Don’t transition filter — browsers interpolate hue-rotate/sepia through purple */
  transition: width 0.35s ease, opacity 0.35s ease;
}

/*
 * Discovery strokes are denser (~27% ink vs ~11–16% peers), so the shared
 * purple tint reads heavier. Soften only when inactive.
 */
.phase-card[data-phase="0"]:not(.phase-card--active) .phase-icon {
  opacity: 0.62;
}

.phase-card--active .phase-icon {
  width: clamp(4.25rem, 5.5vw, 6.25rem);
  /* Active / rollover: original lime PNG (#d0ffab) */
  filter: none;
  opacity: 1;
}

/* Keep Discovery’s two greens (glass + star) unfiltered when active */
.phase-card--active[data-phase="0"] .phase-icon {
  filter: none;
  opacity: 1;
}

/* Copy sits just under the corner icon — keep a small gap, not a half-card void */
.phase-label {
  margin: clamp(2.85rem, 3.4vw, 3.65rem) 0 0.4rem;
  padding-right: clamp(3.5rem, 5vw, 5rem); /* clear absolute icon on the right */
  font-family: var(--font-ui);
  font-size: clamp(0.75rem, 0.7rem + 0.22vw, 0.875rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}

.phase-card h3 {
  margin: 0 0 0.55rem;
  padding-right: clamp(2.5rem, 4vw, 4rem);
  color: var(--ink);
  font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.phase-card p:last-child {
  margin: 0;
  padding-right: 0;
  color: var(--ink);
  font-size: clamp(0.9375rem, 0.88rem + 0.22vw, 1rem);
  line-height: 1.5;
  opacity: 0.9;
}

.engagement-note {
  margin: clamp(1.15rem, 2vw, 1.75rem) 0 0;
  color: #000;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.engagement-note-sub {
  margin: 0.45rem 0 0;
  color: #000;
  font-size: var(--fs-eyebrow);
  line-height: 1.6;
  opacity: 1;
}

/* ——— Company ——— */
/* Figma Group 28: 1920×854 — copy x190 w656, photo 633×469 @ x1097 */
.company {
  background: var(--white);
  /* Match Why / Offerings / Engagement / Contact section band height */
  padding-block: clamp(2.25rem, 3.5vw, 4.25rem);
}

.company-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 6.5rem);
  align-items: center;
}

.company-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 1.15rem;
  color: var(--ink);
  background: #e8fcd4;
  border: 1px solid #d0ffab;
  font-size: var(--fs-eyebrow);
}

.company-copy {
  max-width: 41rem; /* ~656px */
}

.company-copy h2 {
  color: var(--ink);
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.company-copy h2 .black {
  color: #000;
}

.company-lede {
  margin: clamp(1.5rem, 2.2vw, 2.25rem) 0 0;
  max-width: 36rem;
  color: #3d3a45;
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem); /* ~18px */
  line-height: 1.65;
  font-weight: 400;
}

/* Per-section Elementor font sizes — Company */
.company.company--h2-sized .company-copy h2 {
  font-size: var(--company-h2-size) !important;
}
.company.company--lede-sized .company-lede {
  font-size: var(--company-lede-size) !important;
}
@media (max-width: 1100px) {
  .company.company--h2-m-sized .company-copy h2 {
    font-size: var(--company-h2-size-m) !important;
  }
  .company.company--lede-m-sized .company-lede {
    font-size: var(--company-lede-size-m) !important;
  }
}

/* Per-section Elementor font sizes — Engagement */
.engagement.engagement--h2-sized h2.ink {
  font-size: var(--eng-h2-size) !important;
}
.engagement.engagement--lede-sized .engagement-lede {
  font-size: var(--eng-lede-size) !important;
}
.engagement.engagement--phase-h3-sized .phase-card h3 {
  font-size: var(--eng-phase-h3-size) !important;
}
.engagement.engagement--phase-text-sized .phase-card > p:not(.phase-label) {
  font-size: var(--eng-phase-text-size) !important;
}
.engagement.engagement--note-sized .engagement-note {
  font-size: var(--eng-note-size) !important;
}
.engagement.engagement--disclaimer-sized .engagement-note-sub {
  font-size: var(--eng-disclaimer-size) !important;
}

.company-media {
  position: relative;
  justify-self: end;
  width: min(100%, 39.5625rem); /* 633px */
  margin-right: clamp(0rem, 2vw, 1.5rem);
}

.company-accent {
  position: absolute;
  right: -18%;
  bottom: -22%;
  width: min(78%, 26rem);
  z-index: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* Frame clips hover zoom; CSS radius only — photo asset is square-edged. */
.company-photo-frame {
  position: relative;
  z-index: 1;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  border-radius: clamp(20px, 1.5vw, 28px);
  overflow: hidden;
  isolation: isolate;
  line-height: 0;
  box-shadow: 0 4px 18px rgba(31, 8, 64, 0.08);
  transform: translateZ(0);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease;
}

.company-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  aspect-ratio: 633 / 469;
  transform-origin: center center;
  backface-visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-media:hover .company-photo-frame,
.company-media:focus-within .company-photo-frame {
  box-shadow: 0 16px 40px rgba(31, 8, 64, 0.16);
  transform: translateY(-6px) translateZ(0);
}

.company-media:hover .company-photo,
.company-media:focus-within .company-photo {
  transform: scale(1.06);
}

.company-media:hover .company-accent,
.company-media:focus-within .company-accent {
  animation: company-accent-spin 10s linear infinite;
}

@keyframes company-accent-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-media:hover .company-photo-frame,
  .company-media:focus-within .company-photo-frame {
    transform: none;
    box-shadow: 0 4px 18px rgba(31, 8, 64, 0.08);
  }

  .company-media:hover .company-photo,
  .company-media:focus-within .company-photo {
    transform: none;
  }

  .company-media:hover .company-accent,
  .company-media:focus-within .company-accent {
    animation: none;
  }
}

/* ——— Contact (Figma: Let's talk + form card) ——— */
.contact {
  position: relative;
  background: var(--bg-deep-alt);
  padding-block: clamp(2.25rem, 3.5vw, 4.25rem);
  overflow: hidden;
}

.contact-waves {
  position: absolute;
  right: -2%;
  bottom: -18%;
  width: min(58vw, 52rem);
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
  opacity: 1;
}

.contact-waves img {
  display: block;
  width: 100%;
  height: auto;
  /* PNG is drawn on black — screen blend keeps only the lavender arcs */
  mix-blend-mode: screen;
  opacity: 0.85;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  /* Give the address column more room so company names stay on one line */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.contact-copy {
  max-width: none;
}

.contact-pill {
  /* Screenshot: lime star + CONTACT US, purple stroke on deep fill */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin: 0 0 clamp(1.15rem, 1.6vw, 1.65rem);
  height: 2.55rem;
  min-height: 2.55rem;
  padding: 0 1.2rem;
  color: #d0ffab !important;
  background: #34165e !important;
  border: 2px solid #773dc8 !important;
  border-radius: 999px;
  box-shadow: none;
  font-size: var(--fs-eyebrow);
}

.contact-pill .eyebrow-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.75em;
  height: 0.75em;
  color: #d0ffab !important;
  transform: translateY(0.02em);
}

.contact-pill .eyebrow-pill__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-pill .eyebrow-pill__label {
  color: #d0ffab !important;
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: -0.16em;
}

.contact-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  margin: 0.15rem 0 0.75rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}

.contact-lede {
  margin: 0;
  color: rgba(214, 204, 240, 0.88);
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  max-width: 28rem;
}

/* Divider as a div — Elementor resets `hr` margins/background */
.contact-copy .contact-rule {
  display: block;
  width: 100%;
  max-width: none;
  height: 1px;
  margin: clamp(1rem, 1.6vw, 1.35rem) 0 clamp(0.85rem, 1.3vw, 1.15rem);
  border: 0;
  padding: 0;
  background: rgba(147, 131, 190, 0.55);
}

.contact-offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.35rem);
  max-width: none;
  width: 100%;
  margin: 0;
}

.contact-copy .contact-rule--after-offices {
  margin-top: clamp(0.95rem, 1.4vw, 1.25rem);
}

.contact-office {
  margin: 0;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact-office__label {
  display: block;
  margin: 0 0 0.2rem;
  font-family: var(--font-ui);
  font-size: clamp(0.68rem, 0.62rem + 0.12vw, 0.78rem);
  font-weight: 700;
  line-height: 1.35;
  color: rgba(232, 224, 255, 0.95);
}

.contact-office__line {
  display: block;
  font-family: var(--font-ui);
  font-size: clamp(0.62rem, 0.58rem + 0.1vw, 0.72rem);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(186, 174, 214, 0.92);
}

/* First address line = company name — keep on one line when space allows */
.contact-office__line:first-of-type {
  white-space: nowrap;
}

.contact-email-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.65rem + 0.15vw, 0.8125rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(168, 156, 198, 0.95);
}

.phase-label.muted { color: var(--muted); }

.contact-email {
  display: inline-block;
  margin-top: 0;
  color: var(--lime);
  font-family: var(--font-ui);
  /* Figma: ~20–24px, not hero-sized */
  font-size: clamp(1.125rem, 1rem + 0.35vw, 1.375rem);
  font-weight: 500;
  line-height: 1.35;
  word-break: break-word;
  text-decoration: none;
}

.contact-email:hover {
  color: #e3ffc4;
}

.contact-form {
  background: var(--white);
  border: 0;
  border-radius: clamp(18px, 1.4vw, 28px);
  padding: clamp(1.15rem, 1.8vw, 1.85rem) clamp(1.15rem, 1.8vw, 1.85rem);
  display: grid;
  gap: clamp(0.65rem, 0.95vw, 0.95rem);
  max-width: 38rem;
  justify-self: end;
  width: 100%;
  box-shadow: 0 24px 60px rgba(8, 2, 20, 0.28);
}

.contact-form label { display: grid; gap: 0.35rem; }

.contact-form label span {
  color: var(--ink);
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
  font-weight: 500;
}

.contact-form label em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.92em;
  color: rgba(82, 64, 109, 0.72);
}

.contact-form input {
  height: clamp(2.65rem, 2vw + 1rem, 3.1rem);
  border: 1px solid rgba(147, 131, 190, 0.45);
  border-radius: clamp(10px, 0.7vw, 14px);
  padding: 0 clamp(0.85rem, 1.1vw, 1.2rem);
  font-family: var(--font-ui);
  font-size: clamp(0.875rem, 0.8rem + 0.15vw, 1rem);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  outline: none;
  width: 100%;
}

.contact-form input::placeholder { color: rgba(147, 131, 190, 0.85); }
.contact-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(61, 38, 99, 0.12); }

.form-legal {
  margin: 0.35rem 0 0.15rem;
  color: rgba(82, 64, 109, 0.78);
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.875rem);
  line-height: 1.55;
}

.form-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form .btn,
.contact-form .btn-primary {
  margin-top: 0.2rem;
  height: clamp(2.65rem, 2vw + 1rem, 3.1rem);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.1875rem);
  border-radius: 999px;
  /* Match lime fill — no dark purple stroke */
  background-color: var(--lime) !important;
  border: 2px solid var(--lime) !important;
  color: var(--btn-text, #423955) !important;
  box-shadow: none !important;
}

.contact-form .btn:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  filter: none;
}

.contact-form__fields {
  display: grid;
  gap: clamp(0.9rem, 1.15vw, 1.25rem);
}

/* Honeypot — visually hidden, still in tab order off for bots that fill all inputs */
.contact-form .hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-form__error {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(180, 40, 60, 0.08);
  color: #8a1f32;
  font-size: 0.875rem;
  line-height: 1.4;
}

.contact-form__thanks {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: clamp(0.5rem, 1vw, 1rem) 0;
  outline: none;
  animation: cuesys-thanks-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-form__thanks[hidden] {
  display: none !important;
}

.contact-form__thanks-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
}

.contact-form__thanks-mark svg {
  display: block;
  animation: cuesys-thanks-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.contact-form__thanks-title {
  margin: 0;
  font-family: var(--font-display, var(--font-ui));
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.contact-form__thanks-copy {
  margin: 0;
  max-width: 28ch;
  color: rgba(82, 64, 109, 0.88);
  font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1.0625rem);
  line-height: 1.55;
}

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

@keyframes cuesys-thanks-pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form__thanks,
  .contact-form__thanks-mark svg {
    animation: none;
  }
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  background: var(--bg-deep-alt);
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(82, 64, 109, 0.45);
  /* Watermark sits in bottom band — clear air above wordmark / star */
  padding-bottom: clamp(8rem, 20vw, 15rem);
}

.footer-top {
  padding-top: clamp(1.75rem, 3vw, 2.75rem);
  /* Keep copyright / email clear of the watermark (PNG star sticks above letters) */
  padding-bottom: clamp(5.5rem, 12vw, 9.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.footer-brand .logo-mark {
  width: clamp(5.5rem, 6vw, 6.875rem);
}

.footer-brand p,
.footer-links a {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.875rem, 0.8rem + 0.25vw, 1.125rem);
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.5vw, 3rem);
  align-items: center;
}

.footer-mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  line-height: 0;
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-height: clamp(6.5rem, 16vw, 12.5rem);
}

.footer-mark img {
  width: 100%;
  max-width: none;
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  /* Match old footer-bg.svg soft purple (#6B4A96 → #3D2466) on dark footer */
  filter: brightness(0) saturate(100%) invert(28%) sepia(35%) saturate(1100%) hue-rotate(235deg) brightness(78%);
}

/* ——— Back to top ——— */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 280;
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(227, 255, 196, 0.55);
  border-radius: 999px;
  background: var(--bg-header, #3d2663);
  color: var(--lime, #d0ffab);
  box-shadow: 0 12px 28px rgba(8, 2, 20, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #4a2f78;
  border-color: var(--lime, #d0ffab);
  outline: none;
}

.back-to-top:focus-visible {
  box-shadow: 0 0 0 3px rgba(227, 255, 196, 0.35), 0 12px 28px rgba(8, 2, 20, 0.35);
}

.back-to-top svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.15s ease, visibility 0.15s ease;
    transform: none;
  }
  .back-to-top.is-visible {
    transform: none;
  }
}

/* ——— Breakpoints ——— */
/* Ultrawide / >1920: purple full-width; hero IMAGE only pinned to the right (not stretched). */
@media (min-width: 1921px) {
  :root {
    --page: 1920px;
    --gutter: 10.875rem;
  }

  .hero {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    background: var(--bg-hero);
  }

  .hero-track {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  /* Same art width as 1920 desktop (~62% of 1920), stuck to the right edge */
  .hero-visual-wrap {
    inset: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(62vw, 1184px);
  }

  .hero-visual-wrap::before {
    content: none;
    display: none;
  }

  .hero-visual-img,
  .hero-visual-img--spheres,
  .hero-visual-img--factory {
    object-fit: cover;
    object-position: 50% 45%;
  }
}

@media (max-width: 1400px) {
  .hero h1 { font-size: clamp(2.1rem, 2.6vw, 3.25rem); }
}

@media (max-width: 1100px) {
  .hero-lede,
  .hero-slide--long .hero-lede {
    display: block;
    margin: -0.35rem 0 1rem;
    max-width: 100%;
    font-size: clamp(0.875rem, 3.4vw, 0.98rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-slide.hero-slide--h1-m-sized h1,
  .hero-slide--long.hero-slide--h1-m-sized h1 {
    font-size: var(--hero-h1-size-m) !important;
  }
  .hero-slide.hero-slide--lede-m-sized .hero-lede,
  .hero-slide--long.hero-slide--lede-m-sized .hero-lede {
    font-size: var(--hero-lede-size-m) !important;
  }

  :root {
    --hero-banner-h: auto;
    --header-h: clamp(4.1875rem, 9vw, 5rem);
    --gutter: clamp(1.25rem, 4.5vw, 2.5rem);
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
  }

  /*
   * Stack every slide in one grid cell so the track height = tallest slide.
   * Avoids absolute positioning (which collapses height) and JS measurement races.
   */
  .hero-track {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .hero-slide,
  .hero-slide.is-active,
  .hero-slide.is-leaving,
  .hero-slide.is-leaving-right,
  .hero-slide.is-enter-left {
    grid-area: 1 / 1;
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100%;
    max-width: 100%;
    /* Fill the shared grid cell (tallest slide) so CTAs can pin to the bottom */
    align-self: stretch;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    transform: none !important;
    transition: opacity 0.45s ease, visibility 0s linear 0s !important;
  }

  .hero-slide:not(.is-active) {
    opacity: 0 !important;
    /* visibility:hidden still contributes to grid track sizing */
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 0;
  }

  .hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2;
  }

  .company-accent {
    right: 0;
    bottom: -8%;
    width: min(70%, 18rem);
  }

  .company-media {
    overflow: hidden;
    max-width: 100%;
  }

  .offerings-title {
    white-space: normal;
  }

  .container,
  .header-inner,
  .hero-pager,
  .hero-inner,
  .hero-content {
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-actions .btn {
    min-width: 0;
    max-width: 100%;
  }

  /* Tablet/mobile: banner on top, full page width (desktop art inset unchanged) */
  .hero-visual-wrap,
  .hero-visual-wrap--blend {
    position: relative !important;
    inset: auto !important;
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    height: clamp(12rem, 48vw, 18rem);
    max-height: none !important;
    margin: 0 0 0.85rem;
    overflow: hidden !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  /* Kill desktop side-fade overlays that leave empty purple gutters */
  .hero-visual-wrap--blend::before,
  .hero-visual-wrap--blend::after {
    display: none !important;
    content: none !important;
  }

  .hero-inner {
    order: 2;
    position: relative;
    z-index: 5;
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    grid-template-columns: 1fr;
    align-items: stretch;
    align-self: stretch;
    width: 100%;
    height: auto;
    min-height: 0;
    padding-top: 0.35rem;
    padding-bottom: 0.75rem;
  }

  .hero-content,
  .hero-slide--long .hero-content {
    max-width: 100%;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
  }

  /* Keep CTAs glued above the pager — never float mid-banner */
  .hero-actions,
  .hero-slide--long .hero-actions {
    margin-top: auto !important;
    margin-bottom: 0;
  }

  .hero h1,
  .hero-slide--long h1,
  .hero-lede {
    flex: 0 0 auto;
  }

  .hero-visual-img,
  .hero-visual-img--spheres,
  .hero-visual-img--factory {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    /* Zoom past letterboxing baked into banner assets */
    transform: scale(1.2) !important;
    transform-origin: center center !important;
  }

  /* Let headline use full content width — no forced desktop line breaks */
  .hero h1 br {
    display: none;
  }

  .hero h1 .accent {
    display: block;
  }

  /* Slides 1–2: larger type so the locked hero feels filled */
  .hero h1 {
    margin-bottom: 0.85rem;
    font-size: clamp(2.15rem, 7.2vw, 2.75rem);
    line-height: 1.12;
  }

  /* Slide 3: use the open band — only slightly under slides 1–2 */
  .hero-slide--long h1 {
    font-size: clamp(1.95rem, 6.4vw, 2.45rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
  }

  .hero-slide--long .hero-actions {
    gap: 0.65rem;
  }

  .hero-inner,
  .hero-slide--long .hero-inner {
    padding-top: 0.35rem;
    padding-bottom: 0.75rem;
  }

  /* Tablet: CTAs stay on one row (grid) */
  .hero-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    justify-content: start;
    width: max-content;
    max-width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    min-width: 0;
    width: auto;
    font-size: 15px;
    height: 2.75rem;
    padding-inline: 1.15rem;
  }

  /* Keep pager out of the CTAs — sit in normal flow under the active slide */
  .hero-pager {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin: 0 auto 1.5rem;
    padding-inline: var(--gutter);
    justify-content: space-between;
    gap: 0.75rem;
  }

  .hero-bars span { width: 32px; }

  .why-grid,
  .company-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-offices {
    grid-template-columns: 1fr;
    max-width: 28rem;
    gap: 0.85rem;
  }

  .contact-office__line:first-of-type {
    white-space: normal;
  }

  /* Decorative lime orbit — desktop only */
  .why-orbit {
    display: none !important;
  }

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

  /* Tablet 2-col: also shorten cards — title uses space next to icon */
  .phase-card {
    min-height: 0;
  }

  .phase-label {
    margin-top: 0.25rem;
    padding-right: 4rem;
  }

  .phase-card h3 {
    padding-right: 3.75rem;
  }

  .why-cards-wrap { margin-top: 0.85rem; }
  .company-media { margin-top: 2rem; justify-self: center; }
}

/* Phones only — full hero banner (must follow the ≤1100px cover/zoom rules above) */
@media (max-width: 767px) {
  .hero-visual-wrap,
  .hero-visual-wrap--blend {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .hero-visual-img,
  .hero-visual-img--spheres,
  .hero-visual-img--factory {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .nav { display: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-deep);
    padding: 0.5rem var(--gutter) 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .site-header.is-open .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(82, 64, 109, 0.45);
  }

  .why-cards { grid-template-columns: 1fr; }
}

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

  .phases-track { display: none; }

  .eyebrow-pill {
    height: 2.25rem;
    min-height: 2.25rem;
    padding: 0 0.95rem;
    line-height: normal;
  }

  .eyebrow-pill__label {
    letter-spacing: 0.1em;
    margin-right: -0.1em;
    transform: translate(0.05em, 0.14em);
  }

  .btn,
  .btn-sm {
    font-size: 16px;
    height: 48px;
  }

  .btn-sm { width: auto; padding: 0 1.5rem; }

  .nav a { font-size: 16px; }

  .hero-pager {
    margin-bottom: 1.25rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .hero-bars {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .hero-bars span { width: 28px; max-width: 22%; }

  .hero-count {
    flex: 0 0 auto;
    min-width: 0;
    font-size: 14px;
  }

  .hero-controls {
    flex: 0 0 auto;
    margin-left: 0;
    gap: 10px;
  }

  .icon-circle { width: 36px; height: 36px; }

  .site-footer {
    /* Room for a readable watermark without the old empty-air gap */
    padding-bottom: clamp(5.75rem, 34vw, 8rem);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: clamp(2.5rem, 12vw, 3.5rem);
  }

  .footer-mark {
    max-height: clamp(5.5rem, 32vw, 7.75rem);
    opacity: 0.82;
  }

  .footer-mark img {
    /* Lighter purple so “cuesys” reads on #1f0840 (desktop filter is too dark on small screens) */
    filter: brightness(0) saturate(100%) invert(48%) sepia(22%) saturate(850%) hue-rotate(235deg) brightness(105%);
  }
}

/* ——— Vimeo video modal ——— */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.video-modal[hidden] {
  display: none !important;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(20, 16, 28, 0.72);
  backdrop-filter: blur(2px);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 88vw);
  max-width: min(960px, 88vw);
  border-radius: 16px;
  overflow: visible;
  background: #0d0618;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.video-modal__close {
  position: absolute;
  top: -0.85rem;
  right: -0.85rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: #1f0840;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: rgba(208, 255, 171, 0.95);
  border-color: var(--lime);
  color: #1f0840;
  outline: none;
  transform: scale(1.05);
}

.contact-form.is-video-gate,
form.contact-form--video-gate {
  outline: 2px solid rgba(208, 255, 171, 0.55);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(208, 255, 171, 0.12);
}

.video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__sound-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: rgba(20, 6, 46, 0.55);
  color: #d0ffab;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
}

.video-modal__sound-play[hidden] {
  display: none !important;
}

.video-modal__sound-play-icon {
  display: inline-grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: rgba(52, 22, 94, 0.85);
  color: #d0ffab;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.video-modal__sound-play-icon svg {
  margin-left: 3px;
}

.video-modal__sound-play:hover .video-modal__sound-play-icon,
.video-modal__sound-play:focus-visible .video-modal__sound-play-icon {
  background: rgba(52, 22, 94, 1);
  outline: none;
}

body.video-modal-open {
  overflow: hidden;
}

/* ——— Privacy policy modal ——— */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.privacy-modal[hidden] {
  display: none !important;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(20, 16, 28, 0.72);
  backdrop-filter: blur(2px);
}

.privacy-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(86vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.privacy-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 8, 64, 0.08);
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.privacy-modal__close:hover,
.privacy-modal__close:focus-visible {
  background: rgba(208, 255, 171, 0.55);
  outline: none;
}

.privacy-modal__body {
  overflow: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  padding-right: clamp(2.75rem, 4vw, 3.25rem);
  -webkit-overflow-scrolling: touch;
}

.privacy-modal__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.privacy-modal__content {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #3d3a45;
}

.privacy-modal__content h2 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

.privacy-modal__content p,
.privacy-modal__content ul {
  margin: 0 0 0.85rem;
}

.privacy-modal__content ul {
  padding-left: 1.25rem;
}

.privacy-modal__content a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-modal__edit-hint {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 8, 64, 0.12);
  font-size: 0.875rem;
}

.privacy-modal__full-link {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}

.privacy-modal__full-link:hover {
  text-decoration: underline;
}

body.privacy-modal-open {
  overflow: hidden;
}
