/*
 * Inflowx domestic site — Typeless-inspired visual system.
 * The structure and business content remain original; this layer only reshapes
 * typography, spacing, motion and presentation around the idea of information flow.
 */

:root {
  --paper: #ffffff;
  --paper-soft: #f4f4f2;
  --paper-warm: #f7f6f1;
  --black: #121212;
  --gray-1: #5f5f5b;
  --gray-2: #92928f;
  --gray-3: #dededb;
  --brand: #596444;
  --brand-soft: #e8eadf;
  --maxw: 1280px;
}

html { background: var(--paper); }

body {
  background: var(--paper);
  color: var(--black);
  font-family: "HarmonyOS Sans SC", "MiSans", "OPPO Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

::selection { color: #fff; background: var(--black); }
:focus-visible { outline-color: var(--black); }
.serif { font-family: inherit; }
.wrap { max-width: var(--maxw); padding-inline: 40px; }

/* Navigation */
header {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, .86);
  border-bottom-color: rgba(18, 18, 18, .07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .68);
}

.nav { height: 76px; }
.brand { gap: 10px; color: var(--black); }
.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #fff;
  filter: grayscale(1) contrast(235%) brightness(1.11);
}
.brand-wordmark { display: block; width: 142px; height: auto; flex: 0 0 auto; }
.nav-links { gap: 34px; }
.nav-links a { color: var(--black); font-size: 15px; font-weight: 570; }
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--black);
  transition: right .24s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--black); }
.nav-links a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--black);
}
.nav-cta:hover { background: #323232; transform: translateY(-1px); }
.nav-mobile-actions { display: none; align-items: center; gap: 8px; }
.mobile-cta { padding: 11px 18px; border-radius: 999px; color: #fff; background: var(--black); font-size: 14px; font-weight: 650; }

/* Hero */
.hero {
  min-height: auto;
  padding: 188px 0 42px;
  display: block;
}
.hero-grid { display: block; }
.hero-grid > div:first-child { max-width: 1020px; margin: 0 auto; text-align: center; }
.eyebrow {
  margin-bottom: 30px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--gray-1);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
}
.hero h1 {
  margin-bottom: 34px;
  color: var(--black);
  font-size: clamp(72px, 8.8vw, 128px);
  font-weight: 650;
  letter-spacing: -.075em;
  line-height: .94;
}
.hero h1 em { color: var(--gray-2); font-style: normal; }
.hero p.lead {
  max-width: 770px;
  margin: 0 auto 34px;
  color: var(--gray-2);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 430;
  line-height: 1.65;
}
.hero p.lead strong { color: var(--black); font-weight: 650; }
.hero-cta { justify-content: center; gap: 12px; }
.btn { padding: 14px 27px; border-radius: 999px; font-size: 15px; font-weight: 650; }
.btn-primary { color: #fff; background: var(--black); }
.btn-primary:hover { background: #323232; }
.btn-ghost { color: var(--black); border-color: var(--gray-3); background: #fff; }
.btn-ghost:hover { color: var(--black); border-color: var(--black); }

/* The memorable moment: human judgment and AI execution exchange a live signal. */
.hero-art {
  width: 100%;
  height: 590px;
  margin-top: 112px;
  border: 1px solid rgba(18, 18, 18, .07);
  border-radius: 36px;
  background: #f7f7f5;
  overflow: hidden;
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .08);
}
.hero-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
  filter: grayscale(1) contrast(.94);
  mix-blend-mode: multiply;
}
.flow-demo { position: absolute; inset: 0; display: grid; place-items: center; }
.flow-axis {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(18,18,18,.2) 0 5px, transparent 5px 12px);
}
.flow-signal {
  position: absolute;
  top: calc(50% - 7px);
  left: 18%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: 0 0 0 8px rgba(255,255,255,.62);
  animation: signal-flow 3.2s cubic-bezier(.65,0,.35,1) infinite;
}
.flow-node {
  position: absolute;
  top: 50%;
  width: 238px;
  padding: 24px 26px;
  border: 1px solid rgba(18,18,18,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 22px 60px rgba(36,40,35,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-50%);
}
.flow-human { left: 6%; }
.flow-ai { right: 6%; }
.flow-node .flow-kicker { display: block; margin-bottom: 7px; color: var(--gray-2); font-size: 12px; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; }
.flow-node b { display: block; margin-bottom: 7px; font-size: 23px; letter-spacing: -.04em; }
.flow-node p { color: var(--gray-1); font-size: 14px; }
.flow-core {
  position: relative;
  z-index: 2;
  min-width: 176px;
  padding: 20px 26px;
  border-radius: 999px;
  color: #fff;
  background: var(--black);
  box-shadow: 0 18px 48px rgba(18,18,18,.2);
  text-align: center;
}
.flow-core b { display: block; font-size: 16px; letter-spacing: .01em; }
.flow-core span { display: block; margin-top: 2px; color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.flow-core .flow-pulse { display: none; }
.flow-pulse i { display: block; width: 3px; height: 8px; border-radius: 3px; background: #fff; animation: pulse 1.1s ease-in-out infinite alternate; }
.flow-pulse i:nth-child(2), .flow-pulse i:nth-child(6) { height: 15px; animation-delay: -.4s; }
.flow-pulse i:nth-child(3), .flow-pulse i:nth-child(5) { height: 20px; animation-delay: -.2s; }
.flow-pulse i:nth-child(4) { height: 12px; animation-delay: -.7s; }
.flow-caption { position: absolute; left: 0; right: 0; bottom: 35px; color: rgba(18,18,18,.58); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-align: center; }

@keyframes signal-flow {
  0% { left: 18%; transform: scale(.72); opacity: .25; }
  18% { opacity: 1; }
  50% { transform: scale(1.15); }
  82% { opacity: 1; }
  100% { left: calc(82% - 14px); transform: scale(.72); opacity: .25; }
}
@keyframes pulse { to { height: 4px; opacity: .5; } }

/* Proof strip */
.strip { border: 0; background: #fff; }
.strip-in { display: grid; grid-template-columns: 1.35fr repeat(4, .7fr); gap: 10px; padding: 18px 0 0; }
.strip-in > span:first-child,
.strip-items b {
  min-height: 104px;
  padding: 20px;
  border-radius: 20px;
  background: var(--paper-soft);
  color: var(--black);
  display: flex;
  align-items: flex-end;
}
.strip-in > span:first-child { font-size: 17px; font-weight: 620; line-height: 1.35; }
.strip-items { display: contents; }
.strip-items b { font-size: 14px; font-weight: 650; }

/* Shared section rhythm */
section { padding: 158px 0; }
section[id] { scroll-margin-top: 88px; }
.sec-head,
.portfolio-head { max-width: 980px; margin: 0 auto 88px; text-align: center; }
.sec-head { max-width: 1200px; }
.sec-head .tag {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--gray-1);
  background: var(--paper-soft);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .08em;
}
.sec-head h2,
.portfolio-head h2 {
  color: var(--black);
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 640;
  letter-spacing: -.07em;
  line-height: .98;
}
.sec-head h2 {
  white-space: nowrap;
  font-size: clamp(58px, 7vw, 96px);
}
.sec-head h2 br,
.portfolio-head h2 br { display: none; }
.sec-head p,
.portfolio-head p { max-width: 700px; margin: 28px auto 0; color: var(--gray-2); font-size: 19px; line-height: 1.65; }

/* Capabilities become full-width editorial rows rather than generic cards. */
.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  min-height: 520px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  grid-template-rows: 1fr;
  column-gap: 70px;
  align-items: stretch;
  border: 0;
  border-radius: 30px;
  background: var(--paper-soft);
  box-shadow: none;
  overflow: hidden;
}
.card:hover { border: 0; box-shadow: none; transform: none; }
.card .ico {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 484px;
  margin: 0;
  padding: 34px;
  border-radius: 22px;
  background: #fff;
}
.card .ico img { filter: none; opacity: 1; object-fit: cover; }
.card-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin-right: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-copy h3 { margin-bottom: 16px; font-size: clamp(30px, 3.1vw, 48px); font-weight: 650; letter-spacing: -.055em; line-height: 1.05; }
.card-copy > p { color: var(--gray-1); font-size: 16px; line-height: 1.65; }
.card-copy ul { margin-top: 22px; gap: 11px; }
.card li { color: var(--gray-1); font-size: 14px; }
.card li::before { width: 5px; height: 5px; background: var(--black); }
.card:nth-child(even) { grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr); }
.card:nth-child(even) .ico { grid-column: 2; }
.card:nth-child(even) .card-copy { grid-column: 1; margin-right: 0; margin-left: 42px; }

/* Product portfolio */
.portfolio { padding-top: 100px; }
.product-showcase { grid-template-columns: minmax(0, 1.16fr) minmax(340px, .84fr); gap: 18px; }
.product-link {
  border: 0;
  border-radius: 30px;
  background: var(--paper-soft);
  box-shadow: none;
}
.product-link:hover { border: 0; box-shadow: none; transform: translateY(-4px); }
.product-link--featured .product-media { min-height: 470px; border: 18px solid var(--paper-soft); border-bottom: 0; border-radius: 30px 30px 18px 18px; background: #fff; }
.product-link:not(.product-link--featured) { min-height: 285px; grid-template-columns: 1fr; grid-template-rows: 1.12fr .88fr; }
.product-link:not(.product-link--featured) .product-media { border: 14px solid var(--paper-soft); border-bottom: 0; border-radius: 28px 28px 14px 14px; background: #fff; }
.product-media img { filter: saturate(.78) contrast(.96); }
.product-link--enterprise .product-media {
  padding: 18px;
  display: block;
  background: var(--black);
}
.enterprise-gallery {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.enterprise-gallery img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: left top;
  filter: saturate(.9) contrast(.98);
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}
.product-copy { padding: 30px 34px 34px; }
.product-link--featured .product-copy { padding: 34px 38px 40px; }
.product-copy h3,
.product-link--featured .product-copy h3 { color: var(--black); font-size: 32px; font-weight: 660; letter-spacing: -.05em; }
.product-copy p { color: var(--gray-1); line-height: 1.65; }
.product-visit { color: var(--black); }

/* One active product above, three swappable product modules below. */
.product-explorer { display: grid; gap: 18px; }
.product-stage {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(340px, .66fr);
  overflow: hidden;
  border-radius: 30px;
  background: var(--paper-soft);
  transition: transform .28s ease;
}
.product-stage:hover { transform: translateY(-3px); }
.product-stage-media {
  min-width: 0;
  min-height: 500px;
  overflow: hidden;
  background: #fff;
}
.product-stage-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
  filter: saturate(.82) contrast(.97);
}
.product-stage-media.is-multi {
  padding: 16px;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: var(--black);
}
.product-stage-media.is-multi > img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  object-position: left top;
  filter: saturate(.9) contrast(.98);
}
.product-stage-copy {
  padding: 58px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-stage-kicker {
  margin-bottom: 20px;
  color: var(--gray-2);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .1em;
}
.product-stage-copy h3 {
  margin-bottom: 20px;
  color: var(--black);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 660;
  letter-spacing: -.06em;
  line-height: 1.02;
}
.product-stage-copy p { color: var(--gray-1); font-size: 16px; line-height: 1.75; }
.product-stage-copy .product-visit { margin-top: 30px; }
.product-switcher { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-switch {
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 24px;
  background: var(--paper-soft);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.product-switch:hover {
  transform: translateY(-3px);
  border-color: rgba(18,18,18,.14);
  background: #fff;
}
.product-switch-media { height: 176px; margin: 12px 12px 0; overflow: hidden; border-radius: 15px; background: #fff; }
.product-switch-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: left center; filter: saturate(.8) contrast(.97); }
.product-switch-copy { padding: 22px 24px 26px; }
.product-switch-copy > span { display: block; margin-bottom: 7px; color: var(--gray-2); font-size: 11px; font-weight: 680; letter-spacing: .1em; }
.product-switch-copy h3 { margin-bottom: 7px; font-size: 27px; font-weight: 650; letter-spacing: -.045em; }
.product-switch-copy p { color: var(--gray-1); font-size: 14px; }

/* Company statement */
#about { padding: 100px 0; }
.block-olive {
  padding: 108px 88px;
  border-radius: 36px;
  color: #fff;
  background: var(--black);
}
.block-olive::after {
  right: -110px;
  top: auto;
  bottom: -150px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(160,176,128,.2), transparent 66%);
}
.about-grid { grid-template-columns: 1.25fr .75fr; gap: 84px; }
.about-grid h2 { margin-bottom: 30px; font-size: clamp(46px, 5vw, 76px); font-weight: 640; letter-spacing: -.065em; line-height: 1.02; }
.about-grid h2 span { display: block; }
.about-grid p { color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.75; }
.about-grid .hl { color: #fff; }
.vlist { gap: 0; }
.vrow { padding: 23px 0; border-bottom-color: rgba(255,255,255,.14); }
.vrow .vk { color: rgba(255,255,255,.42); }
.vrow h3 { font-size: 17px; }
.vrow p { color: rgba(255,255,255,.5); }

/* Contact */
#contact { padding: 170px 0 150px; }
.contact-grid { grid-template-columns: 1fr; justify-items: center; gap: 60px; text-align: center; }
.contact-grid h2 { max-width: 980px; margin: 0 auto 26px; font-size: clamp(62px, 7.7vw, 112px); font-weight: 640; letter-spacing: -.075em; line-height: .97; }
.contact-grid h2 em { color: var(--gray-2); font-style: normal; }
.contact-grid p { max-width: 680px; margin: 0 auto 32px; color: var(--gray-2); }
.contact-card {
  width: min(760px, 100%);
  padding: 34px 40px;
  border: 0;
  border-radius: 26px;
  background: var(--paper-soft);
  text-align: left;
}
.contact-card .mail { color: var(--black); }

/* Footer */
footer { padding: 82px 0 42px; border-top-color: var(--gray-3); background: #fff; }
.foot { display: grid; grid-template-columns: minmax(300px, 1.6fr) repeat(3, minmax(140px, .7fr)); gap: 56px; }
.foot-brand { max-width: 390px; }
.foot-brand .brand { margin-bottom: 28px; }
.foot-brand .brand-mark { width: 48px; height: 48px; }
.foot-brand .brand-wordmark { width: 154px; }
.foot-brand p { margin-top: 16px; line-height: 1.75; }
.foot-brand .foot-slogan { margin-top: 0; color: var(--black); font-size: 22px; font-weight: 650; line-height: 1.32; letter-spacing: -.03em; }
.foot .col h2 { margin-bottom: 20px; color: var(--black); font-size: 14px; font-weight: 680; letter-spacing: .04em; text-transform: none; }
.foot .col a,
.foot .col span { margin-bottom: 13px; line-height: 1.5; }
.copy { margin-top: 64px; padding-top: 28px; }
.foot-brand p,
.foot .col a,
.foot .col span,
.copy { color: var(--gray-2); }

/* Reveal remains visible without JavaScript and has a deterministic fallback. */
.reveal { opacity: 1; transform: none; }
.js .reveal { transform: translateY(28px); }
.js .reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .flow-signal,
  .flow-pulse i { animation: none; }
}

@media (max-width: 980px) {
  .wrap { padding-inline: 28px; }
  .foot { grid-template-columns: minmax(280px, 1.2fr) repeat(2, minmax(140px, .8fr)); gap: 48px 36px; }
  .foot .col:last-child { grid-column: 2 / -1; }
  .hero { padding-top: 160px; }
  .hero-art { height: 540px; }
  .flow-node { width: 200px; }
  .flow-human { left: 3%; }
  .flow-ai { right: 3%; }
  .strip-in { grid-template-columns: repeat(4, 1fr); }
  .strip-in > span:first-child { grid-column: 1 / -1; min-height: 78px; }
  .card,
  .card:nth-child(even) { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; gap: 0; }
  .card .ico,
  .card:nth-child(even) .ico { grid-column: 1; grid-row: 1; height: 390px; }
  .card-copy,
  .card:nth-child(even) .card-copy { grid-column: 1; grid-row: 2; margin: 0 32px; padding: 38px 0 36px; }
  .card-copy ul { margin-bottom: 0; }
  .product-showcase { grid-template-columns: 1fr; grid-template-rows: auto; }
  .product-link--featured { grid-row: auto; }
  .product-stage { grid-template-columns: 1fr; }
  .product-stage-media { min-height: 390px; }
  .product-stage-copy { padding: 42px 38px 46px; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav { height: 76px; }
  .nav-mobile-actions { display: flex; }
  .nav-links {
    top: 68px;
    padding: 14px;
    border-color: var(--gray-3);
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 50px rgba(18,18,18,.1);
  }
  .nav-links .nav-cta { border-radius: 999px; }
  .burger { margin-right: -8px; }
  .hero { padding-top: 132px; }
  section { padding: 112px 0; }
  .block-olive { padding: 72px 54px; }
}

@media (max-width: 680px) {
  .wrap { padding-inline: 20px; }
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 9px; }
  .brand-wordmark { width: 124px; }
  .foot-brand .brand-mark { width: 44px; height: 44px; }
  .foot-brand .brand-wordmark { width: 139px; }
  footer { padding-top: 64px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 24px; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
  .foot .col:last-child { grid-column: auto; }
  .foot-brand .foot-slogan { font-size: 21px; }
  .copy { margin-top: 48px; }
  .hero { padding: 126px 0 24px; }
  .eyebrow { margin-bottom: 24px; }
  .hero h1 { margin-bottom: 28px; font-size: clamp(54px, 17.5vw, 72px); line-height: .94; }
  .hero p.lead { font-size: 16px; line-height: 1.7; }
  .hero-art { height: 610px; margin-top: 78px; border-radius: 26px; }
  .hero-art > img { inset: 0; width: 100%; height: 100%; opacity: .72; object-position: center; }
  .flow-axis { top: 50%; left: 50%; right: auto; width: 2px; height: 58%; transform: translate(-50%, -50%); background: repeating-linear-gradient(180deg, rgba(18,18,18,.2) 0 5px, transparent 5px 12px); }
  .flow-signal { top: 21%; left: calc(50% - 7px); animation: signal-flow-mobile 3.2s cubic-bezier(.65,0,.35,1) infinite; }
  .flow-node { top: auto; left: 24px; right: 24px; width: auto; transform: none; text-align: center; }
  .flow-human { top: 28px; }
  .flow-ai { top: auto; bottom: 28px; }
  .flow-core { min-width: 164px; }
  .flow-caption { bottom: 14px; display: none; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in > span:first-child { min-height: 96px; }
  .strip-in > span:first-child,
  .strip-items b { min-height: 86px; border-radius: 18px; }
  .sec-head,
  .portfolio-head { margin-bottom: 58px; }
  .sec-head h2,
  .portfolio-head h2 { font-size: clamp(50px, 16vw, 68px); }
  .sec-head h2 { font-size: clamp(28px, 8.6vw, 34px); letter-spacing: -.055em; }
  .sec-head p,
  .portfolio-head p { margin-top: 22px; font-size: 16px; }
  .card { padding: 12px; border-radius: 24px; }
  .card .ico,
  .card:nth-child(even) .ico { height: 280px; padding: 20px; border-radius: 18px; }
  .card-copy,
  .card:nth-child(even) .card-copy { margin-inline: 16px; padding: 30px 0 26px; }
  .card-copy h3 { font-size: 31px; }
  .product-link,
  .product-link--featured { border-radius: 24px; }
  .product-link--featured .product-media { min-height: 270px; border-width: 12px; }
  .product-link--enterprise .product-media { padding: 12px; }
  .enterprise-gallery { display: block; }
  .enterprise-gallery img { height: auto; }
  .enterprise-gallery img + img { display: none; }
  .product-copy,
  .product-link--featured .product-copy { padding: 26px; }
  .product-stage { min-height: 0; border-radius: 24px; }
  .product-stage-media { min-height: 230px; }
  .product-stage-media.is-multi { display: block; padding: 12px; }
  .product-stage-media.is-multi > img { height: 206px; }
  .product-stage-media.is-multi > img + img { display: none; }
  .product-stage-copy { padding: 30px 26px 34px; }
  .product-stage-copy h3 { font-size: 34px; }
  .product-stage-kicker { margin-bottom: 14px; }
  .product-switcher { grid-template-columns: 1fr; gap: 12px; }
  .product-switch { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(140px, .92fr); border-radius: 20px; }
  .product-switch-media { height: 150px; margin: 10px 0 10px 10px; }
  .product-switch-copy { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
  .product-switch-copy h3 { font-size: 23px; }
  .block-olive { padding: 58px 28px; border-radius: 28px; }
  .about-grid { gap: 40px; }
  .about-grid h2 { font-size: clamp(28px, 8.8vw, 36px); line-height: 1.04; }
  .about-grid h2 span { white-space: nowrap; }
  #contact { padding: 120px 0 110px; }
  .contact-grid h2 { font-size: clamp(54px, 16.5vw, 72px); }
  .contact-card { padding: 28px 22px; border-radius: 22px; }
  .contact-card .mail { font-size: 19px; }
}

@keyframes signal-flow-mobile {
  0% { top: 21%; transform: scale(.72); opacity: .25; }
  18% { opacity: 1; }
  50% { transform: scale(1.15); }
  82% { opacity: 1; }
  100% { top: calc(79% - 14px); transform: scale(.72); opacity: .25; }
}

/* ================================================================
   InFlow X dark system — 2026-08-31
   A restrained monochrome layer inspired by information in motion.
   ================================================================ */

:root {
  --paper: #000;
  --paper-soft: #0b0b0b;
  --paper-warm: #101010;
  --black: #fff;
  --gray-1: #b8b8b8;
  --gray-2: #777;
  --gray-3: #272727;
  --brand: #fff;
  --brand-soft: #171717;
  --ivory: #000;
  --cream: #0a0a0a;
  --cream-2: #111;
  --card: #0d0d0d;
  --ink: #fff;
  --ink-soft: #d0d0d0;
  --muted: #858585;
  --line: #282828;
  --olive: #fff;
  --olive-deep: #080808;
  --olive-darker: #000;
  --olive-light: #bbb;
  --olive-tint: #111;
  --on-olive: #fff;
  --maxw: 1360px;
}

html { background: #000; color-scheme: dark; }
body { background: #000; color: #fff; }
::selection { color: #000; background: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.serif { font-family: inherit; }
.wrap { max-width: var(--maxw); padding-inline: 42px; }

header {
  background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,0));
  border-bottom-color: transparent;
}
header.scrolled {
  background: rgba(0,0,0,.82);
  border-bottom-color: rgba(255,255,255,.1);
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav { height: 82px; }
.brand { color: #fff; }
.brand-mark {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: none;
}
.brand-wordmark {
  width: 160px;
  filter: invert(1) grayscale(1) brightness(2.4) contrast(1.5);
}
.nav-links { gap: 34px; }
.nav-links a { color: #b6b6b6; }
.nav-links a:not(.nav-cta)::after { background: #fff; }
.nav-links a:not(.nav-cta):hover { color: #fff; }
.nav-cta, .mobile-cta { color: #000 !important; background: #fff; }
.nav-cta:hover, .mobile-cta:hover { color: #000 !important; background: #dedede; }
.burger span { background: #fff; }

.hero { padding: 170px 0 38px; min-height: auto; }
.hero-grid { display: block; }
.hero-grid > div:first-child { max-width: 1040px; margin: 0 auto; text-align: center; }
.eyebrow {
  margin-bottom: 28px;
  padding: 8px 14px;
  color: #aaa;
  border: 1px solid #2b2b2b;
  background: rgba(255,255,255,.03);
  font-size: 13px;
  letter-spacing: .06em;
}
.hero h1 {
  margin-bottom: 30px;
  color: #fff;
  font-size: clamp(64px, 8.2vw, 118px);
  font-weight: 680;
  line-height: .96;
  letter-spacing: -.072em;
}
.hero h1 em { color: #6f6f6f; font-style: normal; }
.visually-hidden {
  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;
}
.text-type {
  display: block;
}
.hero-type-title {
  min-height: 1.92em;
  text-wrap: balance;
}
.text-type__content {
  color: inherit;
  white-space: pre-wrap;
}
.text-type__cursor {
  display: inline-block;
  margin-left: .08em;
  color: #6f6f6f;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 1;
  animation: text-type-cursor-blink 1s ease-in-out infinite;
}
.text-type__cursor.is-gsap-driven { animation: none; }
.hero p.lead {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #777;
  font-size: clamp(16px, 1.4vw, 20px);
}
.hero p.lead strong { color: #ddd; }
.hero-cta { justify-content: center; }
.btn {
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary { color: #000; background: #fff; }
.btn-primary:hover { color: #000; background: #ddd; }
.btn-ghost { color: #fff; border-color: #3b3b3b; background: transparent; }
.btn-ghost:hover { color: #fff; border-color: #888; background: rgba(255,255,255,.04); }

.hero-art {
  width: 100%;
  height: 620px;
  margin-top: 100px;
  border: 1px solid #262626;
  border-radius: 34px;
  background: #050505;
}
.hero-art::before { background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 60%); }
.hero-art > img {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.flow-axis { background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 5px, transparent 5px 12px); }
.flow-signal { background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.4); }
.flow-node {
  color: #fff;
  border-color: #2d2d2d;
  background: rgba(8,8,8,.78);
  box-shadow: 0 24px 90px rgba(0,0,0,.45);
}
.flow-node p, .flow-kicker, .flow-core span, .flow-caption { color: #787878; }
.flow-core { border-color: #444; background: #050505; box-shadow: 0 18px 60px rgba(0,0,0,.7); }
.flow-core b { color: #fff; }
.flow-pulse i { background: #fff; }

.strip { border-color: #1d1d1d; background: #050505; }
.strip-in { display: grid; grid-template-columns: 1.25fr repeat(4, auto); gap: 0; padding: 0; }
.strip-in > span:first-child,
.strip-items b {
  min-height: 100px;
  padding: 24px;
  display: flex;
  align-items: center;
  border-right: 1px solid #1d1d1d;
  border-radius: 0;
  background: transparent;
}
.strip-in > span:first-child { color: #777; }
.strip-items { display: contents; }
.strip-items b { color: #d6d6d6; font-size: 14px; font-weight: 520; white-space: nowrap; }
.strip-items b:last-child { border-right: 0; }

section { padding: 132px 0; }
section[id] { scroll-margin-top: 82px; }
.sec-head, .portfolio-head { max-width: 760px; margin-bottom: 62px; }
.sec-head .tag, .insights-head .tag { margin-bottom: 16px; color: #777; font-size: 13px; letter-spacing: .1em; }
.sec-head h2, .portfolio-head h2, .insights-head h2 {
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -.055em;
  white-space: normal;
  text-wrap: balance;
}
.sec-head p, .portfolio-head p, .insights-head p { margin-top: 20px; color: #777; font-size: 18px; line-height: 1.65; }

.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card {
  padding: 12px;
  border-color: #262626;
  border-radius: 24px;
  background: #0b0b0b;
  box-shadow: none;
}
.card:hover { border-color: #555; transform: translateY(-3px); box-shadow: 0 28px 80px rgba(0,0,0,.65); }
.card .ico, .card:nth-child(even) .ico {
  height: 310px;
  padding: 24px;
  margin: 0;
  border-radius: 18px;
  background: #111;
}
.card .ico img { filter: none; mix-blend-mode: normal; opacity: 1; }
.card-copy, .card:nth-child(even) .card-copy { margin: 0 24px; padding: 34px 0 30px; }
.card h3 { color: #fff; font-size: 27px; }
.card p { color: #858585; }
.card li { color: #aaa; }
.card li::before { background: #fff; }

.portfolio { padding-top: 96px; }
.product-gallery { display: grid; gap: 22px; }
.product-feature {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
  overflow: hidden;
  border: 1px solid #292929;
  border-radius: 28px;
  background: #0a0a0a;
  transition: border-color .3s ease, transform .3s ease;
}
.product-feature:hover { border-color: #555; transform: translateY(-3px); }
.product-feature-media { min-width: 0; padding: 14px; background: #080808; }
.product-feature-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
  border-radius: 18px;
  filter: none;
  transition: transform .7s cubic-bezier(.16,1,.3,1), filter .4s ease;
}
.product-feature:hover img { transform: scale(1.018); filter: none; }
.product-feature-copy { padding: 50px 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.product-label { margin-bottom: auto; color: #707070; font-size: 12px; letter-spacing: .12em; }
.product-feature-copy h3 { margin: 34px 0 10px; color: #fff; font-size: clamp(48px, 4.4vw, 64px); line-height: .95; letter-spacing: -.06em; white-space: nowrap; }
.product-position { color: #d4d4d4; font-size: 19px; line-height: 1.45; }
.product-description { margin-top: 20px; color: #777; font-size: 15px; line-height: 1.75; }
.product-visit { margin-top: 30px; color: #fff; }
.product-secondary-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.product-tile { overflow: hidden; border: 1px solid #292929; border-radius: 22px; background: #0a0a0a; transition: transform .3s ease, border-color .3s ease; }
.product-tile:hover { border-color: #555; transform: translateY(-3px); }
.product-tile-media { height: 220px; overflow: hidden; border-bottom: 1px solid #242424; background: #111; }
.product-tile-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: left center; filter: none; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.product-tile:hover img { transform: scale(1.035); filter: none; }
.product-tile-copy { padding: 26px 26px 30px; }
.product-tile-copy h3 { color: #fff; font-size: 25px; letter-spacing: -.03em; }
.product-tile-copy p { margin-top: 8px; color: #777; font-size: 14px; }

.insights { overflow: hidden; border-top: 1px solid #151515; }
.insights-head { max-width: 840px; margin: 0 auto 74px; text-align: center; }
.insight-carousel { position: relative; }
.insight-viewport { overflow: hidden; }
.insight-track { display: flex; gap: 22px; transition: transform .65s cubic-bezier(.16,1,.3,1); will-change: transform; }
.insight-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  display: block;
  overflow: hidden;
  border: 1px solid #262626;
  border-radius: 22px;
  color: inherit;
  background: #0b0b0b;
  cursor: pointer;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.insight-card:hover { border-color: #555; background: #0e0e0e; transform: translateY(-3px); }
.insight-card:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.insight-cover { aspect-ratio: 1.36 / 1; overflow: hidden; border-bottom: 1px solid #1f1f1f; background: #131313; }
.insight-cover img { width: 100%; height: 100%; display: block; object-fit: contain; padding: 28px; filter: none; opacity: 1; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.insight-card:hover .insight-cover img { opacity: 1; transform: scale(1.025); }
.insight-copy { min-height: 250px; padding: 28px 28px 26px; display: flex; flex-direction: column; }
.insight-copy span { color: #707070; font-size: 12px; letter-spacing: .08em; }
.insight-copy h3 { margin-top: 14px; color: #fff; font-size: 21px; font-weight: 560; line-height: 1.4; letter-spacing: -.02em; }
.insight-copy p { margin-top: 12px; color: #707070; font-size: 14px; line-height: 1.7; }
.insight-copy .insight-read {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d6d6d6;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: .02em;
}
.insight-read b { font-size: 16px; font-weight: 400; transition: transform .25s ease; }
.insight-card:hover .insight-read b { transform: translate(2px, -2px); }
.insight-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #444;
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.78);
  font-size: 21px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .2s, background .2s, border-color .2s, opacity .2s;
}
.insight-arrow:hover:not(:disabled) { color: #000; border-color: #fff; background: #fff; }
.insight-arrow:disabled { opacity: .25; cursor: default; }
.insight-arrow--prev { left: -26px; }
.insight-arrow--next { right: -26px; }

#about { padding-top: 72px !important; }
.block-olive {
  padding: 78px 0;
  border-top: 1px solid #242424;
  border-bottom: 1px solid #242424;
  border-radius: 0;
  color: #fff;
  background: #000;
}
.block-olive::after { display: none; }
.about-grid { gap: 100px; }
.about-grid h2 { color: #fff; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.055em; }
.about-grid p { color: #777; }
.about-grid .hl, .vrow h3 { color: #fff; }
.vrow { border-bottom-color: #262626; }
.vrow .vk, .vrow p { color: #707070; }

.flow-finale {
  position: relative;
  min-height: 920px;
  padding: 150px 0 130px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.flow-finale::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 4%;
  right: 4%;
  bottom: -32%;
  height: 78%;
  border: 1px solid #242424;
  border-radius: 48% 48% 0 0;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 92px 72px;
  transform: perspective(620px) rotateX(57deg);
  transform-origin: bottom center;
  mask-image: none;
  -webkit-mask-image: none;
}
.flow-finale::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 50% 54%, rgba(255,255,255,.075), transparent 28%);
}
.finale-inner { width: 100%; text-align: center; }
.particle-brand { max-width: 970px; margin: 0 auto; }
.particle-mark { position: relative; width: 110px; height: 110px; margin: 0 auto 18px; }
.particle-mark::after { display: none; }
.particle-mark img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; border-radius: 0; filter: none; }
.particle-text { position: relative; width: 100%; height: 220px; min-height: 220px; overflow: hidden; isolation: isolate; touch-action: none; }
.particle-text__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.particle-text__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.flow-finale h2 { margin-top: 14px; color: #fff; font-size: clamp(48px, 6vw, 86px); font-weight: 620; line-height: 1.08; letter-spacing: -.06em; }
.flow-finale p { max-width: 650px; margin: 28px auto 0; color: #777; font-size: 17px; }
.finale-actions { margin-top: 38px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

footer { position: relative; padding: 88px 0 36px; border-top-color: #1d1d1d; background: #050505; overflow: hidden; }
footer::before { content: ""; position: absolute; inset: auto 0 -280px; height: 420px; background: radial-gradient(circle, rgba(255,255,255,.055), transparent 68%); pointer-events: none; }
.foot { position: relative; display: grid; grid-template-columns: 1.45fr repeat(3, minmax(145px,.65fr)); gap: 54px; }
.foot-brand { max-width: 360px; }
.foot-brand .brand-mark { background: transparent; filter: none; }
.foot-brand .brand-wordmark { filter: invert(1) grayscale(1) brightness(2.4) contrast(1.5); }
.foot-brand .foot-slogan { color: #fff; font-size: 22px; line-height: 1.35; }
.foot-brand p, .foot .col a, .foot .col span, .copy { color: #747474; }
.foot .col h2 { color: #aaa; }
.foot .col a:hover { color: #fff; }
.copy { border-top-color: #202020; }

.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .product-feature { min-height: 560px; grid-template-columns: 1.25fr .75fr; }
  .product-feature-copy { padding: 42px 34px; }
  .insight-card { flex-basis: calc((100% - 22px) / 2); }
  .about-grid { gap: 60px; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in > span:first-child { grid-column: 1 / -1; border-bottom: 1px solid #1d1d1d; }
  .strip-items { display: contents; }
  .strip-items b:nth-last-child(2) { border-right: 0; }
}

@media (max-width: 880px) {
  .wrap { padding-inline: 28px; }
  .nav { height: 72px; }
  .nav-mobile-actions { display: flex; }
  .nav-links {
    top: 64px;
    border-color: #2d2d2d;
    background: rgba(8,8,8,.98);
    box-shadow: 0 20px 60px rgba(0,0,0,.75);
  }
  .nav-links a:hover { background: #171717; }
  .hero { padding: 130px 0 24px; }
  .hero h1 { font-size: clamp(54px, 12vw, 88px); }
  .hero-art { height: 600px; margin-top: 76px; }
  .flow-axis { background: repeating-linear-gradient(180deg, rgba(255,255,255,.22) 0 5px, transparent 5px 12px); }
  section { padding: 104px 0; }
  .grid { grid-template-columns: 1fr; }
  .product-feature { min-height: 0; grid-template-columns: 1fr; }
  .product-feature-media { aspect-ratio: 1.5 / 1; }
  .product-feature-copy { min-height: 390px; padding: 38px; }
  .product-secondary-grid { grid-template-columns: 1fr; }
  .product-tile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
  .product-tile-media { height: 230px; border-right: 1px solid #242424; border-bottom: 0; }
  .product-tile-copy { display: flex; flex-direction: column; justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .block-olive { padding: 64px 0; }
  .flow-finale { min-height: 820px; padding: 120px 0 110px; }
  .particle-text { height: 190px; min-height: 190px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 680px) {
  .wrap { padding-inline: 20px; }
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-wordmark { width: 126px; }
  .mobile-cta { display: none; }
  .hero { padding-top: 118px; }
  .eyebrow { margin-bottom: 22px; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(45px, 13.8vw, 62px); }
  .hero-type-title { min-height: 2.88em; }
  .hero p.lead { font-size: 15.5px; }
  .hero-art { height: 590px; margin-top: 64px; border-radius: 24px; }
  .flow-node { left: 18px; right: 18px; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in > span:first-child, .strip-items b { min-height: 82px; padding: 18px 14px; white-space: normal; }
  .strip-in > span:first-child { min-height: 92px; }
  section { padding: 84px 0; }
  .sec-head, .portfolio-head { margin-bottom: 46px; }
  .sec-head h2, .portfolio-head h2, .insights-head h2 { font-size: clamp(35px, 10vw, 44px); }
  .sec-head p, .portfolio-head p, .insights-head p { font-size: 16px; }
  .card .ico, .card:nth-child(even) .ico { height: 255px; }
  .card-copy, .card:nth-child(even) .card-copy { margin-inline: 14px; padding: 28px 0 24px; }
  .card h3 { font-size: 25px; }
  .portfolio { padding-top: 58px; }
  .product-feature { border-radius: 22px; }
  .product-feature-media { padding: 10px; aspect-ratio: 1.18 / 1; }
  .product-feature-copy { min-height: 350px; padding: 30px 26px; }
  .product-feature-copy h3 { font-size: 50px; }
  .product-position { font-size: 17px; }
  .product-tile { display: block; }
  .product-tile-media { height: 215px; border-right: 0; border-bottom: 1px solid #242424; }
  .insights-head { margin-bottom: 46px; text-align: left; padding-right: 90px; }
  .insight-card { flex-basis: 88%; }
  .insight-copy { min-height: 244px; padding: 24px; }
  .insight-copy h3 { font-size: 19px; }
  .insight-arrow { top: -78px; width: 46px; height: 46px; transform: none; }
  .insight-arrow--prev { left: auto; right: 54px; }
  .insight-arrow--next { right: 0; }
  #about { padding-top: 38px !important; }
  .about-grid h2 { font-size: 36px; }
  .flow-finale { min-height: 740px; padding: 100px 0 90px; }
  .particle-mark { width: 86px; height: 86px; }
  .particle-text { height: 144px; min-height: 144px; }
  .flow-finale h2 { margin-top: 18px; font-size: clamp(42px, 13vw, 58px); }
  .flow-finale p { font-size: 15px; }
  .finale-actions { flex-direction: column; align-items: stretch; }
  footer { padding-top: 70px; }
  .foot { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 24px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot .col:last-child { grid-column: 1 / -1; }
  .copy { margin-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .particle-mark, .particle-mark::after, .flow-signal { animation: none; }
  .text-type__cursor { animation: none; opacity: 1; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .insight-track { transition: none; }
}

@keyframes text-type-cursor-blink {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0; }
}

/* Moonshot-inspired navigation rhythm and InFlow X footer atmosphere. */
header {
  background: rgba(0, 0, 0, .96);
  border-bottom: 0;
}
header.scrolled {
  background: rgba(0, 0, 0, .84);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.nav {
  position: relative;
  height: 86px;
}
.nav > .brand {
  position: relative;
  z-index: 2;
  gap: 12px;
}
.nav > .brand .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 0;
}
.nav > .brand .brand-wordmark { width: 166px; }
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: clamp(34px, 4vw, 66px);
  white-space: nowrap;
}
.nav-links a,
.nav-links .nav-cta {
  padding: 0;
  color: #777 !important;
  background: transparent;
  border-radius: 0;
  font-size: 16px;
  font-weight: 430;
  letter-spacing: .01em;
  transition: color .25s ease;
}
.nav-links a::after { display: none; }
.nav-links a:hover,
.nav-links .nav-cta:hover {
  color: #fff !important;
  background: transparent;
  transform: none;
}

footer {
  position: relative;
  min-height: 620px;
  padding: 112px 0 44px;
  border-top: 1px solid #171717;
  background: #020202;
  overflow: hidden;
  isolation: isolate;
}
footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(180deg, rgba(2,2,2,0) 0%, rgba(11,14,18,.16) 28%, rgba(28,35,43,.34) 66%, rgba(60,72,86,.5) 100%);
  filter: none;
  opacity: .82;
  pointer-events: none;
}
footer::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' seed='17' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  background-size: 96px 96px;
  box-shadow: none;
  opacity: .065;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%);
  pointer-events: none;
}
footer > .wrap { position: relative; z-index: 2; }
.foot {
  grid-template-columns: minmax(360px, 1.6fr) repeat(3, minmax(130px, .58fr));
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.foot-brand { max-width: 410px; }
.foot-brand .brand { margin-bottom: 34px; }
.foot-brand .brand-mark { width: 52px; height: 52px; border-radius: 0; background: transparent; filter: none; }
.foot-brand .brand-wordmark { width: 178px; }
.foot-brand .foot-slogan {
  margin-bottom: 22px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.03em;
}
.foot-brand p:not(.foot-slogan) { max-width: 390px; color: #5f5f5f; line-height: 1.9; }
.foot .col h2 {
  margin-bottom: 27px;
  color: #ddd;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}
.foot .col a,
.foot .col span {
  margin-bottom: 18px;
  color: #6e6e6e;
  font-size: 15px;
  transition: color .22s ease, transform .22s ease;
}
.foot .col a:hover { color: #fff; transform: translateX(3px); }
.copy {
  margin-top: 108px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #5d5d5d;
}

@media (max-width: 1080px) {
  .nav-links { gap: 28px; }
  .nav-links a, .nav-links .nav-cta { font-size: 15px; }
  .foot { grid-template-columns: minmax(300px, 1.15fr) repeat(2, minmax(140px, .7fr)); gap: 58px 44px; }
  .foot .col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 880px) {
  .nav { height: 74px; }
  .nav > .brand .brand-mark { width: 40px; height: 40px; }
  .nav > .brand .brand-wordmark { width: 138px; }
  .nav-links {
    top: 66px;
    left: 0;
    right: 0;
    transform: none;
    gap: 3px;
    white-space: normal;
  }
  .nav-links a,
  .nav-links .nav-cta {
    min-height: 46px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    border-radius: 9px;
  }
  .nav-links a:hover,
  .nav-links .nav-cta:hover { background: #171717; }
  footer { min-height: 680px; padding-top: 96px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot .col:last-child { grid-column: auto; }
  .copy { margin-top: 76px; }
}

@media (max-width: 680px) {
  footer { min-height: 850px; padding: 82px 0 36px; }
  footer::before,
  footer::after { inset: auto 0 0; width: 100%; height: 210px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 22px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand .brand-mark { width: 46px; height: 46px; }
  .foot-brand .brand-wordmark { width: 154px; }
  .foot-brand .foot-slogan { font-size: 21px; }
  .foot .col:last-child { grid-column: 1 / -1; }
  .foot .col a, .foot .col span { font-size: 14px; }
  .copy { margin-top: 64px; gap: 16px; }
}

/* Pencil editorial system: quiet hero, compact capabilities, equal product cards. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
  gap: clamp(54px, 6.5vw, 108px);
  align-items: center;
}
.hero { padding: 142px 0 64px; }
.hero-grid > div:first-child {
  max-width: 610px;
  margin: 0;
  text-align: left;
}
.hero h1 {
  font-size: clamp(56px, 5.4vw, 78px);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero-type-title { min-height: 2.02em; }
.hero p.lead {
  max-width: 590px;
  margin-right: 0;
  margin-left: 0;
}
.hero-cta { justify-content: flex-start; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.sec-head { max-width: 900px; }
.sec-head h2 { font-size: clamp(42px, 4.3vw, 60px); }
.card,
.card:nth-child(even) {
  min-height: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #262626;
  border-radius: 24px;
  background: #0b0b0b;
  overflow: hidden;
}
.card .ico,
.card:nth-child(even) .ico {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  flex: none;
  border-radius: 18px;
  background: #f3f0ea;
  overflow: hidden;
}
.card .ico img,
.card:nth-child(even) .ico img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.card-copy,
.card:nth-child(even) .card-copy {
  min-width: 0;
  margin: 0;
  padding: 32px 22px 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
}
.card-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.12;
}
.card-copy > p { font-size: 15px; line-height: 1.72; }
.card-copy ul { margin-top: auto; padding-top: 24px; }

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
/* Complete product screenshots above their captions, without cropping. */
.product-card-grid .product-tile {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  border: 1px solid #1e1e1e;
  border-radius: 18px;
  background: #060606;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), border-color .3s ease;
}
.product-card-grid .product-tile:hover {
  border-color: #3d3d3d;
  transform: translateY(-4px);
}
.product-card-grid .product-tile-media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-bottom: 1px solid #1e1e1e;
  background: #101010;
}
.product-card-grid .product-tile-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  transition: none;
}
.product-card-grid .product-tile:hover .product-tile-media img {
  transform: none;
  filter: none;
}
.product-card-grid .product-tile-copy {
  position: static;
  min-height: 0;
  padding: 24px 30px 28px;
  display: block;
}
.product-card-grid .product-tile-copy h3 {
  font-size: clamp(24px, 2vw, 30px);
  color: #fff;
  letter-spacing: -.025em;
}
.product-card-grid .product-tile-copy p {
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
}

.insight-cover { position: relative; aspect-ratio: 16 / 10; background: #050505; }
.insight-cover img {
  padding: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
}
.insight-cover-line {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  max-width: 48%;
  color: rgba(255,255,255,.94);
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 520;
  line-height: 1.22;
  letter-spacing: -.025em;
  text-align: right;
  text-wrap: balance;
}

@media (max-width: 1400px) {
  .product-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr);
    gap: 48px;
  }
  .product-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card-grid .product-tile { aspect-ratio: auto; }
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }
  .hero-grid > div:first-child { max-width: 720px; }
  .hero p.lead { max-width: 650px; }
  .hero h1 { font-size: clamp(54px, 12vw, 88px); }
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero-grid { gap: 44px; }
  .hero h1 { font-size: clamp(45px, 13.8vw, 62px); }
  .hero-type-title { min-height: 2.88em; }
  .hero-cta { justify-content: flex-start; }
  .sec-head h2 { font-size: clamp(35px, 11vw, 48px); }
  .card .ico,
  .card:nth-child(even) .ico {
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
  }
  .card-copy,
  .card:nth-child(even) .card-copy {
    margin: 0;
    padding: 27px 15px 23px;
  }
  .card-copy h3 { font-size: 26px; }
  .product-card-grid { grid-template-columns: 1fr; }
  .product-card-grid .product-tile { aspect-ratio: auto; }
  .product-card-grid .product-tile-media {
    height: auto;
    aspect-ratio: 16 / 9;
    border-right: 0;
  }
  .product-card-grid .product-tile-copy {
    min-height: 0;
    padding: 22px;
  }
  .insight-cover-line { top: 18px; right: 18px; max-width: 52%; font-size: 16px; }
}

/* React Bits SideRays, adapted as the full Hero background. */
.hero {
  position: relative;
  min-height: 720px;
  padding: 150px 0 92px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.hero > .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-grid { display: block; }
.hero-grid > div:first-child {
  max-width: 720px;
  margin: 0;
  text-align: left;
}
/* Global light backdrop: the rays now sit behind the whole page, not just the hero. */
.side-rays-container.site-rays-background {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto 0;
  width: 100%;
  height: clamp(760px, 138vh, 1320px);
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgba(0,0,0,.55) 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgba(0,0,0,.55) 78%, transparent 100%);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(228,232,238,.10), transparent 46%),
    linear-gradient(132deg, transparent 58%, rgba(200,205,212,.035) 80%, rgba(214,220,228,.055)),
    #000;
}
.side-rays-container {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.side-rays-container canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
}
.side-rays-container:not(.is-ready) canvas { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .side-rays-container canvas { animation: none; }
}

@media (max-width: 880px) {
  .hero {
    min-height: 700px;
    padding: 132px 0 88px;
  }
  .hero-grid { display: block; }
  .hero-grid > div:first-child { max-width: 700px; }
}

@media (max-width: 680px) {
  .hero {
    min-height: 700px;
    padding: 116px 0 76px;
    align-items: flex-start;
  }
  .hero-grid { gap: 0; }
}

/* Core capability carousel: one coherent stage, four automatically rotating capabilities. */
.capability-carousel {
  --capability-interval: 5200ms;
  position: relative;
  padding-bottom: 70px;
  border-top: 1px solid #1b1b1b;
  border-bottom: 1px solid #1b1b1b;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}
.capability-viewport {
  height: 520px;
  overflow: hidden;
  touch-action: pan-y;
}
.capability-track {
  height: 100%;
  display: flex;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.capability-slide {
  --slide-accent: #7d8cff;
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  display: block;
  overflow: hidden;
}
.capability-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg,
      #000 0%,
      rgba(0,0,0,.99) 22%,
      rgba(0,0,0,.93) 34%,
      rgba(0,0,0,.68) 46%,
      rgba(0,0,0,.25) 59%,
      rgba(0,0,0,.04) 72%,
      transparent 82%),
    linear-gradient(0deg, rgba(0,0,0,.32), transparent 27%);
  pointer-events: none;
}
.capability-slide-copy {
  position: relative;
  z-index: 2;
  width: min(49%, 610px);
  height: 100%;
  min-width: 0;
  padding: 62px 28px 76px 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.capability-kicker {
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--slide-accent) 68%, #777);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.capability-slide h3 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 4.7vw, 70px);
  font-weight: 470;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.capability-slide-copy > p {
  max-width: 480px;
  margin-top: 27px;
  color: #7c7c7c;
  font-size: 17px;
  line-height: 1.75;
}
.capability-cta {
  min-height: 50px;
  margin-top: 34px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #505050;
  border-radius: 999px;
  color: #b2b2b2;
  font-size: 15px;
  transition: color .22s ease, border-color .22s ease, background .22s ease;
}
.capability-cta:hover {
  color: #fff;
  border-color: #969696;
  background: #101010;
}
.capability-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.capability-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% center;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  transform: scale(1.01);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.capability-slide[aria-hidden="false"] .capability-art img { transform: scale(1.035); }
.capability-controls {
  position: absolute;
  z-index: 5;
  left: 72px;
  right: 54px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.capability-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.capability-dot {
  position: relative;
  width: 48px;
  height: 30px;
  padding: 0;
  border: 0;
  color: #505050;
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: width .3s ease, color .3s ease;
}
.capability-dot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 99px;
  background: #282828;
}
.capability-dot::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: #fff;
}
.capability-dot span { position: absolute; left: 0; top: 0; }
.capability-dot.is-active { width: 84px; color: #fff; }
.capability-carousel.is-playing .capability-dot.is-active::after {
  animation: capability-progress var(--capability-interval) linear forwards;
}
@media (max-width: 880px) {
  .capability-carousel { padding-bottom: 66px; }
  .capability-viewport { height: 720px; }
  .capability-slide::after {
    background:
      linear-gradient(180deg,
        #000 0%,
        rgba(0,0,0,.99) 36%,
        rgba(0,0,0,.90) 46%,
        rgba(0,0,0,.48) 59%,
        rgba(0,0,0,.10) 73%,
        transparent 86%),
      linear-gradient(90deg, rgba(0,0,0,.28), transparent 35%, rgba(0,0,0,.12));
  }
  .capability-slide-copy {
    width: 100%;
    height: auto;
    min-height: 330px;
    padding: 48px 44px 24px;
  }
  .capability-slide-copy > p { max-width: 600px; }
  .capability-art {
    height: 100%;
    padding: 0;
  }
  .capability-art img { object-position: center 72%; transform: scale(1.01); }
  .capability-slide[aria-hidden="false"] .capability-art img { transform: scale(1.035); }
  .capability-controls { left: 44px; right: 34px; bottom: 16px; }
}

@media (max-width: 680px) {
  .capability-carousel { padding-bottom: 62px; }
  .capability-viewport { height: 646px; }
  .capability-slide-copy {
    min-height: 315px;
    padding: 42px 18px 18px;
  }
  .capability-kicker { margin-bottom: 12px; font-size: 11px; }
  .capability-slide h3 { max-width: 330px; font-size: clamp(39px, 12vw, 52px); }
  .capability-slide-copy > p { margin-top: 20px; font-size: 15px; line-height: 1.68; }
  .capability-cta { min-height: 46px; margin-top: 24px; padding-inline: 21px; font-size: 14px; }
  .capability-art { height: 100%; padding: 0; }
  .capability-controls { left: 18px; right: 18px; bottom: 13px; gap: 12px; }
  .capability-dot { width: 28px; }
  .capability-dot.is-active { width: 48px; }
  .capability-dot span { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .capability-track,
  .capability-art img { transition: none; }
  .capability-carousel.is-playing .capability-dot.is-active::after { animation: none; width: 100%; }
}

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

/* Hero title lockup: static product name above the animated positioning line. */
.hero-grid > div:first-child { max-width: 1180px; }
.hero-type-title { min-height: 1.96em; }
.hero-title-brand,
.hero-title-typing-line {
  display: block;
  color: inherit;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.hero-title-typing-line {
  min-height: .98em;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .hero-grid > div:first-child { max-width: 100%; }
  .hero h1 { font-size: clamp(44px, 7.4vw, 64px); }
}

@media (max-width: 560px) {
  .hero-type-title { min-height: 2.94em; }
  .hero-title-typing-line { white-space: normal; }
}

/* ===== Corner light backdrop: layering =====
 * The WebGL light is anchored to the top-right corner of the page and fades out
 * below the first screens; every section underneath stays solid black. */
body { position: relative; }
main,
footer { position: relative; z-index: 1; }

.hero { background: transparent; }
/* The trust strip sits inside the lit area, so it must not paint its own black
 * plate over the rays — only its rules stay. */
.strip { background: transparent; }
