:root {
  --bg: #07111d;
  --bg-soft: #0b1728;
  --bg-card: rgba(9, 20, 35, 0.74);
  --line: rgba(96, 154, 216, 0.18);
  --line-strong: rgba(117, 182, 255, 0.34);
  --text: #eef5ff;
  --muted: #9db5d1;
  --blue: #52a6ff;
  --cyan: #64f2ff;
  --green: #57e6a6;
  --orange: #ff9f52;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(60, 115, 255, 0.16), transparent 32%),
    radial-gradient(circle at right 30%, rgba(93, 255, 214, 0.12), transparent 26%),
    linear-gradient(180deg, #06101c 0%, #091424 44%, #07111d 100%);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    "Noto Sans CJK SC",
    "Source Han Sans SC",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 132, 189, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 132, 189, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 78%);
  pointer-events: none;
  opacity: 0.55;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.44;
}

.orb-a {
  top: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: rgba(75, 140, 255, 0.45);
}

.orb-b {
  right: -100px;
  top: 280px;
  width: 360px;
  height: 360px;
  background: rgba(72, 255, 224, 0.22);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  margin: 16px auto 0;
  padding: 14px 18px;
  background: rgba(7, 16, 29, 0.64);
  border: 1px solid rgba(125, 183, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.site-header.is-scrolled {
  background: rgba(7, 16, 29, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--cyan), var(--blue));
  box-shadow: 0 0 30px rgba(82, 166, 255, 0.4);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 7px;
  background: rgba(6, 15, 27, 0.85);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 4px;
  background: currentColor;
}

.hero {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-head h2,
.case-spotlight h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 6vw, 5.1rem);
  letter-spacing: -0.03em;
}

.hero-lead,
.section-head p,
.capability-copy p,
.stack-card p,
.member-card p,
.case-body p,
.case-copy p,
.delivery-card li {
  color: var(--muted);
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #04101b;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 34px rgba(76, 178, 255, 0.24);
}

.button-secondary {
  border-color: rgba(120, 178, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li,
.pillars,
.pillar-card,
.glass-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats li,
.glass-card {
  background: linear-gradient(180deg, rgba(10, 23, 39, 0.88), rgba(8, 17, 30, 0.72));
  backdrop-filter: blur(16px);
}

.hero-stats li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background: rgba(6, 15, 27, 0.72);
  box-shadow: 0 30px 90px rgba(2, 8, 16, 0.45);
}

.hero-panel-main {
  transform: perspective(1400px) rotateY(-10deg) rotateX(4deg);
}

.hero-panel-main img {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
}

.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: grid;
  gap: 10px;
  width: 180px;
  padding: 14px;
  border: 1px solid rgba(130, 190, 255, 0.2);
  border-radius: 18px;
  background: rgba(9, 19, 33, 0.8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.float-card span {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.float-card img {
  width: 100%;
  height: 132px;
  object-fit: contain;
}

.float-card-monkey {
  top: -24px;
  right: -12px;
  animation: floatY 6s ease-in-out infinite;
}

.float-card-cat {
  left: -22px;
  bottom: 62px;
  animation: floatY 5.2s ease-in-out infinite reverse;
}

.float-card-holo {
  right: 42px;
  bottom: -20px;
  animation: floatY 6.8s ease-in-out infinite;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}

.company-intro {
  overflow: hidden;
  color: #1d1d1f;
  background:
    linear-gradient(180deg, #f5f5f7 0%, #ffffff 46%, #f5f5f7 100%);
}

.company-intro-shell {
  display: grid;
  gap: 54px;
}

.company-hero {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.company-intro .eyebrow {
  color: #6e6e73;
}

.company-title {
  max-width: 980px;
  margin: 0 auto;
  color: #1d1d1f;
  font-size: clamp(3rem, 7vw, 6.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.company-lead {
  max-width: 840px;
  margin: 28px auto 0;
  color: #6e6e73;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.58;
}

.company-product-stage {
  position: relative;
  display: grid;
  min-height: 560px;
  margin: 0;
  padding: 58px 56px 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 243, 246, 0.96));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.1);
}

.company-product-stage::before {
  content: "";
  position: absolute;
  inset: auto -8% 10% -8%;
  height: 42%;
  background:
    linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.08), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(29, 29, 31, 0.08));
  transform: skewY(-5deg);
}

.company-product-stage img {
  position: relative;
  z-index: 1;
  width: min(650px, 82vw);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 34px 40px rgba(45, 43, 55, 0.18));
}

.company-product-stage figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin-top: 22px;
  color: #6e6e73;
  text-align: center;
}

.company-product-stage figcaption span {
  color: #0071e3;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-product-stage figcaption strong {
  color: #1d1d1f;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.company-narrative-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: start;
}

.company-story {
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.company-overline {
  color: #0071e3;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-story h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.company-story p {
  margin: 0;
  color: #6e6e73;
  font-size: 1.04rem;
}

.company-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.company-metric {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.07);
}

.company-metric strong {
  display: block;
  margin-bottom: 22px;
  color: #0071e3;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.company-metric:nth-child(2) strong {
  color: #34c759;
}

.company-metric:nth-child(3) strong {
  color: #af52de;
}

.company-metric h4 {
  margin: 0 0 12px;
  color: #1d1d1f;
  font-size: 1.22rem;
  line-height: 1.25;
}

.company-metric p {
  margin: 0;
  color: #6e6e73;
  font-size: 0.96rem;
  line-height: 1.62;
}

.company-capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 4px;
}

.company-capabilities span {
  padding: 10px 16px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #1d1d1f;
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.capability-grid,
.platform-layout,
.delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: start;
}

.glass-card {
  border-radius: var(--radius-xl);
}

.capability-copy,
.stack-card,
.delivery-card,
.team-note {
  padding: 28px;
}

.capability-copy h3,
.stack-card h3,
.delivery-card h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
}

.metric-list,
.platform-stack,
.delivery-copy {
  display: grid;
  gap: 18px;
}

.delivery-grid {
  grid-template-columns: 1fr;
}

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

.metric-list div {
  padding: 16px 0 0;
  border-top: 1px solid rgba(118, 168, 223, 0.14);
}

.metric-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.capability-media,
.platform-figure,
.delivery-table {
  overflow: hidden;
}

.capability-media img,
.platform-figure img,
.delivery-table img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  border: 0;
  box-shadow: none;
}

.pillar-card {
  min-height: 240px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 23, 39, 0.76), rgba(7, 14, 24, 0.86));
}

.pillar-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(100, 242, 255, 0.12);
  color: var(--cyan);
  font-weight: 700;
}

.pillar-card h3 {
  margin: 18px 0 12px;
  font-size: 1.18rem;
}

.section-platform {
  background: linear-gradient(180deg, rgba(11, 21, 36, 0.1), rgba(7, 18, 31, 0.58));
}

.stack-label,
.case-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(100, 242, 255, 0.1);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-card ul,
.case-points,
.delivery-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.stack-card li,
.case-points li,
.delivery-list li {
  margin-bottom: 10px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.member-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
  min-height: 224px;
}

.member-card img {
  width: 116px;
  aspect-ratio: 0.88;
  object-fit: cover;
  border-radius: 18px;
}

.member-card h3 {
  margin: 6px 0 6px;
  font-size: 1.26rem;
}

.member-card p {
  margin: 0;
}

.member-card div {
  min-width: 0;
}

.member-card p:last-child {
  font-size: 0.98rem;
}

.member-role {
  margin-bottom: 10px !important;
  color: var(--cyan) !important;
  font-weight: 600;
}

.team-note {
  margin-top: 18px;
}

.case-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  margin-bottom: 24px;
  padding: 28px;
}

.case-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.robot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.robot-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(122, 177, 241, 0.14);
}

.robot-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.robot-gallery figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.case-media-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-media-triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-media-poster {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f5f5f7;
}

.case-media-poster img {
  width: auto;
  max-width: 100%;
  height: 360px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

.case-media-dual img {
  height: 280px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(4, 9, 16, 0.2));
}

.case-media-triple img {
  height: 280px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(4, 9, 16, 0.2));
}

.case-gallery {
  display: grid;
  gap: 0;
  background: #f5f5f7;
}

.gallery-stage {
  display: grid;
  width: 100%;
  min-height: 360px;
  place-items: center;
  padding: 22px;
  border: 0;
  background: #f5f5f7;
  cursor: zoom-in;
}

.gallery-stage img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 180ms ease;
}

.gallery-stage:hover img {
  transform: scale(1.015);
}

.gallery-stage:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.36);
  outline-offset: -3px;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px 18px;
  background: #ffffff;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.gallery-controls button {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 999px;
  color: #1d1d1f;
  background: #f5f5f7;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  border-color: rgba(0, 113, 227, 0.34);
  background: #eef6ff;
}

.gallery-controls button.is-active {
  color: #ffffff;
  border-color: #0071e3;
  background: #0071e3;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.18);
}

.case-media img,
.robot-gallery img,
.aie-product-row img,
.company-product-stage img {
  cursor: zoom-in;
}

.case-body {
  padding: 22px;
}

.case-body h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.case-tags li {
  padding: 8px 12px;
  border: 1px solid rgba(122, 177, 241, 0.18);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
}

.section-subhead {
  margin-top: 48px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  overflow: hidden;
}

.video-card video {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  background: #02070d;
}

.video-card-body {
  padding: 20px 22px 22px;
}

.video-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.video-card-body p {
  margin: 0;
  color: var(--muted);
}

.delivery-table-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  overflow: hidden;
}

.delivery-table-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.delivery-table-head h3 {
  margin: 10px 0 0;
  color: #1d1d1f;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.delivery-table-head p {
  max-width: 520px;
  margin: 0;
  color: #6e6e73;
}

.featured-clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-clients article {
  padding: 18px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: #f8fbff;
}

.featured-clients span {
  color: #0071e3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-clients h4 {
  margin: 8px 0 8px;
  color: #1d1d1f;
  font-size: 1.08rem;
}

.featured-clients p {
  margin: 0;
  color: #6e6e73;
  font-size: 0.95rem;
}

.client-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.client-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  color: #1d1d1f;
  font-size: 0.95rem;
  line-height: 1.55;
  table-layout: fixed;
}

.client-table th,
.client-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.client-table th {
  background: #edf5ff;
  color: #1d1d1f;
  font-weight: 800;
  white-space: nowrap;
}

.client-table td:first-child {
  font-weight: 800;
}

.client-table tr:nth-child(even) td {
  background: #fbfbfd;
}

.client-table tr:last-child td {
  border-bottom: 0;
}

.client-table-note {
  margin: 0;
  color: #6e6e73;
  font-size: 0.92rem;
}

.delivery-copy {
  align-self: stretch;
}

.delivery-table img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  padding: 0 0 48px;
}

.site-footer p {
  margin: 0;
  color: rgba(157, 181, 209, 0.78);
  text-align: center;
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .capability-grid,
  .company-narrative-grid,
  .platform-layout,
  .delivery-grid,
  .case-spotlight {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-stats,
  .company-metrics,
  .pillars,
  .team-grid,
  .case-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    gap: 12px;
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(7, 16, 29, 0.95);
    border: 1px solid rgba(120, 178, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 10px;
    border-radius: 14px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: none;
  }

  .hero {
    padding-top: 48px;
  }

  .section {
    padding: 76px 0;
  }

  .company-intro {
    padding-top: 86px;
  }

  .company-intro-shell {
    gap: 38px;
  }

  .company-product-stage {
    min-height: 460px;
    padding: 42px 22px 32px;
    border-radius: 22px;
  }

  .company-product-stage img {
    width: min(520px, 92vw);
    max-height: 340px;
  }

  .hero-stats,
  .company-metrics,
  .pillars,
  .team-grid,
  .case-grid,
  .robot-gallery,
  .case-media-dual,
  .case-media-triple,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .float-card {
    width: 146px;
    padding: 12px;
  }

  .float-card img {
    height: 100px;
  }

  .float-card-monkey {
    right: 0;
  }

  .float-card-cat {
    left: 0;
    bottom: 26px;
  }

  .float-card-holo {
    right: 20px;
    bottom: -28px;
  }

  .member-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .member-card img {
    width: 92px;
  }

  .case-media img,
  .case-media-dual img,
  .case-media-triple img,
  .video-card video,
  .robot-gallery img {
    height: 220px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .site-header {
    margin-top: 12px;
    padding: 12px 14px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .hero-panel-main img {
    min-height: 420px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .section-head h2,
  .case-copy h3 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .company-title {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  .company-lead {
    font-size: 1.04rem;
  }

  .company-story h3 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .company-metric {
    min-height: auto;
    padding: 22px;
  }

  .company-capabilities {
    justify-content: flex-start;
  }

  .capability-copy,
  .stack-card,
  .delivery-card,
  .case-spotlight,
  .team-note {
    padding: 22px;
  }
}

/* Light Apple-style theme */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-card: rgba(255, 255, 255, 0.92);
  --line: rgba(29, 29, 31, 0.08);
  --line-strong: rgba(29, 29, 31, 0.12);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --cyan: #0071e3;
  --green: #34c759;
  --orange: #ff9f0a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

body {
  color: var(--text);
  background: #ffffff;
}

.bg-grid,
.bg-orb {
  display: none;
}

.site-header {
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(29, 29, 31, 0.08);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
}

.brand-mark {
  background: linear-gradient(160deg, #60d8ff, #0071e3);
  box-shadow: 0 12px 26px rgba(0, 113, 227, 0.22);
}

.brand-mark::before {
  background: rgba(255, 255, 255, 0.9);
}

.brand small,
.site-nav,
.hero-lead,
.section-head p,
.capability-copy p,
.stack-card p,
.member-card p,
.case-body p,
.case-copy p,
.delivery-card li,
.robot-gallery figcaption,
.video-card-body p,
.site-footer p,
.hero-stats span {
  color: var(--muted);
}

.hero,
.section,
.section-platform,
.section-cases,
.site-footer {
  background: #ffffff;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}

.eyebrow,
.member-role,
.stack-label,
.case-kicker {
  color: var(--blue) !important;
}

.hero-copy h1,
.section-head h2,
.case-spotlight h3,
.case-body h3,
.video-card-body h3,
.member-card h3,
.capability-copy h3,
.stack-card h3,
.delivery-card h3,
.pillar-card h3,
.hero-stats strong,
.metric-list strong,
.float-card span,
.case-tags li {
  color: var(--text);
}

.button-primary {
  color: #ffffff;
  background: #0071e3;
  box-shadow: 0 16px 36px rgba(0, 113, 227, 0.2);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(0, 113, 227, 0.22);
}

.hero-stats li,
.glass-card,
.pillar-card,
.float-card,
.hero-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(29, 29, 31, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  background: #ffffff;
}

.hero-panel-main {
  transform: none;
}

.hero-panel-main img {
  background: #f5f5f7;
}

.float-card {
  background: rgba(255, 255, 255, 0.9);
}

.float-card img,
.case-media-dual img,
.case-media-triple img {
  background: #f5f5f7;
}

.metric-list div {
  border-top-color: rgba(29, 29, 31, 0.08);
}

.pillar-card {
  background: #ffffff;
}

.pillar-card span,
.stack-label,
.case-kicker {
  background: rgba(0, 113, 227, 0.08);
}

.robot-gallery figure {
  background: #ffffff;
  border-color: rgba(29, 29, 31, 0.08);
}

.case-tags li {
  background: #f5f5f7;
  border-color: rgba(29, 29, 31, 0.08);
}

.video-card video {
  background: #f5f5f7;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__figure {
  display: grid;
  gap: 12px;
  width: min(1120px, 94vw);
  margin: 0;
}

.image-lightbox__figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.image-lightbox__figure figcaption {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  text-align: center;
}

.image-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(29, 29, 31, 0.58);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible {
  background: rgba(29, 29, 31, 0.82);
}

.company-intro {
  background: #ffffff;
}

.company-product-stage,
.company-metric,
.company-capabilities span {
  background: rgba(255, 255, 255, 0.94);
}

html.js [data-reveal],
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero-aie-visual {
  min-height: auto;
}

.aie-showcase {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 113, 227, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.1);
}

.aie-showcase-head {
  display: grid;
  gap: 8px;
}

.aie-showcase-head span,
.aie-layer span,
.diagram-band span {
  color: #0071e3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.aie-showcase-head strong {
  color: #1d1d1f;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.aie-showcase-head p {
  max-width: 520px;
  margin: 0;
  color: #6e6e73;
}

.aie-core-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-height: 300px;
}

.aie-core-map::before,
.aie-core-map::after {
  content: "";
  position: absolute;
  inset: 50% 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.32), transparent);
}

.aie-core-map::after {
  inset: 9% 50%;
  width: 1px;
  height: auto;
  background: linear-gradient(180deg, transparent, rgba(0, 113, 227, 0.32), transparent);
}

.aie-layer,
.aie-core-chip {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
}

.aie-layer strong {
  margin-top: 6px;
  color: #1d1d1f;
  font-size: 1.12rem;
}

.layer-soul,
.layer-link {
  justify-items: end;
  text-align: right;
}

.aie-core-chip {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 146px;
  min-height: 146px;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #eaf3ff);
  transform: translate(-50%, -50%);
}

.aie-core-chip strong {
  color: #0071e3;
  font-size: 2.2rem;
  line-height: 1;
}

.aie-core-chip span {
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 700;
}

.aie-product-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.aie-product-row article {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 16px;
  background: #ffffff;
}

.aie-product-row img {
  width: 100%;
  height: 104px;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f5f7;
}

.aie-product-row span {
  color: #1d1d1f;
  font-size: 0.9rem;
  font-weight: 700;
}

.section-platform .section-head {
  max-width: 1080px;
}

.section-platform .section-head h2 {
  max-width: 900px;
}

.platform-layout-clean {
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.aie-platform-diagram {
  position: relative;
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.diagram-core {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 113, 227, 0.08);
}

.diagram-core strong {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(180deg, #0071e3 0%, #4aa3ff 100%);
  font-size: 1.55rem;
  letter-spacing: 0;
  box-shadow: 0 18px 32px rgba(0, 113, 227, 0.24);
}

.diagram-core span {
  color: #0071e3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diagram-core p {
  margin: 4px 0 0;
  color: #6e6e73;
}

.diagram-band {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: #f8f8fa;
}

.diagram-band strong {
  color: #1d1d1f;
  font-size: 1.24rem;
}

.diagram-band p {
  margin: 0;
  color: #6e6e73;
}

.diagram-form {
  background: linear-gradient(180deg, #f4f9ff, #ffffff);
}

.diagram-soul {
  background: linear-gradient(180deg, #f8f4ff, #ffffff);
}

.diagram-body {
  background: linear-gradient(180deg, #f5fff8, #ffffff);
}

.diagram-link {
  background: linear-gradient(180deg, #fff8ef, #ffffff);
}

.case-spotlight {
  grid-template-columns: 1fr;
  gap: 28px;
}

.robot-gallery {
  gap: 18px;
}

.robot-gallery figure {
  background: #ffffff;
}

.robot-gallery img {
  height: 340px;
  padding: 10px;
  object-fit: contain;
  background: #f5f5f7;
}

.case-media-snow img {
  height: 320px;
  padding: 12px;
}

@media (max-width: 820px) {
  .site-nav {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(29, 29, 31, 0.08);
  }

  .site-nav a:hover {
    background: #f5f5f7;
  }

  .nav-toggle {
    background: #f5f5f7;
    color: var(--text);
  }

  .hero-aie-visual {
    min-height: auto;
  }

  .aie-showcase {
    padding: 20px;
    border-radius: 22px;
  }

  .aie-core-map,
  .aie-product-row,
  .platform-layout-clean {
    grid-template-columns: 1fr;
  }

  .aie-core-map {
    min-height: auto;
  }

  .aie-core-map::before,
  .aie-core-map::after {
    display: none;
  }

  .layer-soul,
  .layer-link {
    justify-items: start;
    text-align: left;
  }

  .aie-core-chip {
    position: static;
    width: auto;
    min-height: 120px;
    border-radius: 18px;
    transform: none;
  }

  .aie-product-row img {
    height: 150px;
  }

  .gallery-stage {
    min-height: 300px;
    padding: 16px;
  }

  .gallery-stage img {
    height: 260px;
  }

  .gallery-controls {
    padding: 12px 14px 16px;
  }

  .delivery-copy,
  .featured-clients {
    grid-template-columns: 1fr;
  }

  .delivery-table-card {
    padding: 20px;
  }

  .delivery-table-head {
    display: grid;
  }

  .image-lightbox {
    padding: 18px;
  }

  .image-lightbox__close {
    top: 14px;
    right: 14px;
  }

  .robot-gallery img,
  .case-media-snow img {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
