@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2Z";
  src: url("../fonts/a2z/A2Z-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050a12;
  --bg-soft: #0c1525;
  --bg-card: #111c2e;
  --bg-elevated: #162238;
  --bg-dark: #03060c;
  --surface: #0c1525;
  --text: #e8edf5;
  --text-muted: #8b9cb5;
  --muted: #8b9cb5;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #00c2e0;
  --accent-hover: #33d1ea;
  --accent-dim: rgba(0, 194, 224, 0.14);
  --accent-warm: #ff6b35;
  --radius: 4px;
  --header-h: 80px;
  --page-pad: clamp(1rem, 2.8vw, 2rem);
  --container-max: 1480px;
  --container: min(var(--container-max), calc(100% - 2 * var(--page-pad)));
  --font: "A2Z", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: 0.25s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: #050a12;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--dark { background: var(--text); color: var(--bg); }
.btn--dark:hover { opacity: 0.88; }
.btn--light { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn--light:hover { background: var(--bg-elevated); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  line-height: 1.35;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, backdrop-filter 0.28s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: visible;
}
.site-header.is-scrolled {
  background: rgba(5, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(0, 194, 224, 0.25);
  box-shadow: 0 1px 0 rgba(0, 194, 224, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: 42px;
  padding-right: var(--page-pad);
  overflow: visible;
  box-sizing: border-box;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo {
  width: 232px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.brand__logo--footer { height: 42px; width: auto; max-width: 220px; object-fit: contain; }

.site-nav { overflow: visible; }
.site-nav__list { display: flex; align-items: center; gap: 0.25rem; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.site-nav__link:hover,
.site-nav__item:hover .site-nav__link {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.has-dropdown { position: relative; }
/* Keep dropdown open ? hover gap is an invisible bridge */
.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 420px;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), visibility 0.2s, transform 0.2s var(--ease);
  pointer-events: none;
  z-index: 1100;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown--compact { min-width: 280px; }
.dropdown--compact a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.dropdown--compact a:last-child { border-bottom: none; }
.dropdown--compact a strong { display: block; color: var(--text); margin-bottom: 0.15rem; font-weight: 600; }
.dropdown--compact a span { font-size: 0.8125rem; color: var(--text-muted); }
.dropdown--compact a:hover { color: var(--text); }
.dropdown--wide { min-width: 560px; }
.dropdown__intro { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.dropdown__intro strong { display: block; font-size: 0.9375rem; margin-bottom: 0.5rem; }
.dropdown__intro p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }
.dropdown__cols { display: flex; gap: 2rem; }
.dropdown__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.dropdown__col a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.dropdown__col a:hover { color: var(--text); }
.dropdown__products a strong { display: block; color: var(--text); margin-bottom: 0.15rem; }
.dropdown__products a span { font-size: 0.8125rem; color: var(--text-muted); }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.site-header__actions .btn--dark { order: 1; }
.site-header__actions .lang-toggle { order: 2; }
.site-header__actions .menu-btn { order: 3; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.lang-toggle:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: 0.25s;
}
.menu-btn.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Intro door: full-bleed hero, no chrome */
.page-intro {
  overflow: hidden;
}
.page-intro .hero {
  padding-top: 0;
  min-height: 100vh;
  min-height: 100dvh;
}
.page-intro .hero__slides,
.page-intro .hero__slide.is-active {
  min-height: 100vh;
  min-height: 100dvh;
}
.page-intro .hero__inner {
  padding-bottom: 8.5rem;
}
.page-intro .hero__enter {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(4.5rem, 10vh, 7rem);
  transform: translateX(-50%);
  width: min(var(--container-max), 100%);
  max-width: 100%;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
  pointer-events: none;
}
.page-intro .hero__enter .btn {
  pointer-events: auto;
}
@media (max-width: 900px) {
  .page-intro .hero__enter {
    bottom: clamp(5.5rem, 12vh, 7.5rem);
  }
}
.hero__slides { position: relative; min-height: calc(100vh - var(--header-h)); }
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: calc(100vh - var(--header-h)); }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg-img,
.hero__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.hero__bg--command .hero__bg-video {
  object-position: 50% center;
  transform: scale(1.06);
  transform-origin: center center;
}
.hero__bg--command::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 26% 20% at 99% 99%,
      rgba(5, 10, 18, 0.98) 0%,
      rgba(5, 10, 18, 0.72) 42%,
      transparent 68%
    ),
    linear-gradient(
      to top,
      rgba(5, 10, 18, 0.55) 0%,
      transparent 18%
    );
}
.hero__bg--1 .hero__bg-video {
  object-position: 36% 40%;
  transform: none;
}
.hero__bg--2 .hero__bg-video {
  object-position: 48% 42%;
  transform: scale(1.03);
  transform-origin: 48% 42%;
}
.hero__bg--3 .hero__bg-video {
  object-position: 53% 58%;
  transform: none;
}
.hero__slide--video-only .hero__bg:not(.hero__bg--command)::after {
  content: none;
}
.hero__bg-video {
  display: block;
  background: var(--bg-soft);
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg-video { display: none; }
}
.hero__bg-img--motion {
  animation: heroKenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg-img--motion { animation: none; }
}
.hero__bg--1::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(11, 13, 18, 0.97) 0%,
    rgba(11, 13, 18, 0.9) 20%,
    rgba(11, 13, 18, 0.64) 36%,
    rgba(11, 13, 18, 0.3) 50%,
    rgba(11, 13, 18, 0.05) 66%,
    transparent 82%
  );
  pointer-events: none;
}
.hero__bg--1 {
  background: var(--bg-soft) url("../images/makina-hero-vision.png") 36% 40% / cover no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__bg--1 { background-image: none; }
}
.hero__bg--2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(11, 13, 18, 0.97) 0%,
    rgba(11, 13, 18, 0.9) 20%,
    rgba(11, 13, 18, 0.64) 36%,
    rgba(11, 13, 18, 0.3) 50%,
    rgba(11, 13, 18, 0.05) 66%,
    transparent 82%
  );
  pointer-events: none;
}
.hero__bg--2 {
  background: var(--bg-soft) url("../images/makina-hero-stack.png") 48% 42% / cover no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__bg--2 { background-image: none; }
}
.hero__bg--3::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(11, 13, 18, 0.97) 0%,
    rgba(11, 13, 18, 0.9) 20%,
    rgba(11, 13, 18, 0.64) 36%,
    rgba(11, 13, 18, 0.3) 50%,
    rgba(11, 13, 18, 0.05) 66%,
    transparent 82%
  );
  pointer-events: none;
}
.hero__bg--3 {
  background: var(--bg-soft) url("../images/makina-hero-extreme.png") 53% 58% / cover no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__bg--3 { background-image: none; }
}
.hero__bg-img--2 {
  object-position: 60% center;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  padding: 4rem var(--page-pad) 6rem;
  box-sizing: border-box;
}
.hero__counter {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
.hero__counter-current { color: var(--text); }
.hero__counter-sep { opacity: 0.35; margin-left: 0.5rem; }
.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 820px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--text) 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero__slide[data-hero="1"] .hero__inner,
.hero__slide[data-hero="2"] .hero__inner {
  padding: 3.5rem min(34vw, 26rem) 7rem 0;
}
.hero__slide[data-hero="1"] .hero__title {
  max-width: 15em;
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 1.25rem;
}
.hero__slide[data-hero="2"] .hero__title {
  max-width: 12em;
  line-height: 1.22;
  text-wrap: balance;
  margin-bottom: 1.25rem;
}
.hero__slide[data-hero="1"] .hero__title em,
.hero__slide[data-hero="2"] .hero__title em {
  display: inline;
}
.hero__slide[data-hero="1"] .hero__desc,
.hero__slide[data-hero="2"] .hero__desc {
  max-width: 36em;
  font-size: clamp(0.9375rem, 1.55vw, 1.0625rem);
  line-height: 1.8;
  word-break: keep-all;
  margin-bottom: 2.25rem;
}
.hero__desc-line {
  display: block;
}
.hero__slide[data-hero="1"] .hero__badge,
.hero__slide[data-hero="2"] .hero__badge {
  margin-bottom: 1.125rem;
}
.hero__slide[data-hero="1"] .hero__counter,
.hero__slide[data-hero="2"] .hero__counter {
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .hero__slide[data-hero="1"] .hero__inner,
  .hero__slide[data-hero="2"] .hero__inner {
    padding: 2.5rem 0 6.5rem;
  }
  .hero__slide[data-hero="1"] .hero__title {
    max-width: none;
    font-size: clamp(1.875rem, 7.5vw, 2.5rem);
  }
  .hero__slide[data-hero="2"] .hero__title {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
  .hero__slide[data-hero="1"] .hero__desc,
  .hero__slide[data-hero="2"] .hero__desc {
    max-width: none;
    font-size: 0.9375rem;
  }
}
.hero__controls {
  position: absolute;
  bottom: 3rem;
  right: clamp(1rem, 4vw, 2.5rem);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hero__arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  transition: 0.2s;
}
.hero__arrow:hover { border-color: var(--text); background: var(--bg-soft); }

/* Marquee */
.marquee {
  padding: 2.5rem 0;
  border-block: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.65;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Products */
.products {
  padding: 6rem 0;
  background: var(--bg);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.product-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--bg-card);
}
.product-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.product-card__visual {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}
.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-card__visual img { transform: scale(1.04); }
.product-card__body { padding: 1.75rem; }
.product-card__body h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.product-card__body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.product-card__body strong { color: var(--text); font-weight: 600; }

.product-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: 0.25s;
}
.product-banner:hover { border-color: var(--text); background: var(--bg-card); }
.product-banner h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.35rem; }
.product-banner p { font-size: 0.9375rem; color: var(--text-muted); }
.product-banner__arrow { font-size: 1.5rem; color: var(--text-muted); transition: transform 0.2s; }
.product-banner:hover .product-banner__arrow { transform: translateX(4px); color: var(--text); }

/* Industries & Stories carousel */
.industries,
.stories {
  padding: 5rem 0;
}
.industries { background: var(--bg-soft); }
.stories { background: var(--bg); border-top: 1px solid var(--border); }
.stories__link {
  margin: -0.5rem 0 2rem;
}

.carousel__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  margin-bottom: 1.5rem;
}
.carousel__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  transition: transform 0.45s var(--ease);
}
.industry-card,
.story-card {
  flex: 0 0 calc(25% - 0.75rem);
  min-width: 240px;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.industry-card:hover,
.story-card:hover {
  border-color: #cdd2da;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.industry-card__tag,
.story-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.industry-card h3,
.story-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}
.industry-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.story-card time { font-size: 0.8125rem; color: var(--text-muted); }

/* Robotics lineup carousel (3-up) */
.robots--lineup {
  background: var(--bg);
}
.robots--lineup .carousel {
  width: 100%;
  min-width: 0;
}
.robots--lineup .carousel__viewport {
  container-type: inline-size;
  container-name: robotics-lineup;
}
.robotics-card {
  --field-color: #0a8fa6;
  --field-bg: rgba(0, 194, 224, 0.12);
  --field-border: rgba(0, 194, 224, 0.32);
  box-sizing: border-box;
  flex: 0 0 calc((100cqi - 2rem) / 3);
  width: calc((100cqi - 2rem) / 3);
  min-width: calc((100cqi - 2rem) / 3);
  max-width: calc((100cqi - 2rem) / 3);
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.robotics-card[data-field="fuel"] {
  --field-color: #0a8fa6;
  --field-bg: rgba(0, 194, 224, 0.12);
  --field-border: rgba(0, 194, 224, 0.35);
}
.robotics-card[data-field="pipe"] {
  --field-color: #2f6fed;
  --field-bg: rgba(47, 111, 237, 0.1);
  --field-border: rgba(47, 111, 237, 0.32);
}
.robotics-card[data-field="om"] {
  --field-color: #1a8f5c;
  --field-bg: rgba(26, 143, 92, 0.1);
  --field-border: rgba(26, 143, 92, 0.32);
}
.robotics-card[data-field="decomm"] {
  --field-color: #c45c16;
  --field-bg: rgba(255, 107, 53, 0.1);
  --field-border: rgba(196, 92, 22, 0.32);
}
.robotics-card[data-field="accident"] {
  --field-color: #c0392b;
  --field-bg: rgba(192, 57, 43, 0.1);
  --field-border: rgba(192, 57, 43, 0.32);
}
a.robotics-card:hover,
.robotics-card:hover {
  border-color: color-mix(in srgb, var(--field-color) 55%, var(--border));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.robotics-card__visual {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.robotics-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.robotics-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
}
.robotics-card__field {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--field-color);
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  margin-bottom: 0.35rem;
}
.robotics-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--field-color);
}
.robotics-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
.robotics-card__subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}
.robotics-card__body > p:not(.robotics-card__subtitle) {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0.15rem 0 0;
}
.robotics-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: auto;
  padding-top: 0.85rem;
}
.robotics-card__cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}
.robotics-card__cta:hover { color: var(--accent-hover); }
a.robotics-card .robotics-card__cta {
  margin-top: auto;
  padding-top: 0.85rem;
}
@media (max-width: 1024px) {
  .robotics-card {
    flex-basis: calc((100cqi - 1rem) / 2);
    width: calc((100cqi - 1rem) / 2);
    min-width: calc((100cqi - 1rem) / 2);
    max-width: calc((100cqi - 1rem) / 2);
  }
}
@media (max-width: 768px) {
  .robotics-card {
    flex-basis: 85cqi;
    width: 85cqi;
    min-width: 85cqi;
    max-width: 85cqi;
  }
}

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.carousel__btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1rem;
  transition: 0.2s;
}
.carousel__btn:hover:not(:disabled) { border-color: var(--text); background: var(--bg-soft); }
.carousel__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel__status { font-size: 0.875rem; color: var(--text-muted); min-width: 3rem; text-align: center; }

/* CTA */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.75rem;
  background: radial-gradient(ellipse 70% 120% at 15% 0%, rgba(124, 117, 255, 0.14), transparent 65%), var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}
.page-hero__eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
  margin-bottom: 0.75rem;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; line-height: 1.15; }
.page-hero p { margin-top: 0.9rem; color: var(--text-muted); max-width: 62ch; }
.page-hero p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.page-hero p a:hover { color: var(--accent-hover); }
.page-hero__breadcrumb { margin-bottom: 1.25rem; font-size: 0.82rem; color: var(--text-muted); }
.page-hero__breadcrumb a { color: var(--text-muted); }
.page-hero__breadcrumb a:hover { color: var(--text); }
.page-hero--split .page-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.page-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__media--diagram {
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(0, 194, 224, 0.1), transparent 70%),
    var(--bg-card);
}
.page-hero__media--diagram img {
  object-fit: contain;
  padding: 0.35rem;
}
.page-hero--platform .page-hero__inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  column-gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}
.page-hero--platform .page-hero__text {
  min-width: 0;
}
.page-hero--platform .page-hero__media--diagram {
  aspect-ratio: auto;
  min-height: min(52vh, 480px);
  max-height: min(78vh, 680px);
  height: 100%;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero--platform .page-hero__media--diagram img {
  width: 100%;
  height: 100%;
  max-height: min(78vh, 680px);
  object-fit: contain;
  padding: 0.15rem;
}
.page-hero--platform h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  max-width: min(100%, 28em);
  letter-spacing: -0.03em;
}
.page-hero--platform p {
  max-width: none;
  font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
}
.page-hero--platform .page-hero__lead-line {
  display: inline;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: keep-all;
}
@media (max-width: 1100px) {
  .page-hero--platform .page-hero__media--diagram {
    min-height: min(40vh, 360px);
    max-height: min(56vh, 480px);
  }
  .page-hero--platform .page-hero__media--diagram img {
    max-height: min(56vh, 480px);
  }
}

/* Core Domain platform diagram */
.platform-diagram {
  padding: 4.5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 55% 50% at 50% 40%, rgba(0, 194, 224, 0.07), transparent 65%),
    var(--bg-soft);
}
.platform-diagram--hub .platform-diagram__crumb {
  text-align: center;
  margin-bottom: 1.5rem;
}
.platform-diagram--hub .section-title--display {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.platform-diagram--hub .section-desc {
  max-width: 42rem;
  margin-inline: auto;
}
.platform-diagram__figure {
  max-width: 880px;
  margin: 2rem auto 0;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}
.platform-diagram__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 1px);
}

/* Visual feature band (image + text) */
.visual-band { padding: 5rem 0; }
.visual-band__inner {
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.visual-band--reverse .visual-band__media { order: 2; }
.visual-band__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
}
.visual-band__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual-band__media--diagram {
  aspect-ratio: 4 / 3;
  background: #fff;
}
.visual-band__media--diagram img {
  object-fit: contain;
  padding: 0.5rem;
}
.visual-band__text h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; margin-bottom: 1rem; line-height: 1.25; }
.visual-band__text > p { color: var(--text-muted); line-height: 1.75; margin-bottom: 0.85rem; }
.visual-band__list { margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.visual-band__list li { position: relative; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.visual-band__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Industry card thumbnail */
.industry-card__thumb {
  margin: -1.75rem -1.75rem 1.25rem;
  height: 150px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.industry-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.industry-card:hover .industry-card__thumb img { transform: scale(1.05); }

@media (max-width: 860px) {
  .page-hero--split .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; max-height: 240px; }
  .visual-band__inner { grid-template-columns: 1fr; }
  .visual-band--reverse .visual-band__media { order: 0; }
}

.cta {
  padding: 6rem 0;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(124, 117, 255, 0.16), transparent 70%), var(--bg-soft);
  color: #fff;
  text-align: center;
}
.cta__inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.cta__inner p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* Newsletter */
.newsletter {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.newsletter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.newsletter__inner p { font-size: 1rem; font-weight: 500; max-width: 420px; }
.newsletter__form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 440px;
}
.newsletter__form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter__form input:focus { border-color: var(--text); }

/* Contact form */
.contact-section {
  padding: calc(var(--header-h) + 2.5rem) 0 5rem;
  background:
    radial-gradient(ellipse 70% 120% at 15% 0%, rgba(0, 194, 224, 0.08), transparent 65%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.contact-page__intro {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 40rem;
}
.contact-page__intro h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.35rem 0 0.85rem;
}
.contact-page__intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.contact-info__list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}
.contact-info__list li {
  display: grid;
  gap: 0.25rem;
}
.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-info__list a {
  color: var(--text);
  font-weight: 500;
}
.contact-info__list a:hover { color: var(--accent); }
.contact-info__note {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-info__note strong { color: var(--text); }
.contact-form-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form__field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.contact-form__field label {
  font-size: 0.875rem;
  font-weight: 500;
}
.contact-form__field label span { color: var(--accent); }
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}
.contact-form__field textarea { resize: vertical; min-height: 140px; }
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--text);
}
.contact-form__field.is-error input,
.contact-form__field.is-error select,
.contact-form__field.is-error textarea {
  border-color: #e05252;
}
.contact-form__error {
  font-size: 0.8rem;
  color: #e05252;
}
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  cursor: pointer;
}
.contact-form__consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.contact-form__actions { margin-top: 0.25rem; }
.contact-form__hint {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 1.25rem;
  line-height: 1.45;
}
.contact-form__hint.is-error {
  color: #c0392b;
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: 8px;
}
.contact-form__success {
  text-align: center;
  padding: 2rem 1rem;
}
.contact-form__success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(124, 117, 255, 0.15);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 600;
}
.contact-form__success h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.contact-form__success p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.contact-form__success a { color: var(--accent); }
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* Location */
.location-section {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  background:
    radial-gradient(ellipse 70% 120% at 15% 0%, rgba(0, 194, 224, 0.08), transparent 65%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.location-page__intro {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 40rem;
}
.location-page__intro h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.35rem 0 0.85rem;
}
.location-page__intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Fit Location content in one viewport (desktop) */
.page-location .location-section {
  box-sizing: border-box;
  height: 100dvh;
  max-height: 100dvh;
  padding: calc(var(--header-h) + 0.75rem) 0 0.85rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.page-location .location-section > .container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  width: min(var(--container-max), 100%);
  gap: 0.65rem;
}
.page-location .location-page__intro {
  margin-bottom: 0;
  max-width: none;
  flex: 0 0 auto;
}
.page-location .location-page__intro .page-hero__breadcrumb {
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
}
.page-location .location-page__intro .page-hero__eyebrow {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
}
.page-location .location-page__intro h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin: 0.1rem 0 0.25rem;
}
.page-location .location-page__intro p {
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}
.page-location .location-tabs {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0.55rem;
}
.page-location .location-tabs__list {
  margin-bottom: 0;
  gap: 0.3rem;
  padding: 0.2rem;
  flex: 0 0 auto;
}
.page-location .location-tabs__tab {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  gap: 0;
}
.page-location .location-tabs__tab span {
  font-size: 0.7rem;
}
.page-location .location-tabs__panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}
.page-location .location-tabs__panel.is-active {
  display: flex;
}
.page-location .location-card {
  flex: 1 1 auto;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
}
.page-location .location-card__info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}
.page-location .location-card__tag {
  margin-bottom: 0.15rem;
  font-size: 0.65rem;
}
.page-location .location-card__info h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  margin: 0 0 0.5rem;
}
.page-location .location-card__meta {
  gap: 0.4rem;
  margin: 0 0 0.65rem;
}
.page-location .location-card__meta dd {
  font-size: 0.85rem;
  line-height: 1.35;
}
.page-location .location-card__actions {
  gap: 0.4rem;
  margin-top: auto;
}
.page-location .location-card__actions .btn {
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
}
.page-location .location-card__map-wrap {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  align-self: stretch;
}
.page-location .location-card__map-link,
.page-location .location-card__map-img {
  min-height: 0 !important;
  height: 100%;
  max-height: 100%;
}
.page-location .location-card__map-hint {
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
}
.page-location .location-note {
  margin-top: 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
  flex: 0 0 auto;
}
.page-location .location-note p {
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}
.page-location .site-footer {
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}
.location-tabs__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding: 0.35rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.25);
}
.location-tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.location-tabs__tab span {
  font-size: 0.8rem;
  font-weight: 400;
  color: inherit;
  opacity: 0.8;
}
.location-tabs__tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}
.location-tabs__tab.is-active {
  color: var(--text);
  background: var(--bg);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.location-tabs__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.location-tabs__panel[hidden] {
  display: none !important;
}
.location-card {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.location-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.location-card__info h2,
.location-card__info h3 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.location-card__meta {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.location-card__meta > div {
  display: grid;
  gap: 0.25rem;
}
.location-card__meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.location-card__meta dd {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--text);
}
.location-card__meta a {
  color: var(--text);
  font-weight: 500;
}
.location-card__meta a:hover { color: var(--accent); }
.location-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.location-card__map-wrap {
  position: relative;
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.25);
  overflow: hidden;
  background: var(--bg-soft);
}
.location-card__map-link {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  height: 100%;
  min-height: 320px;
}
.location-card__map-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}
.location-card__map-hint {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  pointer-events: none;
}
.location-card__map-link:hover .location-card__map-img {
  filter: brightness(0.97);
}
.location-card__map-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.location-card__map,
.location-card__map-fallback {
  display: none;
}
.location-note {
  padding: 2.5rem 0 4.5rem;
}
.location-note p {
  margin: 0;
  max-width: 48rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.975rem;
}
.location-note a {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.location-note a:hover { color: var(--accent); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .location-card {
    grid-template-columns: 1fr;
  }
  .location-card__map-wrap,
  .location-card__map-link,
  .location-card__map-img {
    min-height: 240px;
  }
  .location-tabs__tab {
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
  }
  .page-location .location-section {
    min-height: 0;
    display: block;
    padding: calc(var(--header-h) + 1.25rem) 0 2.5rem;
  }
  .page-location .location-section > .container,
  .page-location .location-tabs,
  .page-location .location-tabs__panel.is-active,
  .page-location .location-card {
    display: block;
    min-height: 0;
  }
  .page-location .location-card__map-wrap {
    min-height: 220px;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .page-location .location-card__map-link,
  .page-location .location-card__map-img {
    height: 100%;
    min-height: 220px;
  }
}

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.75fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 3rem;
  align-items: start;
}
.site-footer__brand p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--text-muted); }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.site-footer__cols h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.site-footer__cols a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.site-footer__cols a:hover { color: var(--text); }
.site-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.site-footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.site-footer__copy { margin-top: 0.75rem; opacity: 0.8; }

.hero__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(79, 70, 229, 0.08);
  border-radius: var(--radius);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-label--cased {
  text-transform: none;
  letter-spacing: 0.04em;
}
.section-label--light { color: rgba(255,255,255,0.7); }
.section-head-block { margin-bottom: 3rem; max-width: 720px; }
.section-head-block--center { margin-inline: auto; text-align: center; }
.section-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.industries__lead { margin: -1.5rem 0 2.5rem; max-width: 640px; }

/* Prologue ? mosaic infographic (hub + color tiles) */
.prologue {
  padding: 6rem 0;
  background: var(--bg-soft);
}
.prologue-mosaic {
  position: relative;
  width: min(920px, 100%);
  margin: 0.5rem auto 0;
  isolation: isolate;
}
.prologue-mosaic__rings {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 194, 224, 0.12) 0%, transparent 30%),
    repeating-radial-gradient(
      circle at 50% 48%,
      transparent 0,
      transparent 42px,
      rgba(0, 194, 224, 0.05) 42px,
      rgba(0, 194, 224, 0.05) 43px
    );
  mask-image: radial-gradient(circle at 50% 48%, #000 0%, #000 55%, transparent 78%);
}
.prologue-mosaic__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(150px, 1fr) minmax(150px, 1fr) minmax(130px, 0.9fr);
  gap: 0.7rem;
  min-height: min(58vh, 540px);
}
.prologue-mosaic__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 0;
  box-shadow: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prologue-mosaic__card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 194, 224, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.prologue-mosaic__card--teal {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(165deg, #132033 0%, var(--bg-card) 72%);
  border-color: rgba(0, 194, 224, 0.18);
  padding-right: 22%;
}
.prologue-mosaic__card--blue {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(195deg, #121c30 0%, var(--bg-card) 72%);
  border-color: rgba(139, 156, 181, 0.2);
  align-items: flex-end;
  text-align: right;
  padding-left: 22%;
}
.prologue-mosaic__card--blue .prologue-mosaic__step {
  left: auto;
  right: 1.25rem;
  color: var(--text-muted);
}
.prologue-mosaic__card--navy {
  grid-column: 1;
  grid-row: 2;
  background: linear-gradient(165deg, #10253a 0%, var(--bg-elevated) 75%);
  border-color: rgba(0, 194, 224, 0.28);
  padding-right: 22%;
}
.prologue-mosaic__card--cyan {
  grid-column: 2;
  grid-row: 2;
  background: linear-gradient(195deg, #0d2a3a 0%, var(--bg-elevated) 75%);
  border-color: rgba(0, 194, 224, 0.42);
  align-items: flex-end;
  text-align: right;
  padding-left: 22%;
}
.prologue-mosaic__card--cyan .prologue-mosaic__step {
  left: auto;
  right: 1.25rem;
}
.prologue-mosaic__card--coral {
  grid-column: 1 / -1;
  grid-row: 3;
  background: linear-gradient(115deg, rgba(255, 107, 53, 0.14) 0%, var(--bg-elevated) 48%);
  border-color: rgba(255, 107, 53, 0.38);
  justify-content: center;
  align-items: flex-start;
  padding-block: 1.5rem;
  padding-inline: 1.6rem 28%;
}
.prologue-mosaic__card--coral .prologue-mosaic__step {
  color: var(--accent-warm);
}
.prologue-mosaic__step {
  position: absolute;
  top: 1.05rem;
  left: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.prologue-mosaic__card h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--text);
}
.prologue-mosaic__tags {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.45;
}
.prologue-mosaic__hub {
  position: absolute;
  left: 50%;
  top: 34%;
  z-index: 3;
  width: clamp(132px, 18vw, 168px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid rgba(0, 194, 224, 0.45);
  box-shadow:
    0 0 0 8px rgba(5, 10, 18, 0.72),
    0 0 36px rgba(0, 194, 224, 0.14);
  transform: translate(-50%, -50%);
}
.prologue-mosaic__hub-kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.prologue-mosaic__hub strong {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.prologue-mosaic__hub-sub {
  margin-top: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .prologue-mosaic__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
    gap: 0.65rem;
  }
  .prologue-mosaic__card--teal,
  .prologue-mosaic__card--blue,
  .prologue-mosaic__card--cyan,
  .prologue-mosaic__card--navy,
  .prologue-mosaic__card--coral {
    grid-column: 1;
    grid-row: auto;
    min-height: 140px;
    border-radius: var(--radius);
    padding: 1.25rem 1.3rem !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .prologue-mosaic__card--blue .prologue-mosaic__step,
  .prologue-mosaic__card--cyan .prologue-mosaic__step {
    left: 1.25rem;
    right: auto;
  }
  .prologue-mosaic__hub {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 140px;
    margin: 0 auto 0.85rem;
    order: -1;
  }
  .prologue-mosaic {
    display: flex;
    flex-direction: column;
  }
  .prologue-mosaic__rings {
    display: none;
  }
  .prologue-mosaic__hub {
    z-index: 1;
  }
}

/* Problem */
.problem { padding: 6rem 0; }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.problem-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.problem-card--accent {
  background: var(--bg-elevated);
  color: #fff;
  border-color: var(--accent);
}
.problem-card--accent p { color: rgba(255,255,255,0.72); }
.problem-card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.75rem; }
.problem-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* Stack ? isometric floating plates (vMech base ? Agentic Twin top) */
.stack { padding: 6rem 0 7.5rem; background: var(--bg-soft); overflow: visible; }
.stack-iso {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  overflow: visible;
}
.stack-iso__flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.5rem 0;
}
.stack-iso__flow-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.stack-iso__flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stack-iso__flow-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
}
.stack-iso__flow-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}
.stack-iso__flow-item--base .stack-iso__flow-num {
  border-color: rgba(8, 145, 178, 0.55);
  color: #67e8f9;
}
.stack-iso__flow-item--top .stack-iso__flow-num {
  border-color: rgba(244, 114, 182, 0.55);
  color: #f9a8d4;
}
.stack-iso__flow-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.stack-iso__flow-text strong {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.stack-iso__flow-text em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.stack-iso__flow-arrow {
  height: 1.1rem;
  margin-left: 0.78rem;
  border-left: 1px dashed rgba(160, 180, 210, 0.35);
  position: relative;
}
.stack-iso__flow-arrow::after {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-left: 1.5px solid rgba(180, 200, 230, 0.55);
  border-top: 1.5px solid rgba(180, 200, 230, 0.55);
  transform: translateY(-50%) rotate(45deg);
}
.stack-iso__flow-caption {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}
.stack-iso__stage {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  /* Room for the hover card to clear fully to the right */
  padding-right: clamp(2rem, 8vw, 6rem);
}
.stack-iso__grid {
  position: absolute;
  inset: 2% 4% 4% 4%;
  border-radius: 24px;
  background-image:
    linear-gradient(rgba(130, 170, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 170, 230, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 72% 68% at 52% 45%, #000 18%, transparent 75%);
  pointer-events: none;
}
.stack-iso__scene {
  position: relative;
  width: min(680px, 100%);
  height: 600px;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  overflow: visible;
  /* Bias stack left so slid card clears the pile */
  margin-left: 0;
  margin-right: auto;
  flex-shrink: 0;
}
.stack-iso__world {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(15deg);
}
.iso-plate {
  --plate-w: 460px;
  --plate-d: 260px;
  --plate-h: 18px;
  --lift: 84px;
  --slide-x: calc(var(--plate-w) + 70px);
  position: absolute;
  left: 38%;
  top: 50%;
  width: var(--plate-w);
  height: var(--plate-d);
  margin-left: calc(var(--plate-w) / -2);
  margin-top: calc(var(--plate-d) / -2);
  transform-style: preserve-3d;
  transform: translate3d(0, 0, calc(var(--z) * var(--lift)));
  text-decoration: none;
  color: #fff;
  z-index: calc(1 + var(--z));
}
/* Hit target stays put ? only the face slides, so hover doesn't flicker */
.iso-plate:hover {
  z-index: 20;
}
.iso-plate__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem 1.15rem 1.35rem;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.22);
  backface-visibility: hidden;
  transform-origin: center center;
  transform:
    rotateZ(0deg)
    rotateX(0deg)
    translate3d(0, 0, 0)
    scale(1);
  transition:
    transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.45s ease,
    filter 0.35s ease,
    backdrop-filter 0.45s ease;
  will-change: transform;
}
/* Counter parent rotateX(55) rotateZ(15) ? flat, fully clear to the right */
.iso-plate:hover .iso-plate__face {
  filter: brightness(1.14) saturate(1.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform:
    rotateZ(-15deg)
    rotateX(-55deg)
    translate3d(var(--slide-x), 0, 40px)
    scale(0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 22px 40px rgba(0, 0, 0, 0.32);
}
.iso-plate__meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  padding-bottom: 0.15rem;
}
.iso-plate__media {
  flex: 0 0 44%;
  max-width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-radius: 16px;
  overflow: hidden;
  padding: 0.45rem;
  background: rgba(5, 10, 18, 0.34);
  opacity: 0.72;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.28);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.iso-plate__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.iso-plate:hover .iso-plate__media {
  opacity: 1;
}
.iso-plate__role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.iso-plate__name {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.iso-plate__desc {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.iso-plate--1 .iso-plate__face {
  background: linear-gradient(
    145deg,
    rgba(14, 116, 144, 0.72) 0%,
    rgba(8, 145, 178, 0.55) 50%,
    rgba(6, 78, 110, 0.68) 100%
  );
}
.iso-plate--2 .iso-plate__face {
  background: linear-gradient(
    145deg,
    rgba(37, 99, 235, 0.7) 0%,
    rgba(59, 130, 246, 0.52) 50%,
    rgba(29, 78, 216, 0.66) 100%
  );
}
.iso-plate--3 .iso-plate__face {
  background: linear-gradient(
    145deg,
    rgba(124, 58, 237, 0.68) 0%,
    rgba(139, 92, 246, 0.5) 50%,
    rgba(91, 33, 182, 0.64) 100%
  );
}
.iso-plate--4 .iso-plate__face {
  background: linear-gradient(
    145deg,
    rgba(217, 70, 239, 0.62) 0%,
    rgba(244, 114, 182, 0.48) 45%,
    rgba(236, 72, 153, 0.58) 100%
  );
}

/* Legacy stack-card (Agentic Twin page etc.) */
.stack__loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}
.stack-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.stack-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.stack-card--highlight {
  background: linear-gradient(160deg, rgba(124, 117, 255, 0.22), var(--bg-card));
  color: #fff;
  border-color: rgba(124, 117, 255, 0.3);
}
.stack-card--highlight p { color: rgba(255,255,255,0.72); }
.stack-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.stack-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
a.stack-card--link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.stack-card__cta { display: inline-block; margin-top: 0.85rem; font-size: 0.8rem; font-weight: 500; color: var(--accent); }
.stack-card--highlight .stack-card__cta { color: rgba(255,255,255,0.9); }

/* Agentic Twin: merged Core Loop */
.twin-core {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 55% 50% at 20% 30%, rgba(0, 194, 224, 0.08), transparent 65%),
    var(--bg-soft);
}
.twin-core__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.twin-core__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.twin-core__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
}
.twin-core__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.twin-core__copy .section-title {
  margin-bottom: 0.65rem;
}
.twin-core__copy .section-desc {
  margin: 0;
  max-width: 36ch;
}
@media (max-width: 900px) {
  .twin-core__intro { grid-template-columns: 1fr; }
  .twin-core__media { max-height: 240px; }
}

/* Agentic Twin: hero + core merged overview */
.twin-overview {
  background:
    radial-gradient(ellipse 55% 50% at 50% 28%, rgba(0, 194, 224, 0.1), transparent 62%),
    radial-gradient(ellipse 40% 35% at 50% 78%, rgba(255, 107, 53, 0.05), transparent 55%),
    var(--bg);
}
.twin-overview__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.8vw, 1.25rem);
  width: min(980px, 100%);
  margin-inline: auto;
  min-height: 0;
}
.twin-overview__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(0.85rem, 1.8vw, 1.35rem);
  align-items: center;
  min-height: 0;
}
.twin-overview__copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.twin-overview__lead {
  margin: 0 0 1.25rem;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 38ch;
}
.twin-overview__loop-copy {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.twin-overview__loop-copy .section-title {
  margin-bottom: 0.45rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.twin-overview__loop-copy .section-desc {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(0.88rem, 1.15vw, 0.98rem);
  line-height: 1.55;
}
.twin-overview__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  background: var(--bg-card);
  min-height: 0;
  aspect-ratio: 16 / 10;
}
.twin-overview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.twin-overview .stack__loop {
  margin: 0;
  flex: 0 0 auto;
}
@media (max-width: 900px) {
  .twin-overview__inner { width: min(var(--container-max), 100%); }
  .twin-overview__top { grid-template-columns: 1fr; }
  .twin-overview__media { max-height: 240px; aspect-ratio: 16 / 9; }
}

/* Tech */
.tech { padding: 6rem 0; }
.tech__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.tech-card {
  padding: 1.5rem;
  border-top: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 0 var(--radius) var(--radius);
}
.tech-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.65rem; line-height: 1.45; }
.tech-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.65; }

/* Tech showcase (Vertical Robotics) */
.tech--showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 194, 224, 0.14), transparent 34%),
    radial-gradient(circle at 88% 24%, rgba(0, 194, 224, 0.1), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(0, 90, 130, 0.18), transparent 48%),
    var(--bg);
}
.tech--showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(0, 194, 224, 0.35) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.5px);
  background-size: 120px 120px, 180px 180px;
  background-position: 0 0, 60px 40px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}
.tech-showcase {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vh, 1.35rem);
}
.tech-showcase__head {
  margin-bottom: 0;
  max-width: 52rem;
  margin-inline: auto;
}
.tech-showcase__head .section-title {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
}
.tech-showcase__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}
.tech-showcase-card {
  display: flex;
  flex-direction: column;
  width: 286px;
  height: 446px;
  flex: 0 0 286px;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(7, 12, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.tech-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 224, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}
.tech-showcase-card__media {
  flex: 1 1 52%;
  min-height: 0;
  overflow: hidden;
  background: #0a101a;
}
.tech-showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tech-showcase-card__body {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 0.95rem 1.15rem;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.45) 0%, rgba(5, 10, 18, 0.96) 100%);
}
.tech-showcase-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}
.tech-showcase-card__body p {
  margin: 0;
  font-size: clamp(0.68rem, 0.95vw, 0.76rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.68);
}
.tech-showcase-card--art {
  display: block;
  width: 286px;
  height: 446px;
  flex: 0 0 286px;
  aspect-ratio: 286 / 446;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.tech-showcase-card--art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tech-showcase-card--art:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}
.tech-showcase-card--art:hover img {
  border-color: rgba(0, 194, 224, 0.28);
}
@media (max-width: 1520px) {
  .tech-showcase-card,
  .tech-showcase-card--art {
    width: clamp(200px, 18.5vw, 286px);
    height: auto;
    flex: 0 0 clamp(200px, 18.5vw, 286px);
    aspect-ratio: 286 / 446;
  }
}
@media (max-width: 1100px) {
  .tech-showcase__grid {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
  }
}
@media (max-width: 720px) {
  .tech-showcase__grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .tech-showcase-card,
  .tech-showcase-card--art {
    width: min(54vw, 286px);
    flex: 0 0 min(54vw, 286px);
    height: auto;
    aspect-ratio: 286 / 446;
    scroll-snap-align: start;
  }
}

/* Robots lineup */
.robots {
  padding: 6rem 0;
  background: var(--bg-soft);
}
.robots-industry { margin-bottom: 3.5rem; }
.robots-industry:last-child { margin-bottom: 0; }
.robots-industry__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
a.robot-card--link {
  display: flex;
  color: inherit;
  text-decoration: none;
}
a.robot-card--link:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.robots__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.robots__grid--pair {
  align-items: stretch;
}
.robots__grid--pair .robot-card {
  height: 100%;
}
.robots__grid--pair .robot-card__body {
  display: flex;
  flex-direction: column;
}
.robots__grid--pair .robot-card__actions {
  margin-top: auto;
  padding-top: 1rem;
}
.robots__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.robots__grid--3 .robot-card {
  min-width: 0;
}
.robots__grid--3 .robot-card__body {
  display: flex;
  flex-direction: column;
}
.robots__grid--3 .robot-card__actions {
  margin-top: auto;
  padding-top: 0.85rem;
}
.robot-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.robot-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.robot-card--featured { grid-column: span 2; flex-direction: row; }
.robot-card--wide { grid-column: span 2; flex-direction: row; }
.robot-card__visual {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.robot-card--featured .robot-card__visual,
.robot-card--wide .robot-card__visual { width: 42%; aspect-ratio: auto; min-height: 280px; }
.robot-card__visual--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.robot-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.robot-card__body { padding: 1.75rem 2rem; flex: 1; }
.robot-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.robot-card h3 { font-size: 1.375rem; font-weight: 600; margin-bottom: 0.25rem; }
.robot-card__subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.robot-card__body > p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
.robot-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.robot-card__features li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 0.85rem;
  position: relative;
  line-height: 1.55;
}
.robot-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.robot-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.25rem;
}
.robot-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.robot-card__link:hover { text-decoration: underline; }

/* Platforms */
.platforms { padding: 6rem 0; background: var(--bg); }
.platforms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.platforms__grid--4 { grid-template-columns: repeat(4, 1fr); }
.platforms__grid--4 .platform-card { display: flex; flex-direction: column; }
.platforms__grid--4 .platform-card__cta { margin-top: auto; }
.platform-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: box-shadow 0.25s;
}
.platform-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.07); }
.platform-card--featured { grid-column: span 1; padding: 0; overflow: hidden; }
.platform-card__visual {
  aspect-ratio: 16/9;
  background: var(--bg-soft);
  overflow: hidden;
}
.platform-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.platform-card__visual--restricted {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(124, 117, 255, 0.16) 0%, rgba(124, 117, 255, 0.07) 45%, rgba(124, 117, 255, 0.03) 100%);
}
.platform-visual-placeholder {
  text-align: center;
  padding: 1.5rem;
  max-width: 18rem;
}
.platform-visual-placeholder__mark {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.platform-visual-placeholder__title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}
.platform-visual-placeholder__meta {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.platform-visual-placeholder__badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}
.business-card__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 140px;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(124, 117, 255, 0.16) 0%, rgba(124, 117, 255, 0.07) 45%, rgba(124, 117, 255, 0.03) 100%);
}
.business-card__thumb-placeholder .platform-visual-placeholder {
  padding: 0.5rem;
}
.platform-card--featured .platform-card__tag,
.platform-card--featured h3,
.platform-card--featured p { padding-inline: 1.75rem; }
.platform-card--featured h3 { padding-top: 1.25rem; }
.platform-card--featured p { padding-bottom: 1.75rem; }
.platform-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.platform-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.platform-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.platform-card p strong { color: var(--text); }

/* Platform tabs showcase (Vertical Robotics) */
.platforms--tabs {
  background: linear-gradient(180deg, rgba(12, 21, 37, 0.6) 0%, var(--bg-soft) 100%);
}
.platforms-tabs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.platforms-tabs__head {
  margin-bottom: 0;
  max-width: 52rem;
}
.platforms-tabs__head .section-title {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}
.platform-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: min(100%, 64rem);
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.platform-tabs__btn {
  flex: 1 1 auto;
  min-width: 8.5rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a2332;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.platform-tabs__btn:hover:not(.is-active) {
  background: rgba(26, 35, 50, 0.06);
}
.platform-tabs__btn.is-active {
  background: #1a2332;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.platform-showcase {
  position: relative;
  width: min(100%, 72rem);
  flex: 0 1 auto;
  height: clamp(28rem, 56vh, 38rem);
  min-height: 0;
}
.platform-showcase__panel {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #0a1018;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.platform-showcase__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.platform-showcase__panel[hidden] {
  display: block;
}
.platform-showcase__layout {
  position: relative;
  height: 100%;
  width: 100%;
  isolation: isolate;
}
.platform-showcase__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a101a;
}
.platform-showcase__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.42) 0%, rgba(5, 10, 18, 0.08) 38%, rgba(5, 10, 18, 0.08) 62%, rgba(5, 10, 18, 0.42) 100%),
    radial-gradient(circle at 50% 50%, transparent 35%, rgba(5, 10, 18, 0.22) 100%);
}
.platform-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.platform-showcase__cta {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: auto;
  background: rgba(5, 10, 18, 0.72);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.platform-showcase__cta:hover {
  background: rgba(5, 10, 18, 0.9);
  border-color: #fff;
  color: #fff;
}
.platform-showcase__stack {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: min(100%, 17.5rem);
  max-width: 34%;
  padding: 0.9rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  outline: none;
  transition:
    width 0.32s var(--ease),
    max-width 0.32s var(--ease),
    padding 0.32s var(--ease),
    box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease),
    background 0.32s var(--ease),
    opacity 0.28s var(--ease);
}
/* Stable hit padding so edge hover doesn't flicker while the box grows */
.platform-showcase__stack::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
}
.platform-showcase__stack--tl { top: 1rem; left: 1rem; transform-origin: top left; }
.platform-showcase__stack--tr { top: 1rem; right: 1rem; transform-origin: top right; }
.platform-showcase__stack--bl { bottom: 1rem; left: 1rem; transform-origin: bottom left; }
.platform-showcase__stack--br { bottom: 1rem; right: 1rem; transform-origin: bottom right; }
.platform-showcase__stack-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.platform-showcase__stack-name {
  font-size: clamp(0.98rem, 1.45vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.platform-showcase__stack-full {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  transition: max-height 0.28s var(--ease), opacity 0.28s var(--ease);
}
.platform-showcase__stack-desc {
  margin: 0;
  font-size: clamp(0.84rem, 1.15vw, 0.94rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.22s var(--ease), max-height 0.28s var(--ease);
}
.platform-showcase__stack-detail {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  transition: max-height 0.32s var(--ease), opacity 0.28s var(--ease), margin 0.28s var(--ease);
}
/* Expand only via .is-open (JS) / keyboard focus — avoids :hover edge flicker */
.platform-showcase__layout:has(.platform-showcase__stack.is-open) .platform-showcase__stack:not(.is-open),
.platform-showcase__layout:has(.platform-showcase__stack:focus-visible) .platform-showcase__stack:not(:focus-visible):not(.is-open) {
  opacity: 0.48;
}
.platform-showcase__stack.is-open,
.platform-showcase__stack:focus-visible {
  z-index: 6;
  width: min(100%, 26.5rem);
  max-width: 48%;
  padding: 1.2rem 1.3rem;
  gap: 0.55rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}
.platform-showcase__stack.is-open .platform-showcase__stack-full,
.platform-showcase__stack:focus-visible .platform-showcase__stack-full {
  max-height: 2.4rem;
  opacity: 1;
}
.platform-showcase__stack.is-open .platform-showcase__stack-desc,
.platform-showcase__stack:focus-visible .platform-showcase__stack-desc {
  max-height: 0;
  opacity: 0;
  margin: 0;
  -webkit-line-clamp: 1;
}
.platform-showcase__stack.is-open .platform-showcase__stack-detail,
.platform-showcase__stack:focus-visible .platform-showcase__stack-detail {
  max-height: 12rem;
  opacity: 1;
  margin-top: 0.1rem;
}
.platform-showcase__stack:focus-visible {
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent),
    0 18px 42px rgba(0, 0, 0, 0.42);
}
.platform-showcase__stack--agentic {
  border-color: rgba(166, 142, 200, 0.42);
  background: linear-gradient(135deg, rgba(168, 142, 200, 0.28) 0%, rgba(8, 14, 24, 0.72) 100%);
}
.platform-showcase__stack--agentic .platform-showcase__stack-name { color: #d4c4e8; }
.platform-showcase__stack--vros {
  border-color: rgba(108, 188, 146, 0.42);
  background: linear-gradient(225deg, rgba(108, 188, 146, 0.28) 0%, rgba(8, 14, 24, 0.72) 100%);
}
.platform-showcase__stack--vros .platform-showcase__stack-name { color: #c2e4d0; }
.platform-showcase__stack--vpc {
  border-color: rgba(94, 184, 204, 0.42);
  background: linear-gradient(45deg, rgba(94, 184, 204, 0.28) 0%, rgba(8, 14, 24, 0.72) 100%);
}
.platform-showcase__stack--vpc .platform-showcase__stack-name { color: #c2e4ee; }
.platform-showcase__stack--vmech {
  border-color: rgba(122, 146, 200, 0.42);
  background: linear-gradient(315deg, rgba(122, 146, 200, 0.28) 0%, rgba(8, 14, 24, 0.72) 100%);
}
.platform-showcase__stack--vmech .platform-showcase__stack-name { color: #c8d4e8; }
@media (max-width: 900px) {
  .platform-showcase {
    height: auto;
    min-height: 0;
  }
  .platform-showcase__panel {
    position: relative;
    inset: auto;
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .platform-showcase__panel:not(.is-active) {
    display: none;
  }
  .platform-showcase__panel[hidden] {
    display: none !important;
  }
  .platform-showcase__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "media media"
      "tl tr"
      "bl br";
    gap: 0.65rem;
    height: auto;
  }
  .platform-showcase__media {
    grid-area: media;
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
    min-height: 12rem;
    border-radius: 1rem;
    overflow: hidden;
  }
  .platform-showcase__stack {
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    max-width: none;
    padding: 0.9rem 1rem;
    transform-origin: center center;
  }
  .platform-showcase__stack:is(.is-open, :focus-visible) {
    width: 100%;
    max-width: none;
  }
  .platform-showcase__stack--tl { grid-area: tl; }
  .platform-showcase__stack--tr { grid-area: tr; }
  .platform-showcase__stack--bl { grid-area: bl; }
  .platform-showcase__stack--br { grid-area: br; }
  .platform-showcase__layout:has(.platform-showcase__stack.is-open) .platform-showcase__stack:not(.is-open) {
    opacity: 0.55;
  }
}
@media (max-width: 720px) {
  .platforms-tabs {
    gap: 0.85rem;
    align-items: stretch;
  }
  .platforms-tabs__head {
    max-width: none;
  }
  .platforms-tabs__head .section-title {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }
  .platform-tabs {
    border-radius: 1rem;
    padding: 0.35rem;
    width: 100%;
  }
  .platform-tabs__btn {
    min-width: calc(50% - 0.25rem);
    flex: 1 1 calc(50% - 0.25rem);
    padding: 0.75rem 0.75rem;
    font-size: 0.88rem;
    line-height: 1.35;
  }
  .platform-showcase {
    width: 100%;
  }
  .platform-showcase__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "tl"
      "tr"
      "bl"
      "br";
    gap: 0.55rem;
  }
  .platform-showcase__media {
    aspect-ratio: 16 / 11;
    min-height: 11rem;
  }
  .platform-showcase__media::after {
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.2) 0%, rgba(5, 10, 18, 0.05) 50%, rgba(5, 10, 18, 0.25) 100%);
  }
  .platform-showcase__stack {
    max-width: none;
    width: 100%;
    padding: 0.85rem 0.95rem;
    gap: 0.35rem;
  }
  .platform-showcase__stack-name {
    font-size: 0.95rem;
  }
  .platform-showcase__stack-desc {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

.platform-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.platform-card--link:hover {
  border-color: rgba(108, 92, 231, 0.35);
  box-shadow: 0 16px 36px rgba(108, 92, 231, 0.12);
  transform: translateY(-3px);
}
.platform-card__cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.industry-card__list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.industry-card__list li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  padding-left: 0.85rem;
  position: relative;
}
.industry-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Industries gateway ? three fields */
.industry-gate {
  padding: 5rem 0 6.5rem;
  background: var(--bg-soft);
}
.industry-gate__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.industry-gate__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
a.industry-gate__card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}
a.industry-gate__card:hover {
  border-color: #cdd2da;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}
.industry-gate__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.industry-gate__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform 0.45s var(--ease);
}
a.industry-gate__card:hover .industry-gate__thumb img {
  transform: none;
}
.industry-gate__body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.industry-gate__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.industry-gate__body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.industry-gate__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.industry-gate__cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* References */
.references { padding: 6rem 0; background: var(--bg-soft); }
.references__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.ref-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ref-card--global {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(124, 117, 255, 0.14), var(--bg-card));
  border-color: rgba(124, 117, 255, 0.3);
}
.ref-card__partner {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}
.ref-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.65rem; }
.ref-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }
.ref-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.ref-card--link:hover {
  border-color: rgba(108, 92, 231, 0.35);
  box-shadow: 0 16px 36px rgba(108, 92, 231, 0.12);
  transform: translateY(-3px);
}
.ref-card__cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.story-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Organization */
.organization { padding: 6rem 0; }
.org__highlight {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.org__ceo {
  flex: 1;
  min-width: 280px;
  padding: 2rem;
  background: var(--bg-elevated);
  color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.org__label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.org__ceo h3 { font-size: 1.5rem; font-weight: 600; margin: 0.5rem 0 0.75rem; }
.org__ceo p { font-size: 0.9375rem; color: rgba(255,255,255,0.72); line-height: 1.7; }
.org__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 2rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.org__stat strong { font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; }
.org__stat span { font-size: 0.9375rem; color: var(--text-muted); margin-top: 0.5rem; }
.org__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.org-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.org-card strong { font-size: 2rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.org-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.org-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.65; }

/* Growth */
.growth { padding: 6rem 0; background: var(--bg-soft); }
.growth__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.growth-stat {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.growth-stat strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.growth-stat span { font-size: 0.875rem; color: var(--text-muted); }
.roadmap {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.roadmap h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1.5rem; }
.roadmap__bars { display: flex; flex-direction: column; gap: 1rem; }
.roadmap__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 1rem;
}
.roadmap__label { font-size: 0.875rem; font-weight: 500; }
.roadmap__bar {
  height: 36px;
  background: var(--bg-soft);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.roadmap__bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--accent), #6366f1);
  border-radius: 6px;
}
.roadmap__bar span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  mix-blend-mode: difference;
}
.roadmap__total {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-muted);
}
.roadmap__total strong { color: var(--text); }

.site-footer__tagline {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1024px) {
  .products__grid { grid-template-columns: 1fr; }
  .robots__grid { grid-template-columns: 1fr; }
  .robots__grid--3 { grid-template-columns: 1fr; }
  .robot-card--featured,
  .robot-card--wide { grid-column: span 1; flex-direction: column; }
  .robot-card--featured .robot-card__visual,
  .robot-card--wide .robot-card__visual { width: 100%; min-height: auto; aspect-ratio: 16/10; }
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .stack__loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stack-iso {
    grid-template-columns: minmax(160px, 190px) minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
  }
  .stack-iso__stage { min-height: 540px; }
  .stack-iso__scene {
    width: min(560px, 100%);
    height: 520px;
  }
  .iso-plate {
    --plate-w: 380px;
    --plate-d: 230px;
    --lift: 76px;
    --slide-x: calc(var(--plate-w) + 64px);
  }
  .iso-plate__media {
    flex-basis: 40%;
    max-width: 160px;
    border-radius: 12px;
  }
  .tech__grid { grid-template-columns: repeat(3, 1fr); }
  .platforms__grid { grid-template-columns: repeat(2, 1fr); }
  .org__grid { grid-template-columns: repeat(2, 1fr); }
  .growth__stats { grid-template-columns: repeat(2, 1fr); }
  .industry-card,
  .story-card { flex: 0 0 calc(50% - 0.5rem); }
  .industry-gate__grid,
  .industry-gate__grid--4 { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-card);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0 0 1rem 1rem;
    min-width: auto;
    display: none;
  }
  .site-nav__item.is-expanded .dropdown { display: block; }
  .menu-btn { display: flex; }
  .site-header__actions .btn--dark { display: none; }
  .hero__controls { bottom: 1.5rem; right: 1rem; }
  .problem__grid { grid-template-columns: 1fr; }
  .stack__loop { grid-template-columns: 1fr; }
  .stack-iso {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .stack-iso__flow {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0 0.25rem;
  }
  .stack-iso__flow-list {
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    width: 100%;
  }
  .stack-iso__flow-arrow {
    height: auto;
    width: 1rem;
    margin-left: 0;
    border-left: none;
    border-bottom: 1px dashed rgba(160, 180, 210, 0.35);
  }
  .stack-iso__flow-arrow::after {
    left: 50%;
    top: auto;
    bottom: -3.5px;
    transform: translateX(-50%) rotate(-45deg);
  }
  .stack-iso__flow-caption {
    width: 100%;
    border-top: none;
    padding-top: 0;
  }
  .stack-iso__stage {
    order: 1;
    min-height: 440px;
  }
  .stack-iso__scene {
    height: 420px;
    width: min(420px, 98%);
  }
  .iso-plate {
    --plate-w: 300px;
    --plate-d: 190px;
    --plate-h: 14px;
    --lift: 64px;
    --slide-x: calc(var(--plate-w) + 56px);
  }
  .iso-plate__face {
    padding: 0.85rem 0.9rem 0.9rem 1rem;
    border-radius: 18px;
    gap: 0.55rem;
  }
  .iso-plate__media {
    flex-basis: 38%;
    max-width: 118px;
    border-radius: 10px;
  }
  .iso-plate__name { font-size: 1.15rem; }
  .iso-plate__desc { font-size: 0.74rem; }
  .tech__grid { grid-template-columns: 1fr; }
  .platforms__grid { grid-template-columns: 1fr; }
  .references__grid { grid-template-columns: 1fr; }
  .ref-card--global { grid-column: span 1; }
  .org__grid { grid-template-columns: 1fr; }
  .growth__stats { grid-template-columns: 1fr; }
  .roadmap__item { grid-template-columns: 1fr; gap: 0.35rem; }
  .industry-card,
  .story-card { flex: 0 0 85%; }
  .industry-gate__grid,
  .industry-gate__grid--4 { grid-template-columns: 1fr; }
  .newsletter__inner { flex-direction: column; align-items: stretch; }
  .newsletter__form { max-width: none; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .product-banner { flex-direction: column; align-items: flex-start; }
}

/* Home media ? INEX inter-twin videos */
.home-media {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.home-media__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: var(--container-max);
  margin: 0 auto;
}
.home-video {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.home-video__caption {
  margin: 0;
  padding: 0.85rem 1rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.home-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #0f172a;
}
.home-video__link {
  display: block;
  padding: 0.75rem 1rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
}
.home-video__link:hover { color: var(--text); }
@media (max-width: 900px) {
  .home-media__grid { grid-template-columns: 1fr; }
}


/* ?? Core brand overrides ?? */
.theme-core .hero__badge {
  color: var(--accent);
  border-color: rgba(0, 194, 224, 0.35);
  background: rgba(0, 194, 224, 0.08);
}
.theme-core .hero__title em {
  color: var(--accent);
  font-style: normal;
}
.theme-core .section-label {
  color: var(--accent);
  letter-spacing: 0.04em;
}
.theme-core .section-label--cased {
  letter-spacing: 0.04em;
  text-transform: none;
}
.theme-core .site-nav__link--active,
.theme-core .site-nav__link[aria-current="page"] {
  color: var(--accent);
}
.theme-core .stack-iso__flow-kicker {
  color: var(--accent);
}
.theme-core .page-hero__eyebrow,
.theme-core .detail-label,
.theme-core .sub-hero__eyebrow {
  color: var(--accent);
}
.theme-core .btn--dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.theme-core .btn--dark:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}
.theme-core .iso-plate--1 .iso-plate__face {
  background: linear-gradient(145deg, rgba(0, 194, 224, 0.55) 0%, rgba(0, 140, 170, 0.45) 100%);
}
.theme-core .iso-plate--2 .iso-plate__face {
  background: linear-gradient(145deg, rgba(0, 160, 200, 0.58) 0%, rgba(0, 120, 160, 0.48) 100%);
}
.theme-core .iso-plate--3 .iso-plate__face {
  background: linear-gradient(145deg, rgba(0, 130, 180, 0.55) 0%, rgba(0, 90, 130, 0.48) 100%);
}
.theme-core .iso-plate--4 .iso-plate__face {
  background: linear-gradient(145deg, rgba(255, 107, 53, 0.52) 0%, rgba(0, 194, 224, 0.42) 100%);
}
.theme-core .industry-gate__card:hover {
  border-color: rgba(0, 194, 224, 0.45);
}
.theme-core .tech-card:hover,
.theme-core .platform-card:hover {
  border-color: rgba(0, 194, 224, 0.35);
  box-shadow: 0 12px 40px rgba(0, 194, 224, 0.08);
}

/* Vertical Robotics landing ? stack first */
.vr-slogan {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: #061018;
  /* Fill the full viewport including the area behind the fixed header */
  min-height: 100vh;
  min-height: 100dvh;
}
.vr-slogan__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.vr-slogan__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  transform: scale(1.04);
}
.vr-slogan__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 12, 22, 0.46) 0%, rgba(6, 18, 30, 0.28) 40%, rgba(8, 24, 38, 0.1) 72%, rgba(10, 28, 42, 0.04) 100%),
    linear-gradient(180deg, rgba(4, 12, 22, 0.1) 0%, rgba(4, 12, 22, 0.04) 18%, rgba(4, 12, 22, 0.08) 42%, rgba(4, 12, 22, 0.22) 100%),
    linear-gradient(145deg, rgba(0, 90, 120, 0.1), transparent 55%);
  pointer-events: none;
}
.vr-slogan__content {
  position: relative;
  z-index: 2;
  width: min(var(--container-max), calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
  padding: calc(var(--header-h) + 1rem) var(--page-pad) 5rem;
  text-align: center;
  transform: translateX(2.5%);
}
.vr-slogan__title {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #f3f7fb;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.vr-slogan__line {
  display: block;
  line-height: 1.35;
}
.vr-slogan__line:first-child {
  font-size: clamp(1.721rem, 3.57vw, 2.614rem);
  font-weight: 400;
  margin-bottom: 0.55rem;
  opacity: 0.94;
}
.vr-slogan__line--em {
  font-size: clamp(2.168rem, 4.59vw, 3.506rem);
  font-weight: 500;
  line-height: 1.28;
}
.vr-slogan__line--em strong {
  font-weight: 700;
}
.vr-slogan--center .vr-slogan__content {
  transform: none;
}
.vr-slogan--center .vr-slogan__bg-img {
  object-fit: contain;
  object-position: center center;
  background: #0a0f1a;
}
.vr-slogan__quote {
  position: relative;
  z-index: 2;
  margin-top: 1.6rem;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(243, 247, 251, 0.92);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  text-align: center;
  letter-spacing: -0.01em;
}
.vr-slogan__sub {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  font-size: clamp(0.92rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(243, 247, 251, 0.68);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
}
.vr-slogan__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.4rem, 3.5vh, 2.4rem);
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(243, 247, 251, 0.78);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.vr-slogan__scroll svg {
  display: block;
  animation: vrSloganScroll 1.8s ease-in-out infinite;
}
.vr-slogan__scroll:hover {
  color: #fff;
}
@keyframes vrSloganScroll {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(4px); opacity: 1; }
}
@media (max-width: 900px) {
  .vr-slogan__content {
    transform: none;
    text-align: left;
  }
  .vr-slogan__line:first-child {
    font-size: clamp(1.53rem, 6.375vw, 1.976rem);
  }
  .vr-slogan__line--em {
    font-size: clamp(1.849rem, 7.905vw, 2.55rem);
  }
}

.stack--landing {
  min-height: calc(100vh - var(--header-h));
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 45% at 18% 22%, rgba(107, 140, 255, 0.1), transparent 58%),
    radial-gradient(ellipse 50% 40% at 82% 30%, rgba(0, 194, 224, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 95%, rgba(61, 214, 140, 0.06), transparent 50%),
    linear-gradient(180deg, #08111f 0%, var(--bg-soft) 42%, #0a1422 100%);
}
.stack--landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.stack-landing__head {
  margin-bottom: 2.25rem;
  max-width: none;
  width: 100%;
}
.stack-landing__head .section-label {
  margin-bottom: 0.65rem;
}
.stack-landing__title {
  display: block;
  margin: 0 0 0.95rem;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
  color: #ffffff;
  text-shadow: none;
  white-space: nowrap;
}
.stack-landing__head .section-desc,
.stack-landing__desc {
  margin-inline: auto;
  margin-top: 0;
  max-width: none;
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  white-space: normal;
}
@media (max-width: 1100px) {
  .stack-landing__desc {
    max-width: 52rem;
  }
}
@media (max-width: 520px) {
  .stack-landing__title {
    white-space: normal;
  }
}
.stack-landing__hint {
  margin: 1.15rem auto 0;
  max-width: 28rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.stack-landing__hint strong {
  color: var(--accent);
  font-weight: 600;
}

/* Vertical Robotics landing ? 2D stack + in-place BigPage */
.stack-2d {
  --stack-layer-h: 5.75rem;
  --stack-layer-h-idle: 3.1rem;
  --stack-big-h: min(560px, 64vh);
  --stack-radius: 4px;
  --stack-gap: 0.28rem;
  /* Default; each layer overrides for one overall trapezoid */
  --stack-compact-w: min(94%, 1200px);
  --stack-col-num: 4.75rem;
  --stack-col-thumb: 4.75rem;
  --stack-col-action: 8.85rem;
  --stack-tint: transparent;
  --stack-accent: var(--accent);
  --stack-depth: 8px;
  max-width: var(--container-max);
  margin-inline: auto;
  perspective: 1600px;
}

.stack-2d__layers {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--stack-gap);
  padding: 0.65rem 0 0.25rem;
  min-height: calc(var(--stack-layer-h) * 4 + var(--stack-gap) * 3 + var(--stack-depth) * 3);
  transform-origin: center 82%;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), gap 0.35s ease;
}
.stack-2d:not(.is-expanded) .stack-2d__layers {
  /* Soft pitch - near-rectangle slabs that still read as one mild trapezoid */
  transform: rotateX(4deg) translateY(-0.1rem);
  overflow: visible;
  padding: 1.25rem 1.5rem 1.75rem;
  box-sizing: content-box;
}
.stack-2d.is-expanded .stack-2d__layers {
  gap: 0.2rem;
  transform: none;
  min-height: 0;
}

.stack-layer {
  position: relative;
  z-index: 1;
  width: var(--stack-compact-w);
  --stack-trap: 1.5%;
  --stack-edge: 1.5px;
  --stack-round: 8px;
  --stack-glow-soft: color-mix(in srgb, var(--stack-accent) 21%, transparent);
  --stack-glow-mid: color-mix(in srgb, var(--stack-accent) 15%, transparent);
  --stack-glow-strong: color-mix(in srgb, var(--stack-accent) 10%, transparent);
  --stack-shadow:
    drop-shadow(0 0 0.5px var(--stack-accent))
    drop-shadow(0 0 3px var(--stack-glow-soft))
    drop-shadow(0 0 7px var(--stack-glow-mid))
    drop-shadow(0 0 11px var(--stack-glow-strong))
    drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
  --stack-shadow-hover:
    drop-shadow(0 0 3px var(--stack-accent))
    drop-shadow(0 0 22px var(--stack-accent))
    drop-shadow(0 0 42px color-mix(in srgb, var(--stack-accent) 42%, transparent))
    drop-shadow(0 0 72px color-mix(in srgb, var(--stack-accent) 30%, transparent))
    drop-shadow(0 0 102px color-mix(in srgb, var(--stack-accent) 20%, transparent))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.45));
  border: 1px solid color-mix(in srgb, var(--stack-accent) 70%, rgba(255, 255, 255, 0.25));
  border-radius: 0;
  background:
    linear-gradient(105deg, color-mix(in srgb, var(--stack-tint) 10%, transparent), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    rgba(10, 16, 26, 0.94);
  overflow: hidden;
  transition:
    width 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    margin 0.35s ease,
    clip-path 0.35s ease,
    border-radius 0.35s ease,
    padding 0.35s ease;
}
/*
  IMPORTANT: clip-path + filter on the SAME element kills drop-shadow in Chromium.
  Keep filter on the layer, clip-path only on children so silhouette stays trapezoid.
*/
.stack-2d:not(.is-expanded) .stack-layer {
  overflow: visible;
  border: none !important;
  outline: none;
  padding: 0;
  background: transparent;
  clip-path: none;
  margin-bottom: calc(var(--stack-depth) * 0.18);
  box-shadow: none;
  filter: var(--stack-shadow);
  /* Soft corner fallback (chamfer) — upgraded to true round where supported */
  --stack-outer-clip: polygon(
    calc(var(--stack-trap) + var(--stack-round)) 0,
    calc(100% - var(--stack-trap) - var(--stack-round)) 0,
    calc(100% - var(--stack-trap) * 0.88) var(--stack-round),
    100% calc(100% - var(--stack-round)),
    calc(100% - var(--stack-round)) 100%,
    var(--stack-round) 100%,
    0 calc(100% - var(--stack-round)),
    calc(var(--stack-trap) * 0.88) var(--stack-round)
  );
  --stack-inner-clip: polygon(
    calc(var(--stack-trap) + 0.12% + var(--stack-round) * 0.85) var(--stack-edge),
    calc(100% - var(--stack-trap) - 0.12% - var(--stack-round) * 0.85) var(--stack-edge),
    calc(100% - var(--stack-edge) - var(--stack-trap) * 0.12) calc(var(--stack-edge) + var(--stack-round) * 0.85),
    calc(100% - var(--stack-edge)) calc(100% - var(--stack-edge) - var(--stack-round)),
    calc(100% - var(--stack-edge) - var(--stack-round)) calc(100% - var(--stack-edge)),
    calc(var(--stack-edge) + var(--stack-round)) calc(100% - var(--stack-edge)),
    var(--stack-edge) calc(100% - var(--stack-edge) - var(--stack-round)),
    calc(var(--stack-edge) + var(--stack-trap) * 0.12) calc(var(--stack-edge) + var(--stack-round) * 0.85)
  );
}
@supports (clip-path: polygon(round 4px, 0 0, 100% 0, 100% 100%, 0 100%)) {
  .stack-2d:not(.is-expanded) .stack-layer {
    --stack-outer-clip: polygon(
      round var(--stack-round),
      var(--stack-trap) 0,
      calc(100% - var(--stack-trap)) 0,
      100% 100%,
      0 100%
    );
    --stack-inner-clip: polygon(
      round calc(var(--stack-round) - 1px),
      calc(var(--stack-trap) + 0.12%) var(--stack-edge),
      calc(100% - var(--stack-trap) - 0.12%) var(--stack-edge),
      calc(100% - var(--stack-edge)) calc(100% - var(--stack-edge)),
      var(--stack-edge) calc(100% - var(--stack-edge))
    );
  }
}
.stack-2d:not(.is-expanded) .stack-layer::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--stack-accent);
  clip-path: var(--stack-outer-clip);
  filter: none;
}
.stack-2d:not(.is-expanded) .stack-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 6%,
      color-mix(in srgb, var(--stack-accent) 55%, transparent) 50%,
      transparent 94%
    )
    top / 100% 1px no-repeat,
    linear-gradient(105deg, color-mix(in srgb, var(--stack-tint) 12%, transparent), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 55%),
    rgba(8, 14, 24, 0.97);
  clip-path: var(--stack-inner-clip);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stack-2d:not(.is-expanded) .stack-layer__compact {
  clip-path: var(--stack-outer-clip);
}
.stack-2d:not(.is-expanded) .stack-layer__compact,
.stack-2d:not(.is-expanded) .stack-layer__info,
.stack-2d:not(.is-expanded) .stack-layer__action,
.stack-2d:not(.is-expanded) .stack-layer__num {
  position: relative;
  z-index: 2;
}
.stack-layer:hover {
  border-color: color-mix(in srgb, var(--stack-accent) 90%, rgba(255, 255, 255, 0.25));
  z-index: 6 !important;
}
.stack-2d:not(.is-expanded) .stack-layer:hover {
  transform: translateY(-3px);
  background: transparent;
  border: none !important;
  box-shadow: none;
  filter: var(--stack-shadow-hover);
}
.stack-2d:not(.is-expanded) .stack-layer:hover::after {
  background: color-mix(in srgb, var(--stack-accent) 82%, #fff 18%);
}

/* Build-up from bottom → top */
.stack--landing .stack-landing__head {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stack--landing.is-stack-ready .stack-landing__head {
  opacity: 1;
  transform: none;
}
.stack-2d:not(.is-built):not(.is-expanded) .stack-layer {
  opacity: 0;
  transform: translateY(2.75rem);
  filter: none !important;
  pointer-events: none;
}
.stack-2d.is-built:not(.is-expanded) .stack-layer {
  opacity: 1;
  animation: stackLayerBuild 0.7s cubic-bezier(0.22, 0.9, 0.3, 1) backwards;
  animation-delay: var(--stack-build-delay, 0s);
  pointer-events: auto;
  filter: var(--stack-shadow);
}

.stack-layer[data-layer="0"] { --stack-build-delay: 0.08s; }
.stack-layer[data-layer="1"] { --stack-build-delay: 0.22s; }
.stack-layer[data-layer="2"] { --stack-build-delay: 0.36s; }
.stack-layer[data-layer="3"] { --stack-build-delay: 0.5s; }
@keyframes stackLayerBuild {
  from {
    opacity: 0;
    transform: translateY(2.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stack--landing .stack-landing__head,
  .stack-2d:not(.is-built):not(.is-expanded) .stack-layer {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .stack-2d.is-built:not(.is-expanded) .stack-layer {
    animation: none;
  }
}

/*
  Accent: cyan (top) → deep blue (bottom)
*/
.stack-layer--agentic {
  --stack-compact-w: min(89%, 1080px);
  --stack-trap: 1.6%;
  --stack-tint: #9ef0ff;
  --stack-accent: #b8f4ff;
  z-index: 4;
}
.stack-layer--vros {
  --stack-compact-w: min(92%, 1120px);
  --stack-trap: 1.5%;
  --stack-tint: #6ed8f5;
  --stack-accent: #6ecff0;
  z-index: 3;
}
.stack-layer--vpc {
  --stack-compact-w: min(95%, 1160px);
  --stack-trap: 1.4%;
  --stack-tint: #3b9ef0;
  --stack-accent: #3b8fff;
  z-index: 2;
}
.stack-layer--vmech {
  --stack-compact-w: min(98%, 1200px);
  --stack-trap: 1.35%;
  --stack-tint: #2563eb;
  --stack-accent: #1d4ed8;
  z-index: 1;
}

.stack-layer--vpc .stack-layer__thumb img,
.stack-layer--vpc .stack-layer__media img {
  object-fit: cover;
  object-position: 62% center;
}
.stack-layer--agentic .stack-layer__thumb img,
.stack-layer--agentic .stack-layer__media img {
  object-fit: cover;
  object-position: 42% center;
}

/* Selected - expanded BigPage */
.stack-layer.is-active {
  z-index: 8;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  clip-path: none;
  filter: none;
  border-radius: calc(var(--stack-round) + 4px);
  border-color: color-mix(in srgb, var(--accent) 45%, rgba(255, 255, 255, 0.12));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent),
    0 14px 36px rgba(0, 0, 0, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    var(--bg-elevated);
  transform: none;
}
.stack-2d.is-expanded .stack-layer:not(.is-active) {
  opacity: 0.62;
  overflow: hidden;
  clip-path: var(--stack-idle-outer-clip);
  filter: var(--stack-shadow);
  box-shadow: none;
  border: none !important;
  border-radius: 0;
  background: transparent;
  --stack-idle-outer-clip: polygon(
    var(--stack-trap) 0,
    calc(100% - var(--stack-trap)) 0,
    100% 100%,
    0 100%
  );
  --stack-idle-inner-clip: polygon(
    calc(var(--stack-trap) + var(--stack-edge)) var(--stack-edge),
    calc(100% - var(--stack-trap) - var(--stack-edge)) var(--stack-edge),
    calc(100% - var(--stack-edge)) calc(100% - var(--stack-edge)),
    var(--stack-edge) calc(100% - var(--stack-edge))
  );
  margin-bottom: calc(var(--stack-depth) * 0.18);
}
.stack-layer.is-active::after {
  display: none;
}
.stack-2d.is-expanded .stack-layer.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  inset: auto 0 auto 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  clip-path: none;
  background: linear-gradient(
    90deg,
    transparent 4%,
    color-mix(in srgb, var(--accent) 80%, transparent),
    transparent 96%
  );
  box-shadow: none;
}

/* Unselected while another is open */
.stack-2d.is-expanded .stack-layer:not(.is-active)::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--stack-accent);
  clip-path: var(--stack-idle-outer-clip);
  filter: none;
}
.stack-2d.is-expanded .stack-layer:not(.is-active)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 6%,
      color-mix(in srgb, var(--stack-accent) 55%, transparent) 50%,
      transparent 94%
    )
    top / 100% 1px no-repeat,
    linear-gradient(105deg, color-mix(in srgb, var(--stack-tint) 12%, transparent), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 55%),
    rgba(8, 14, 24, 0.97);
  clip-path: var(--stack-idle-inner-clip);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stack-2d.is-expanded .stack-layer:not(.is-active):hover {
  opacity: 1;
  transform: none;
}
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__thumb {
  display: none;
}
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__num {
  font-size: 1.4rem;
}
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__name {
  display: none;
}
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__desc,
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__tags {
  display: none;
}
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
}
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__compact {
  min-height: calc(var(--stack-layer-h) * 0.78);
  padding: 0.72rem clamp(1.75rem, 4.5vw, 2.8rem);
  gap: 1.1rem;
  grid-template-columns: var(--stack-col-num) minmax(0, 1fr) var(--stack-col-action);
  clip-path: var(--stack-idle-outer-clip);
  transition: opacity 0.25s ease, background 0.25s ease;
}
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__compact,
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__info,
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__action,
.stack-2d.is-expanded .stack-layer:not(.is-active) .stack-layer__num {
  position: relative;
  z-index: 2;
}
.stack-2d.is-expanded .stack-2d__base {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

/* Compact row: num | title+tags | action  (thumb becomes soft full-bleed bg when collapsed) */
.stack-layer__compact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--stack-col-num) var(--stack-col-thumb) minmax(0, 1fr) var(--stack-col-action);
  align-items: center;
  column-gap: 1.1rem;
  width: 100%;
  min-height: var(--stack-layer-h);
  padding: 1.02rem clamp(2.11rem, 5.46vw, 3.51rem);
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    min-height 0.35s ease,
    padding 0.35s ease,
    background 0.25s ease;
}
.stack-layer__compact:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.stack-2d:not(.is-expanded) .stack-layer__compact {
  grid-template-columns: minmax(0, 1fr) var(--stack-col-action);
  grid-template-rows: auto auto;
  grid-template-areas:
    "num action"
    "info action";
  align-items: start;
  row-gap: 0.35rem;
}
.stack-2d:not(.is-expanded) .stack-layer__num {
  grid-area: num;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--text);
}
.stack-2d:not(.is-expanded) .stack-layer__info {
  grid-area: info;
}
.stack-2d:not(.is-expanded) .stack-layer__action {
  grid-area: action;
  align-self: center;
}
.stack-2d:not(.is-expanded) .stack-layer__name {
  display: none;
}
.stack-2d:not(.is-expanded) .stack-layer__tag {
  font-size: 0.68rem;
  padding: 0.14rem 0.42rem;
  font-weight: 500;
}
.stack-2d:not(.is-expanded) .stack-layer__compact:hover {
  background: rgba(5, 10, 18, 0.18);
}
.stack-layer.is-active .stack-layer__compact {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.stack-layer__num {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  color: color-mix(in srgb, var(--stack-accent) 55%, var(--text));
  transition: font-size 0.35s ease, color 0.35s ease;
}
.stack-layer__thumb {
  display: block;
  width: var(--stack-col-thumb);
  height: var(--stack-col-thumb);
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
}
.stack-layer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Collapsed: dark left half + photo on right with L→R opacity fade.
   Full-bleed thumb is clipped to the inner trapezoid so accent L/R edges stay clear. */
.stack-2d:not(.is-expanded) .stack-layer__thumb {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  overflow: hidden;
  clip-path: var(--stack-inner-clip);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.1) 54%,
    rgba(0, 0, 0, 0.4) 68%,
    rgba(0, 0, 0, 0.78) 84%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.1) 54%,
    rgba(0, 0, 0, 0.4) 68%,
    rgba(0, 0, 0, 0.78) 84%,
    #000 100%
  );
}
.stack-2d:not(.is-expanded) .stack-layer__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.1), rgba(8, 14, 24, 0.22));
  pointer-events: none;
}
.stack-2d:not(.is-expanded) .stack-layer__thumb img {
  opacity: 0.92;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.9) brightness(1);
  transform: scale(1.06);
  transform-origin: 70% center;
}
.stack-2d:not(.is-expanded) .stack-layer:hover .stack-layer__thumb img {
  opacity: 1;
}
.stack-2d:not(.is-expanded) .stack-layer--vpc .stack-layer__thumb img {
  object-position: 78% center;
  transform-origin: 75% center;
}
.stack-2d:not(.is-expanded) .stack-layer--agentic .stack-layer__thumb img {
  object-position: 68% center;
  transform-origin: 68% center;
}
.stack-2d:not(.is-expanded) .stack-layer--vros .stack-layer__thumb img {
  object-position: 74% center;
  transform-origin: 72% center;
}
.stack-2d:not(.is-expanded) .stack-layer--vmech .stack-layer__thumb img {
  object-position: 70% center;
  transform-origin: 70% center;
}
.stack-2d:not(.is-expanded) .stack-layer__info,
.stack-2d:not(.is-expanded) .stack-layer__action {
  position: relative;
  z-index: 1;
}
.stack-layer__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  min-width: 0;
}
.stack-layer__name {
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
  padding-bottom: 0.06em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: font-size 0.35s ease;
}
.stack-layer__desc {
  display: block;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.stack-layer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
  max-width: 100%;
}
.stack-layer__name,
.stack-layer__tag,
.stack-layer__num,
.stack-layer__action {
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: geometricPrecision;
}
.stack-layer__tag {
  display: inline-block;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 600;
  color: color-mix(in srgb, var(--text) 78%, var(--text-muted));
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  white-space: nowrap;
}
.stack-layer__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 8.8rem;
  height: 2.75rem;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background: center / contain no-repeat url("../../assets/images/stack-detail-button.png");
  border: none;
  border-radius: 0;
  opacity: 1;
  transition: transform 0.25s ease, opacity 0.25s ease;
  animation: none;
}
.stack-layer__action > span {
  opacity: 0;
  font-size: 0;
  line-height: 0;
}
.stack-layer__action svg {
  display: none;
}
.stack-2d:not(.is-expanded) .stack-layer:hover .stack-layer__action {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* English: replace Korean PNG button with text label */
html[lang="en"] .stack-layer__action {
  width: auto;
  min-width: 8.8rem;
  height: 2.75rem;
  padding: 0 1.1rem 0 1.25rem;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #f3f5f8;
  background: #1a1f27;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
html[lang="en"] .stack-layer__action > span {
  opacity: 1;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
html[lang="en"] .stack-layer__action::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
  opacity: 0.9;
}

.stack-2d__base {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  transition: opacity 0.35s ease, height 0.35s ease, margin 0.35s ease;
}
.stack-2d__base-line {
  flex: 1;
  max-width: 8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.stack-2d__base-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Expanded BigPage (inside the same layer) */
.stack-layer__detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: var(--stack-big-h);
  max-height: var(--stack-big-h);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, rgba(255, 255, 255, 0.14));
  border-radius: calc(var(--stack-radius) + 2px);
  overflow: hidden;
  animation: stackLayerExpand 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.stack-layer__detail[hidden] { display: none !important; }
@keyframes stackLayerExpand {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.stack-layer__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--stack-radius);
  background: rgba(5, 10, 18, 0.72);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.stack-layer__close:hover {
  background: color-mix(in srgb, var(--accent) 18%, rgba(5, 10, 18, 0.8));
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.stack-layer__media {
  background: var(--bg-dark);
  min-height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(1.75rem, 9%, 3rem);
  box-sizing: border-box;
}
.stack-layer__media img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  object-position: center 72%;
}
.stack-layer__body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.4rem 1.35rem 1.25rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stack-layer__body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.stack-layer__detail-role {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  color: color-mix(in srgb, var(--stack-accent) 80%, var(--accent));
}
.stack-layer__head {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-bottom: 0.2rem;
}
.stack-layer__title {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}
.stack-layer__fullname {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--text-muted);
}
.stack-layer__body h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0;
  padding-bottom: 0.04em;
}
.stack-layer__block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.stack-layer__block--intro {
  gap: 0;
  flex-shrink: 0;
}
.stack-layer__block--intro p {
  font-size: 0.96rem;
  line-height: 1.62;
}
.stack-layer__block--examples {
  gap: 0;
  margin-top: auto;
  padding-top: 0.35rem;
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.stack-layer__examples-label {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.stack-layer__examples-label::before {
  content: "• ";
  color: color-mix(in srgb, var(--stack-accent, var(--accent)) 70%, var(--text));
}
.stack-layer__block h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stack-layer__block p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.58;
}
.stack-layer__examples {
  --stack-ex-media-h: 8.75rem;
  --stack-ex-caption-h: 3.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  flex: 0 0 auto;
  align-content: start;
  align-items: stretch;
}
.stack-example {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: calc(var(--stack-ex-media-h) + var(--stack-ex-caption-h));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 10, 18, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.stack-example:hover {
  border-color: color-mix(in srgb, var(--stack-accent, var(--accent)) 45%, rgba(255, 255, 255, 0.28));
  background: rgba(5, 10, 18, 0.5);
}
.stack-example__media {
  height: var(--stack-ex-media-h);
  flex: 0 0 var(--stack-ex-media-h);
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-dark);
  border: none;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stack-example__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
  display: block;
}
.stack-example figcaption {
  display: flex;
  flex: 0 0 var(--stack-ex-caption-h);
  height: var(--stack-ex-caption-h);
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.38rem;
  text-align: center;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stack-example figcaption::-webkit-scrollbar {
  display: none;
}
.stack-example figcaption p {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.stack-example strong {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}
.stack-example span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .stack-2d {
    --stack-layer-h: 5rem;
    --stack-big-h: min(520px, 68vh);
    --stack-col-num: 4rem;
    --stack-col-thumb: 3.75rem;
    --stack-col-action: 7.75rem;
    --stack-depth: 5px;
    perspective: none;
  }
  .stack-layer--vmech { --stack-compact-w: min(100%, 640px); --stack-trap: 1.1%; }
  .stack-layer--vpc { --stack-compact-w: min(97%, 620px); --stack-trap: 1.2%; }
  .stack-layer--vros { --stack-compact-w: min(94%, 600px); --stack-trap: 1.25%; }
  .stack-layer--agentic { --stack-compact-w: min(91%, 580px); --stack-trap: 1.3%; }
  .stack-2d:not(.is-expanded) .stack-2d__layers {
    transform: none;
  }
  .stack-layer__compact {
    column-gap: 0.75rem;
    padding: 0.84rem 1.72rem;
  }
  .stack-layer__action {
    padding: 0.59rem 1.12rem;
    font-size: 0.86rem;
  }
  .stack-layer__desc {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .stack-landing__hint {
    font-size: 0.82rem;
  }
  .stack-layer__detail {
    grid-template-columns: 1fr;
    grid-template-rows: 160px 1fr;
    height: auto;
    max-height: none;
  }
  .stack-layer__media {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0;
    justify-content: center;
  }
  .stack-layer__media img {
    min-height: 160px;
    max-height: 160px;
    flex: 0 0 160px;
    object-position: center 65%;
  }
  .stack-layer__examples {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
@media (max-width: 520px) {
  .stack-2d {
    --stack-col-thumb: 3.25rem;
  }
  .stack-layer--vmech { --stack-compact-w: 100%; --stack-trap: 1%; }
  .stack-layer--vpc { --stack-compact-w: 97.5%; --stack-trap: 1.05%; }
  .stack-layer--vros { --stack-compact-w: 95%; --stack-trap: 1.1%; }
  .stack-layer--agentic { --stack-compact-w: 92.5%; --stack-trap: 1.15%; }
  .stack-layer__compact {
    column-gap: 0.55rem;
    padding: 0.78rem 1.33rem;
  }
  .stack-layer__name { font-size: 1.12rem; }
  .stack-layer__desc { font-size: 0.78rem; }
  .stack-layer__body { padding: 1.1rem 0.95rem; }
  .stack-layer__detail {
    grid-template-rows: 140px 1fr;
  }
  .stack-layer__media img {
    min-height: 140px;
    max-height: 140px;
  }
  .stack-2d__base-label {
    letter-spacing: 0.06em;
    font-size: 0.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stack-2d:not(.is-expanded) .stack-2d__layers {
    transform: none;
  }
  .stack-layer__action {
    animation: none;
  }
}

/* Legacy stack detail card (other pages) */
.stack-iso__detail {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.stack-iso__detail-idle {
  margin: auto;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.stack-detail-card {
  display: grid;
  grid-template-rows: 160px 1fr;
  width: 100%;
  position: relative;
  animation: stackDetailIn 0.35s var(--ease);
}
@keyframes stackDetailIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.stack-detail-card[hidden] { display: none !important; }
.stack-detail-card__num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #050a12;
  background: var(--accent);
  padding: 0.22rem 0.45rem;
  border-radius: 2px;
}
.stack-detail-card__media {
  background: var(--bg-dark);
  min-height: 160px;
}
.stack-detail-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stack-detail-card__media--diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  background: #050a12;
}
.stack-detail-card__media--diagram img {
  object-fit: contain;
}
.stack-detail-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem 1.35rem;
}
.stack-detail-card__role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.stack-detail-card__body h3 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.stack-detail-card__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.stack-detail-card__link {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.stack-detail-card__link:hover { color: var(--accent-hover); }

/* Full-page scroll (Vertical Robotics prototype) */
html:has(.page-fullscroll) {
  height: 100%;
}
.page-fullscroll {
  height: 100%;
  overflow: hidden;
}
.page-fullscroll .fullpage-scroll {
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  /* Header is overlaid; sections already pad for it - padding here shifts snap off-center */
  scroll-padding-top: 0;
  overscroll-behavior-y: contain;
  /* Keep wheel/snap scrolling; hide the track so expand/layout never flashes a bar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-fullscroll .fullpage-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
/* Hide scrollbars across fullpage surfaces (wheel + dots still work) */
.page-fullscroll .fullpage-section--scroll,
.page-fullscroll .platforms--tabs .container,
.page-fullscroll .stack--landing:has(.stack-2d.is-expanded) > .container,
.page-fullscroll .stack-layer__body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-fullscroll .fullpage-section--scroll::-webkit-scrollbar,
.page-fullscroll .platforms--tabs .container::-webkit-scrollbar,
.page-fullscroll .stack--landing:has(.stack-2d.is-expanded) > .container::-webkit-scrollbar,
.page-fullscroll .stack-layer__body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.page-fullscroll .fullpage-section {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
  padding: calc(var(--header-h) + 0.75rem) 0 1.5rem;
  overflow: hidden;
}
.page-fullscroll .fullpage-section > .container {
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-fullscroll .fullpage-section--footer {
  height: auto;
  min-height: auto;
  max-height: none;
  scroll-snap-align: end;
  scroll-snap-stop: normal;
  justify-content: flex-start;
  padding: 4rem 0 2rem;
  overflow: visible;
}
.page-fullscroll .fullpage-section--footer > .container {
  display: block;
  flex: none;
  min-height: 0;
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}
.page-fullscroll .stack--landing.fullpage-section {
  overflow: visible;
}
.page-fullscroll .stack--landing > .container {
  overflow: visible;
}
.page-fullscroll .vr-slogan.fullpage-section {
  padding: 0;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: none;
}
.page-fullscroll .stack--landing:has(.stack-2d.is-expanded) > .container {
  justify-content: flex-start;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-fullscroll .stack--landing:has(.stack-2d.is-expanded) > .container::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.page-fullscroll .stack-landing__head {
  margin-bottom: 1.875rem;
  flex-shrink: 0;
}
.page-fullscroll .stack-landing__title {
  font-size: clamp(2.2rem, 2.083vw, 2.8rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.7rem;
}
.page-fullscroll .stack-landing__head .section-label {
  margin-bottom: 0.45rem;
}
.page-fullscroll .stack-landing__desc {
  font-size: 0.95rem;
  line-height: 1.65;
}
.page-fullscroll .stack-landing__hint {
  margin-top: 0.65rem;
  font-size: 0.8rem;
}
.page-fullscroll .stack--landing:has(.stack-2d.is-expanded) .stack-landing__head {
  margin-bottom: 0.5rem;
}
.page-fullscroll .stack--landing:has(.stack-2d.is-expanded) .stack-landing__hint {
  display: none;
}
.page-fullscroll .stack-2d__layers {
  min-height: 0;
  overflow: visible;
}
.page-fullscroll .stack-2d {
  --stack-big-h: min(440px, 48vh);
  --stack-layer-h: 5.1rem;
  --stack-depth: 9px;
  width: 100%;
  overflow: visible;
}
.page-fullscroll .stack-layer--vmech { --stack-compact-w: min(98%, 1180px); --stack-trap: 1.3%; }
.page-fullscroll .stack-layer--vpc { --stack-compact-w: min(95%, 1140px); --stack-trap: 1.35%; }
.page-fullscroll .stack-layer--vros { --stack-compact-w: min(92%, 1100px); --stack-trap: 1.45%; }
.page-fullscroll .stack-layer--agentic { --stack-compact-w: min(89%, 1060px); --stack-trap: 1.55%; }
.page-fullscroll .stack-2d:not(.is-expanded) .stack-2d__layers {
  transform: none;
  padding: 1rem 1.25rem 1.5rem;
}
.page-fullscroll .stack-2d:not(.is-expanded) .stack-layer__num {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}
.page-fullscroll .stack-2d:not(.is-expanded) .stack-layer__tag {
  font-size: 0.7rem;
  padding: 0.14rem 0.45rem;
}
.page-fullscroll .stack-layer__name {
  font-size: 1.2rem;
}
.page-fullscroll .stack-layer__desc {
  font-size: 0.8rem;
}
.page-fullscroll .stack-layer__tag {
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
}
.page-fullscroll .stack-2d__base {
  margin-top: 0.85rem;
}
.page-fullscroll .stack-layer__body {
  padding: 1.25rem 1.2rem 1.1rem;
  gap: 0.9rem;
}
.page-fullscroll .stack-layer__detail-role {
  font-size: 0.84rem;
}
.page-fullscroll .stack-layer__title {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
}
.page-fullscroll .stack-layer__fullname {
  font-size: 0.78rem;
}
.page-fullscroll .stack-layer__body h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}
.page-fullscroll .stack-layer__block p {
  font-size: 0.84rem;
  line-height: 1.52;
}
.page-fullscroll .stack-layer__block--intro p {
  font-size: 0.94rem;
  line-height: 1.58;
}
.page-fullscroll .stack-layer__examples-label {
  font-size: 0.76rem;
  margin-bottom: 0.5rem;
}
.page-fullscroll .stack-layer__media {
  padding-top: clamp(1.25rem, 6%, 2rem);
}
.page-fullscroll .stack-layer__media img {
  object-position: center 75%;
}
.page-fullscroll .stack-layer__examples {
  --stack-ex-media-h: 6.75rem;
  --stack-ex-caption-h: 2.95rem;
}
.page-fullscroll .stack-example figcaption p {
  font-size: 0.64rem;
  line-height: 1.38;
}
.page-fullscroll .tech--showcase {
  /* inherit fullpage-section padding/center */
}
.page-fullscroll .tech--showcase .container {
  justify-content: center;
}
.page-fullscroll .tech-showcase {
  gap: 1.875rem;
  width: 100%;
}
.page-fullscroll .tech-showcase__head {
  margin-bottom: 0;
  flex-shrink: 0;
}
.page-fullscroll .tech-showcase__head .section-label {
  display: block;
  margin-bottom: 0.45rem;
}
.page-fullscroll .tech-showcase__head .section-title {
  font-size: clamp(2rem, 1.875vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.page-fullscroll .tech-showcase__grid {
  gap: 10px;
}
.page-fullscroll .platforms.fullpage-section {
  /* keep same centered viewport as other pages */
  overflow: hidden;
}
.page-fullscroll .platforms--tabs .container {
  justify-content: center;
  overflow-y: auto;
}
.page-fullscroll .platforms-tabs {
  flex: 0 1 auto;
  min-height: 0;
  gap: 1.875rem;
  align-self: stretch;
  width: 100%;
}
.page-fullscroll .platforms-tabs__head {
  margin-bottom: 0;
  flex-shrink: 0;
}
.page-fullscroll .platforms-tabs__head .section-label {
  display: block;
  margin-bottom: 0.45rem;
}
.page-fullscroll .platforms-tabs__head .section-title {
  font-size: clamp(2rem, 1.875vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.page-fullscroll .platform-tabs {
  flex-shrink: 0;
}
.page-fullscroll .platform-showcase {
  flex: 0 0 auto;
  width: 100%;
  max-width: 72rem;
  align-self: center;
  height: clamp(28rem, 54vh, 38rem);
}
.page-fullscroll .platform-showcase__stack {
  padding: 0.85rem 0.95rem;
}
.page-fullscroll .platform-showcase__stack.is-open,
.page-fullscroll .platform-showcase__stack:focus-visible {
  padding: 1.1rem 1.2rem;
  width: min(100%, 24.5rem);
  max-width: 46%;
}
.page-fullscroll .platform-showcase__stack-name {
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
}
.page-fullscroll .platform-showcase__stack-desc {
  font-size: clamp(0.8rem, 1.05vw, 0.88rem);
  line-height: 1.48;
}
.page-fullscroll .platform-showcase__stack-detail {
  font-size: 0.86rem;
  line-height: 1.5;
}
.page-fullscroll .platform-tabs__btn {
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
}

/* Hub fullpage: light-theme dots + one-viewport fit */
.theme-core.page-fullscroll .fullpage-nav__dot {
  border-color: rgba(90, 104, 124, 0.45);
  background: rgba(90, 104, 124, 0.22);
}
.theme-core.page-fullscroll .fullpage-nav__dot:hover {
  background: rgba(90, 104, 124, 0.34);
  border-color: rgba(90, 104, 124, 0.58);
}
.theme-core.page-fullscroll .fullpage-nav__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 224, 0.18);
}
.page-fullscroll .fullpage-section--scroll {
  overflow-y: auto;
  justify-content: flex-start;
}
.page-fullscroll .fullpage-section--scroll > .container {
  justify-content: flex-start;
  padding-bottom: 1rem;
}
.page-fullscroll .page-hero.fullpage-section {
  justify-content: center;
  overflow: hidden;
}
.page-fullscroll .page-hero.fullpage-section .page-hero__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}
.page-fullscroll .page-hero--split .page-hero__media {
  max-height: min(52vh, 420px);
}
.page-fullscroll .page-hero--split .page-hero__media img {
  max-height: min(52vh, 420px);
  width: 100%;
  object-fit: cover;
}
.page-fullscroll .page-hero--platform .page-hero__media--diagram {
  max-height: min(74vh, 640px);
  aspect-ratio: auto;
  min-height: min(48vh, 420px);
}
.page-fullscroll .page-hero--platform .page-hero__media--diagram img {
  max-height: min(74vh, 640px);
  object-fit: contain;
}
.page-fullscroll .page-hero--platform h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  max-width: min(100%, 28em);
}
.page-fullscroll .page-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}
.page-fullscroll .visual-band.fullpage-section {
  padding-left: 0;
  padding-right: 0;
}
.page-fullscroll .visual-band.fullpage-section > .visual-band__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
}
.page-fullscroll .visual-band__media {
  max-height: min(48vh, 380px);
}
.page-fullscroll .visual-band__media img {
  max-height: min(48vh, 380px);
  width: 100%;
  object-fit: cover;
}
.page-fullscroll .visual-band__media--diagram {
  max-height: min(52vh, 420px);
  aspect-ratio: auto;
  min-height: min(32vh, 260px);
}
.page-fullscroll .visual-band__media--diagram img {
  max-height: min(52vh, 420px);
  object-fit: contain;
}
.page-fullscroll .twin-core.fullpage-section {
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 0.5rem);
  padding-bottom: 1.25rem;
}
.page-fullscroll .twin-core.fullpage-section > .container {
  flex: 0 1 auto;
  justify-content: center;
  gap: 0.85rem;
  width: min(var(--container-max), 100%);
  margin-inline: auto;
}
.page-fullscroll .twin-core__intro {
  gap: 1rem 1.5rem;
}
.page-fullscroll .twin-core__media {
  max-height: min(28vh, 240px);
  aspect-ratio: auto;
  min-height: 140px;
}
.page-fullscroll .twin-core__media img {
  max-height: min(28vh, 240px);
  object-fit: cover;
}
.page-fullscroll .twin-core__copy .section-title {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  margin-bottom: 0.4rem;
}
.page-fullscroll .twin-core__copy .section-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}
.page-fullscroll .twin-core .stack__loop {
  gap: 0.75rem;
}
.page-fullscroll .twin-core .stack-card {
  padding: 0.9rem 1rem;
}
.page-fullscroll .twin-core .stack-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.page-fullscroll .twin-core .stack-card p {
  font-size: 0.82rem;
  line-height: 1.45;
}
.page-fullscroll .twin-overview.fullpage-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 0.55rem);
  padding-bottom: 1.1rem;
}
.page-fullscroll .twin-overview.fullpage-section > .container {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.9rem, 1.8vh, 1.25rem);
  width: min(980px, 100%);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}
.page-fullscroll .twin-overview__inner {
  gap: clamp(0.9rem, 1.8vh, 1.25rem);
}
.page-fullscroll .twin-overview__top {
  flex: 0 1 auto;
  min-height: 0;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.35rem);
}
.page-fullscroll .twin-overview__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-fullscroll .twin-overview__copy .page-hero__breadcrumb {
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
}
.page-fullscroll .twin-overview__copy .page-hero__eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
}
.page-fullscroll .twin-overview__media {
  width: 100%;
  max-height: min(32vh, 280px);
  aspect-ratio: 16 / 10;
  align-self: center;
  display: flex;
  min-height: 0;
}
.page-fullscroll .twin-overview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-fullscroll .twin-overview__copy h1 {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  margin-bottom: 0.45rem;
}
.page-fullscroll .twin-overview__lead {
  margin-bottom: 0.85rem;
  font-size: clamp(0.86rem, 1.05vw, 0.96rem);
  line-height: 1.55;
  max-width: 38ch;
}
.page-fullscroll .twin-overview__loop-copy {
  padding-top: 0.7rem;
}
.page-fullscroll .twin-overview__loop-copy .section-label {
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
}
.page-fullscroll .twin-overview__loop-copy .section-title {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  margin-bottom: 0.3rem;
}
.page-fullscroll .twin-overview__loop-copy .section-desc {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  line-height: 1.5;
  max-width: 40ch;
}
.page-fullscroll .twin-overview .stack__loop {
  gap: 0.65rem;
  flex: 0 0 auto;
}
.page-fullscroll .twin-overview .stack-card {
  padding: 0.8rem 0.95rem;
}
.page-fullscroll .twin-overview .stack-card h3 {
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  margin-bottom: 0.28rem;
}
.page-fullscroll .twin-overview .stack-card p {
  font-size: clamp(0.76rem, 0.95vw, 0.84rem);
  line-height: 1.45;
}
@media (max-height: 820px) {
  .page-fullscroll .twin-overview__media {
    max-height: min(28vh, 240px);
  }
  .page-fullscroll .twin-overview__copy h1 {
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  }
  .page-fullscroll .twin-overview .stack-card {
    padding: 0.65rem 0.8rem;
  }
}
@media (max-height: 700px) {
  .page-fullscroll .twin-overview__media {
    max-height: min(24vh, 180px);
  }
  .page-fullscroll .twin-overview.fullpage-section > .container,
  .page-fullscroll .twin-overview__inner {
    gap: 0.75rem;
  }
}
.page-fullscroll .stack.fullpage-section .stack__loop {
  gap: 0.85rem;
  flex: 0 0 auto;
  width: 100%;
  align-self: stretch;
}
.page-fullscroll .stack.fullpage-section .stack-card {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.page-fullscroll .stack.fullpage-section .stack-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.page-fullscroll .stack.fullpage-section .stack-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}
.page-fullscroll .references.fullpage-section .references__grid {
  gap: 0.75rem;
}
.page-fullscroll .references.fullpage-section .ref-card {
  padding: 1rem 1.1rem;
}
.page-fullscroll .references.fullpage-section .ref-card h3 {
  font-size: 1rem;
}
.page-fullscroll .references.fullpage-section .ref-card p {
  font-size: 0.85rem;
  line-height: 1.45;
}
.page-fullscroll .industry-gate.fullpage-section .section-head-block {
  margin-bottom: 1.25rem;
}
.page-fullscroll .industry-gate.fullpage-section .industry-gate__grid {
  gap: 0.85rem;
}
.page-fullscroll .industry-gate.fullpage-section .industry-gate__thumb {
  max-height: 140px;
}
.page-fullscroll .industry-gate.fullpage-section .industry-gate__thumb img {
  max-height: 140px;
  object-fit: contain;
}
.page-fullscroll .industry-gate.fullpage-section .industry-gate__body {
  padding: 0.95rem 1.05rem 1.1rem;
}
.page-fullscroll .industry-gate.fullpage-section .industry-gate__body p {
  font-size: 0.88rem;
  line-height: 1.45;
}
.page-fullscroll .prologue.fullpage-section,
.page-fullscroll .organization.fullpage-section,
.page-fullscroll .growth.fullpage-section,
.page-fullscroll .cta.fullpage-section {
  justify-content: center;
  overflow-y: auto;
}
.page-fullscroll .prologue.fullpage-section > .container,
.page-fullscroll .organization.fullpage-section > .container,
.page-fullscroll .growth.fullpage-section > .container,
.page-fullscroll .cta.fullpage-section > .container {
  flex: 0 1 auto;
  justify-content: center;
  width: min(var(--container-max), 100%);
  margin-inline: auto;
}
.page-fullscroll .prologue.fullpage-section .section-head-block,
.page-fullscroll .organization.fullpage-section .section-head-block,
.page-fullscroll .growth.fullpage-section .section-head-block {
  margin-bottom: 1.25rem;
}
.page-fullscroll .prologue.fullpage-section .prologue-mosaic {
  width: min(880px, 100%);
}
.page-fullscroll .prologue.fullpage-section .prologue-mosaic__grid {
  min-height: min(52vh, 480px);
  gap: 0.6rem;
}
.page-fullscroll .prologue.fullpage-section .prologue-mosaic__card {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--radius);
}
.page-fullscroll .prologue.fullpage-section .prologue-mosaic__card h3 {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  margin-bottom: 0.45rem;
}
.page-fullscroll .prologue.fullpage-section .prologue-mosaic__tags {
  font-size: 0.75rem;
}
.page-fullscroll .prologue.fullpage-section .prologue-mosaic__hub {
  width: clamp(120px, 15vw, 150px);
  top: 33%;
}
.page-fullscroll .platform-diagram.fullpage-section {
  justify-content: center;
}
.page-fullscroll .platform-diagram.fullpage-section > .container {
  justify-content: center;
}
.page-fullscroll .platform-diagram.fullpage-section .platform-diagram__figure {
  max-height: min(58vh, 520px);
}
.page-fullscroll .platform-diagram.fullpage-section .platform-diagram__figure img {
  max-height: min(58vh, 520px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}
.page-fullscroll .platform-diagram--hub .section-title--display {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}
.page-fullscroll .platform-diagram--hub .section-desc {
  font-size: 0.95rem;
  line-height: 1.55;
}
.page-fullscroll .organization.fullpage-section .org__highlight {
  margin-bottom: 1rem;
  gap: 1rem;
}
.page-fullscroll .organization.fullpage-section .org__grid {
  gap: 0.75rem;
}
.page-fullscroll .organization.fullpage-section .org-card {
  padding: 0.9rem 1rem;
}
.page-fullscroll .growth.fullpage-section .growth__stats {
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.page-fullscroll .growth.fullpage-section .roadmap {
  padding: 1rem 1.15rem;
}
.page-fullscroll .robots--lineup.fullpage-section {
  justify-content: center;
  overflow: hidden;
}
.page-fullscroll .robots--lineup .section-head-block {
  margin-bottom: 1rem;
}
.page-fullscroll .robots--lineup .carousel__viewport {
  margin-bottom: 0.85rem;
}
.page-fullscroll .robots--lineup .robotics-card__visual {
  max-height: min(28vh, 240px);
  aspect-ratio: auto;
  min-height: 160px;
}
.page-fullscroll .robots--lineup .robotics-card__body {
  padding: 0.95rem 1.05rem 1.1rem;
}
.page-fullscroll .robots--lineup .robotics-card__body > p:not(.robotics-card__subtitle) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-fullscroll .robots.fullpage-section,
.page-fullscroll .references.fullpage-section {
  justify-content: center;
  overflow-y: auto;
  padding-top: calc(var(--header-h) + 0.75rem);
  padding-bottom: 1.5rem;
}
.page-fullscroll .robots.fullpage-section > .container,
.page-fullscroll .references.fullpage-section > .container {
  flex: 0 1 auto;
  justify-content: center;
  width: min(var(--container-max), 100%);
  margin-inline: auto;
}
.page-fullscroll .robots.fullpage-section .section-head-block,
.page-fullscroll .references.fullpage-section .section-head-block {
  margin-bottom: 1rem;
}
.page-fullscroll .robots.fullpage-section .robots__grid {
  gap: 0.85rem;
}
.page-fullscroll .robots.fullpage-section .robots__grid--3 .robot-card__body > p:not(.robot-card__subtitle) {
  font-size: 0.82rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-fullscroll .robots.fullpage-section .robot-card__visual {
  max-height: min(28vh, 220px);
}
.page-fullscroll .robots.fullpage-section .robot-card--featured .robot-card__visual,
.page-fullscroll .robots.fullpage-section .robot-card--wide .robot-card__visual {
  max-height: min(36vh, 280px);
  min-height: 0;
  width: 40%;
}
.page-fullscroll .robots.fullpage-section .robot-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.page-fullscroll .robots.fullpage-section .robot-card__body {
  padding: 1rem 1.15rem;
}
.page-fullscroll .robots.fullpage-section .robot-card__body p {
  font-size: 0.88rem;
  line-height: 1.5;
}
.page-fullscroll .robots.fullpage-section .section-title {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}
.page-fullscroll .references.fullpage-section .references__grid {
  gap: 0.75rem;
}
.page-fullscroll .references.fullpage-section .ref-card {
  padding: 1rem 1.1rem;
}
.page-fullscroll .stories.fullpage-section {
  justify-content: center;
  overflow: hidden;
}
.page-fullscroll .stories.fullpage-section > .container {
  flex: 0 1 auto;
  justify-content: center;
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  padding-block: 0.5rem;
}
.page-fullscroll .stories.fullpage-section .section-title {
  margin-bottom: 0.35rem;
}
.page-fullscroll .stories.fullpage-section .stories__link {
  margin: 0 0 1.5rem;
}
.page-fullscroll .stories.fullpage-section .carousel {
  width: 100%;
}
.page-fullscroll .stories.fullpage-section .carousel__viewport {
  margin-bottom: 1rem;
}
.page-fullscroll .stories.fullpage-section .story-card {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 11.5rem;
}
.page-fullscroll .location-section.fullpage-section {
  padding-top: calc(var(--header-h) + 0.5rem);
}
.page-fullscroll .location-section .location-card {
  gap: 1rem;
}
.page-fullscroll .location-section .location-card__map-wrap,
.page-fullscroll .location-section .location-card__map-link,
.page-fullscroll .location-section .location-card__map-img {
  min-height: 220px;
  max-height: min(42vh, 360px);
}
.page-fullscroll .location-section .location-note {
  padding: 1rem 0 0.5rem;
}
.page-fullscroll .contact-section.fullpage-section {
  padding-top: calc(var(--header-h) + 0.5rem);
}
.page-fullscroll .contact-section .contact-layout {
  gap: 1.25rem;
}
.page-fullscroll .contact-section .contact-form-wrap {
  padding: 1.25rem 1.35rem;
}

.fullpage-nav {
  position: fixed;
  right: clamp(0.85rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fullpage-nav__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.fullpage-nav__dot:hover {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.62);
  transform: scale(1.1);
}
.fullpage-nav__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 224, 0.22);
  transform: scale(1.2);
}
@media (max-width: 900px) {
  .page-fullscroll {
    height: auto;
    overflow: visible;
  }
  .page-fullscroll .fullpage-scroll {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .page-fullscroll .fullpage-section {
    height: auto;
    min-height: auto;
    max-height: none;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    display: block;
    padding: calc(var(--header-h) + 2rem) 0 3.5rem;
    overflow: visible;
  }
  .page-fullscroll .fullpage-section > .container {
    display: block;
    flex: none;
    min-height: 0;
    overflow: visible;
  }
  .page-fullscroll .fullpage-section--scroll {
    overflow: visible;
  }
  .page-fullscroll .page-hero--split .page-hero__media,
  .page-fullscroll .page-hero--split .page-hero__media img,
  .page-fullscroll .visual-band__media,
  .page-fullscroll .visual-band__media img,
  .page-fullscroll .industry-gate.fullpage-section .industry-gate__thumb,
  .page-fullscroll .industry-gate.fullpage-section .industry-gate__thumb img,
  .page-fullscroll .platform-diagram.fullpage-section .platform-diagram__figure,
  .page-fullscroll .platform-diagram.fullpage-section .platform-diagram__figure img {
    max-height: none;
  }
  .page-fullscroll .stack--landing {
    min-height: calc(100vh - var(--header-h));
    padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  }
  .page-fullscroll .platforms.fullpage-section {
    overflow: visible;
  }
  .page-fullscroll .platforms--tabs .container {
    overflow: visible;
  }
  .page-fullscroll .platform-showcase {
    height: auto;
    max-width: none;
  }
  .page-fullscroll .platform-showcase__stack {
    padding: 0.85rem 0.95rem;
  }
  .page-fullscroll .platform-showcase__stack-name {
    font-size: 0.95rem;
  }
  .page-fullscroll .platform-showcase__stack-desc {
    font-size: 0.84rem;
    line-height: 1.5;
  }
  .fullpage-nav {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-fullscroll .fullpage-scroll {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  .page-fullscroll .fullpage-section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}

/* ===== News (MakinaRocks-inspired) ===== */
.news-hero {
  padding: 7rem 0 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.news-hero__inner {
  max-width: 920px;
}
.news-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.75rem;
}
.news-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}
.news-section {
  padding: 3rem 0 6rem;
  background: var(--bg-soft);
}
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.news-filter__btn {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.news-filter__btn:hover {
  border-color: #cdd2da;
  color: var(--text);
}
.news-filter__btn.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  min-height: 0;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}
.news-card:hover {
  border-color: #cdd2da;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease);
}
.news-card:hover .news-card__media img {
  transform: scale(1.02);
}
.news-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f5f8 0%, #e8ecf2 100%);
}
.news-card__media--placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #9aa3b2;
}
.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1;
}
.news-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
}
.news-card__date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.news-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0;
}
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
}
.news-pagination__btn {
  min-width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
}
.news-pagination__btn.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.news-article {
  padding: 7rem 0 5rem;
}
.news-article__inner {
  max-width: 760px;
}
.news-article__header {
  margin: 1.5rem 0 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.news-article__hero {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.news-article__hero img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: #fff;
}
.news-inline-media {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.news-inline-media img {
  width: 100%;
  height: auto;
  display: block;
}
.news-article__body .news-inline-media + .news-inline-media {
  margin-top: -0.5rem;
}
.news-article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.news-article__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-article__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.news-article__body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.news-article__body p + p {
  margin-top: 1rem;
}
.news-article__back {
  margin-top: 3rem;
}
.news-admin-hero {
  padding: 6rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.news-admin {
  padding: 2.5rem 0 5rem;
}
.news-admin__panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.news-admin__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.news-admin__table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}
.news-admin__empty {
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.news-admin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.news-admin__table th,
.news-admin__table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.news-admin__table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.news-admin__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.news-admin__form {
  display: grid;
  gap: 1rem;
}
.news-admin__form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.news-admin__form input,
.news-admin__form select,
.news-admin__form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.news-admin__check {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}
.news-admin__check input {
  width: auto;
}
.news-admin__form-actions {
  display: flex;
  gap: 0.75rem;
}
.news-admin__notice {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.news-admin__notice a {
  color: var(--accent);
  word-break: break-all;
}
.news-admin__status {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.news-admin__status--public {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}
.news-admin__status--private {
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fed7aa;
}
.news-admin__row--private {
  background: rgba(255, 237, 213, 0.22);
}
.news-admin__private-mark {
  display: inline-block;
  margin-right: 0.15rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #9a3412;
  background: #ffedd5;
}
.news-admin__editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.news-admin__editor-head h3 {
  margin: 0;
}
.news-admin__upload-label {
  font-size: 0.875rem;
  font-weight: 500;
}
.news-admin__upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.news-admin__upload-row input[type="file"] {
  flex: 1;
  min-width: 200px;
  padding: 0.45rem 0;
  font-size: 0.875rem;
}
.news-admin__upload-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.news-admin__image-preview {
  border: 1px dashed var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  max-width: 360px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-admin__paste-hint {
  margin: 0;
  padding: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}
.news-admin__image-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}
.news-admin__picker {
  border: none;
  padding: 0;
  max-width: min(920px, calc(100vw - 2rem));
  width: 100%;
  background: transparent;
}
.news-admin__picker::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.news-admin__picker-inner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.news-admin__picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.news-admin__picker-head h3 {
  margin: 0;
  font-size: 1.125rem;
}
.news-admin__picker-close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}
.news-admin__picker-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.news-admin__picker-mode label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.news-admin__picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  max-height: 420px;
  overflow: auto;
}
.news-admin__picker-loading,
.news-admin__picker-empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.news-admin__picker-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.news-admin__picker-item:hover,
.news-admin__picker-item:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
  outline: none;
}
.news-admin__picker-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
  display: block;
}
.news-admin__picker-item span {
  font-size: 0.6875rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .news-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-list { grid-template-columns: 1fr; }
  .news-filter__btn { font-size: 0.8125rem; }
}
