:root {
  --bg: #e8f1f7;
  --bg-soft: #d7e4ee;
  --panel: rgba(247, 250, 252, 0.82);
  --panel-strong: rgba(251, 253, 254, 0.96);
  --line: rgba(56, 89, 117, 0.14);
  --line-strong: rgba(47, 83, 112, 0.24);
  --text: #11212d;
  --muted: #5f7386;
  --accent: #2d739d;
  --accent-deep: #12344c;
  --accent-mid: #4f93bc;
  --accent-soft: #cfe4f1;
  --accent-pale: #eef7fc;
  --accent-glow: rgba(85, 150, 194, 0.24);
  --white-soft: #f6fbfe;
  --shadow: 0 28px 70px rgba(26, 47, 66, 0.12);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --max-width: 1760px;
  --font-sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

[data-parallax] {
  --parallax-offset: 0px;
  transform: translate3d(0, var(--parallax-offset), 0);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body.is-loading {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(96, 157, 198, 0.34), transparent 28%),
    radial-gradient(circle at 78% 10%, rgba(255, 255, 255, 0.85), transparent 18%),
    linear-gradient(135deg, #f7fbfe 0%, #deebf4 46%, #edf5fa 100%);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img,
video {
  max-width: 100%;
}

body.is-lightbox-open {
  overflow: hidden;
}

body.video-page {
  background:
    radial-gradient(circle at top left, rgba(82, 145, 187, 0.3), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(155deg, #f5fbfe 0%, #d8e6ef 42%, #edf4f8 100%);
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 149, 0.28);
  outline-offset: 3px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(64, 109, 148, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 109, 148, 0.03) 1px, transparent 1px);
  background-size: 160px 160px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 88%);
}

.page-shell {
  position: relative;
  isolation: isolate;
  opacity: 0;
  transform: translateY(24px) scale(0.995);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

body.is-ready .page-shell {
  opacity: 1;
  transform: none;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  gap: 1.5rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(119, 186, 227, 0.42), transparent 20%),
    linear-gradient(160deg, #f7fbfe 0%, #dce9f3 100%);
  transition:
    opacity 700ms ease,
    visibility 700ms ease;
}

body.is-ready .intro-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-loader__glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(152, 203, 236, 0.42), transparent 62%);
  filter: blur(18px);
}

.intro-loader__board-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  perspective: 1400px;
}

.intro-loader__board {
  position: relative;
  width: clamp(7rem, 8vw, 8.5rem);
  height: clamp(20rem, 32vw, 28rem);
  border-radius: 999px;
  border: 1px solid rgba(218, 240, 255, 0.95);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.35), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.34)),
    repeating-linear-gradient(
      125deg,
      #0e1821 0 10px,
      #15222d 10px 20px,
      #0f1923 20px 30px
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 28px 70px rgba(36, 66, 92, 0.18);
  margin-inline: auto;
  transform-style: preserve-3d;
  animation: loader-spin 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.intro-loader__board::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: inherit;
  border: 2px solid rgba(111, 184, 230, 0.8);
  opacity: 0.9;
}

.intro-loader__board-shine {
  position: absolute;
  inset: 1rem;
  border-radius: inherit;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.34), transparent 20%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.04) 45%, transparent);
  mix-blend-mode: screen;
}

.intro-loader__board-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max-content;
  color: rgba(248, 251, 255, 0.98);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-align: center;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(90deg);
}

.intro-loader__label {
  position: relative;
  margin: 0;
  color: #47687f;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-rail {
  position: fixed;
  top: 50%;
  right: 1.1rem;
  z-index: 90;
  width: 2px;
  height: min(32vh, 15rem);
  border-radius: 999px;
  background: rgba(74, 110, 141, 0.14);
  transform: translateY(-50%);
}

.scroll-rail__fill {
  display: block;
  width: 100%;
  height: 0%;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--accent-deep) 0%, var(--accent) 58%, #bddcef 100%);
  box-shadow: 0 0 18px rgba(91, 153, 204, 0.34);
}

.ambient {
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.38;
  pointer-events: none;
  z-index: -1;
}

.ambient-left {
  top: 5rem;
  left: -10rem;
  background: rgba(116, 179, 220, 0.42);
}

.ambient-right {
  right: -8rem;
  bottom: 8rem;
  background: rgba(133, 169, 204, 0.28);
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 1.25rem), var(--max-width));
  margin: 0;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(216, 229, 238, 0.9);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(233, 242, 248, 0.72)),
    rgba(245, 249, 252, 0.9);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 18px 42px rgba(18, 34, 47, 0.14);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(226, 238, 247, 0.88)),
    rgba(247, 250, 252, 0.96);
  border-color: rgba(197, 215, 228, 0.96);
  box-shadow: 0 22px 46px rgba(18, 34, 47, 0.18);
}

.brand,
.site-nav a,
.header-cta,
.button {
  text-decoration: none;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
}

.brand-mark {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6ba9cf 0%, var(--accent) 45%, var(--accent-deep) 100%);
  box-shadow: 0 0 18px rgba(45, 92, 132, 0.3);
}

.brand-text,
.eyebrow,
h1,
h2,
h3,
.metric-value,
.button,
.header-cta {
  font-family: var(--font-sans);
}

.brand-text {
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a,
.header-cta {
  color: rgba(19, 40, 59, 0.82);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav a:hover,
.header-cta:hover {
  color: #13283b;
}

.header-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(92, 130, 159, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(223, 236, 245, 0.7)),
    rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.header-cta-highlight {
  color: var(--white-soft);
  border-color: rgba(31, 89, 128, 0.16);
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 58%, var(--accent-mid) 100%);
  box-shadow:
    0 12px 28px rgba(43, 99, 138, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.header-cta-highlight:hover {
  color: var(--white-soft);
}

.section {
  width: min(calc(100% - 1.25rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: 0;
  padding: 0;
}

.hero-full {
  overflow: clip;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.97;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.8rem, 7vw, 7rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4.1vw, 4.4rem);
}

h3 {
  margin: 0 0 0.8rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero-text,
.performance-copy p,
.cta-section p,
.feature-panel p {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

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

.button-primary {
  color: var(--white-soft);
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 58%, var(--accent-mid) 100%);
  box-shadow: 0 16px 38px rgba(43, 99, 138, 0.3);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(88, 128, 164, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(234, 242, 248, 0.74));
}

.button-featured {
  position: relative;
  min-width: min(100%, 32rem);
  margin-top: 1.9rem;
  padding: 1.15rem 1.7rem;
  border: 1px solid rgba(18, 52, 76, 0.14);
  box-shadow:
    0 22px 44px rgba(29, 87, 126, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.button-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 45%);
  opacity: 0.9;
}

.button-featured::after {
  content: "->";
  position: absolute;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(246, 251, 254, 0.92);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.button-featured:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 28px 54px rgba(29, 87, 126, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button-featured span {
  position: relative;
  z-index: 1;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.6rem;
}

.hero-metrics > div,
.feature-panel,
.spec-card,
.cta-section,
.performance-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(224, 237, 246, 0.42)),
    var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-metrics > div {
  padding: 1.15rem;
  border-radius: 22px;
}

.metric-value {
  display: block;
  margin-bottom: 0.35rem;
  color: #163f61;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  will-change: transform;
}

.board-stage {
  position: relative;
  min-height: 100%;
  height: 100%;
  border: 1px solid rgba(187, 214, 235, 0.5);
  border-left: 0;
  border-right: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(117, 179, 217, 0.26), transparent 24%),
    linear-gradient(160deg, #17354a 0%, #0d1d2a 55%, #08131d 100%);
  overflow: hidden;
}

.video-stage {
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.board-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 20%),
    radial-gradient(circle at 70% 22%, rgba(205, 242, 255, 0.16), transparent 18%);
}

.hero-video-shell,
.hero-video-frame {
  position: absolute;
  inset: 0;
}

.hero-video-shell {
  overflow: hidden;
}

.hero-video-frame {
  top: 50%;
  left: 50%;
  width: max(100%, calc(100vh * 1.7778));
  height: max(100%, calc(100vw * 0.5625));
  border: 0;
  transform: translate(-50%, -50%) scale(1.12);
  transform-origin: center center;
  pointer-events: none;
  filter: saturate(1.06) contrast(1.04) brightness(0.92);
}

.hero-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(223, 243, 255, 0.34);
  border-radius: 999px;
  background: rgba(242, 248, 252, 0.08);
  color: var(--white-soft);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.hero-badge-link {
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-badge-link:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 243, 255, 0.52);
  background: rgba(242, 248, 252, 0.16);
  box-shadow: 0 16px 30px rgba(8, 18, 27, 0.18);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-overlay-inner {
  width: min(calc(100% - 1.25rem), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 18rem);
  align-items: end;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(8.5rem, 14vh, 11rem) 0 clamp(2rem, 5vh, 3rem);
}

.hero-copy {
  align-self: end;
  max-width: min(44rem, 90vw);
}

.hero .eyebrow,
.hero h1,
.hero .hero-text {
  color: #f4f9fd;
  text-shadow: 0 8px 30px rgba(5, 12, 18, 0.32);
}

.hero .hero-text {
  max-width: 34rem;
}

.hero .button-secondary {
  color: #f4f9fd;
  border-color: rgba(231, 243, 252, 0.26);
  background: rgba(242, 248, 252, 0.1);
}

.hero .hero-metrics > div {
  background:
    linear-gradient(145deg, rgba(232, 246, 255, 0.18), rgba(60, 111, 145, 0.08)),
    rgba(11, 22, 34, 0.28);
  border-color: rgba(226, 241, 252, 0.18);
  box-shadow: 0 24px 50px rgba(6, 14, 22, 0.18);
}

.hero .metric-value,
.hero .metric-label {
  color: #f4f9fd;
}

.hero .metric-label {
  opacity: 0.78;
}

.hero-sidecards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-self: end;
  justify-self: end;
  align-items: flex-end;
  justify-content: flex-end;
}

.board-glow {
  position: absolute;
  right: 2rem;
  top: 4rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: rgba(138, 215, 255, 0.3);
  filter: blur(80px);
}

.stage-card {
  position: relative;
  z-index: 2;
  max-width: 16rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(232, 244, 255, 0.28);
  border-radius: 18px;
  background: rgba(244, 249, 253, 0.08);
  backdrop-filter: blur(16px);
}

.stage-card span,
.spec-card span,
.performance-card span,
.stat-label,
.feature-panel p,
.gallery-panel span {
  display: block;
  color: var(--muted);
}

.stage-card span,
.stage-card strong {
  color: #f2f8fd;
}

.stage-card span {
  opacity: 0.82;
  line-height: 1.2;
}

.spec-card strong,
.performance-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
}

.stage-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #f2f8fd;
}

.section-heading {
  margin-bottom: 2rem;
}

.technology,
.performance,
.specs,
.gallery,
.story-grid,
.cta-section {
  padding: 4rem 0;
}

.image-marquee {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 1rem;
  width: min(calc(100% - 1rem), 1840px);
  padding: 1rem 0 1.5rem;
}

.gallery {
  width: min(calc(100% - 1rem), 1840px);
}

.marquee-card,
.story-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(95, 138, 175, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(226, 238, 246, 0.78)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.marquee-card {
  min-height: 20rem;
}

.marquee-wide {
  min-height: 24rem;
}

.marquee-card img,
.feature-photo img,
.performance-image,
.gallery-panel img,
.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translate3d(0, var(--parallax-offset, 0px), 0)
    scale(var(--media-scale, 1.1));
  transform-origin: var(--media-origin, center 40%);
}

.marquee-card img,
.story-card img,
.feature-photo img,
.gallery-panel img,
.performance-image {
  filter: saturate(0.95) contrast(1.02);
  will-change: transform;
}

.image-marquee .marquee-card:nth-child(1) img {
  --media-scale: 1.08;
  --media-origin: center 42%;
}

.image-marquee .marquee-card:nth-child(2) img {
  --media-scale: 1.16;
  --media-origin: center 42%;
}

.image-marquee .marquee-card:nth-child(3) img {
  --media-scale: 1.12;
  --media-origin: center 40%;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-panel {
  min-height: 18rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.feature-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.feature-photo img {
  min-height: 24rem;
}

.technology-grid .feature-panel:nth-child(1) img {
  --media-scale: 1.12;
  --media-origin: center 38%;
}

.technology-grid .feature-panel:nth-child(2) img {
  --media-scale: 1.14;
  --media-origin: center 42%;
}

.technology-grid .feature-panel:nth-child(3) img {
  --media-scale: 1.12;
  --media-origin: center 38%;
}

.feature-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(10, 24, 37, 0.9) 44%, rgba(9, 20, 31, 0.98) 100%);
}

.feature-overlay h3,
.feature-overlay p {
  color: #eef7fd;
}

.feature-overlay p {
  opacity: 0.9;
}

.performance-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.performance-visual {
  position: relative;
  min-height: 36rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(187, 214, 235, 0.48);
  background:
    linear-gradient(160deg, rgba(19, 46, 67, 0.92), rgba(10, 21, 31, 0.96)),
    radial-gradient(circle at center, rgba(123, 190, 231, 0.22), transparent 42%);
  overflow: hidden;
}

.performance-image {
  position: absolute;
  inset: 0;
  filter: saturate(0.95) brightness(0.8) contrast(1.02);
  --media-scale: 1.12;
  --media-origin: center 38%;
}

.performance-visual::before {
  content: "";
  position: absolute;
  inset: auto auto 5.5rem 50%;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(210, 240, 255, 0.16), transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(193, 229, 252, 0.14) 56%, transparent 62%);
  filter: blur(2px);
}

.ice-orbit {
  position: absolute;
  inset: 16% 14%;
  border-radius: 50%;
  border: 1px solid rgba(205, 237, 255, 0.18);
}

.performance-card {
  position: absolute;
  width: min(18rem, calc(100% - 3rem));
  padding: 1.2rem;
  border-radius: 20px;
}

.primary-card {
  top: 2rem;
  right: 1.5rem;
}

.secondary-card {
  left: 1.5rem;
  bottom: 2rem;
}

.stat-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr 3rem;
  gap: 1rem;
  align-items: center;
}

.stat-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(27, 60, 86, 0.16), rgba(190, 215, 232, 0.42));
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(12, 26, 39, 0.08);
}

.stat-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 52%, var(--accent-mid) 100%);
  box-shadow: 0 0 18px rgba(83, 142, 183, 0.34);
}

.stat-value {
  color: #315f85;
  text-align: right;
  font-weight: 700;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 13.5rem;
  padding: 1.65rem 1.55rem;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(223, 236, 245, 0.88)),
    var(--panel);
}

.spec-card::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  right: 1.55rem;
  top: 3.7rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(45, 115, 157, 0.3), rgba(207, 228, 241, 0.2), transparent);
}

.spec-card span {
  position: relative;
  z-index: 1;
  margin-bottom: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: #5f7890;
}

.spec-card strong {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  font-size: 1.45rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #13283b;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  gap: 1rem;
}

.gallery-panel {
  position: relative;
  min-height: 34rem;
  border: 1px solid rgba(95, 138, 175, 0.12);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(160deg, #dce9f2 0%, #cfdfe9 100%);
}

.gallery-panel img {
  position: absolute;
  inset: 0;
  filter: saturate(0.95) brightness(0.78);
}

.gallery-panel.panel-a img {
  --media-scale: 1.12;
  --media-origin: center 40%;
}

.gallery-panel.panel-b img {
  --media-scale: 1.14;
  --media-origin: center 38%;
}

.gallery-panel.panel-c img {
  --media-scale: 1.12;
  --media-origin: center 36%;
}

.gallery-panel::before,
.gallery-panel::after {
  content: "";
  position: absolute;
  inset: 0;
}

.gallery-panel::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(180deg, transparent 38%, rgba(10, 26, 40, 0.62));
}

.gallery-panel span {
  position: absolute;
  left: 1.35rem;
  bottom: 1.25rem;
  z-index: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #eef8ff;
  font-weight: 700;
  line-height: 1.2;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
  width: min(calc(100% - 1rem), 1840px);
}

.story-card {
  min-height: 22rem;
}

.story-large {
  min-height: 30rem;
}

.story-card.story-large img {
  --media-scale: 1.1;
  --media-origin: center 42%;
}

.story-grid .story-card:nth-child(2) img {
  --media-scale: 1.12;
  --media-origin: center 40%;
}

.story-grid .story-card:nth-child(3) img {
  --media-scale: 1.14;
  --media-origin: center 34%;
}

.story-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(10, 25, 38, 0.9) 52%, rgba(8, 18, 27, 0.98) 100%);
}

.story-copy h3 {
  max-width: 12ch;
  color: #f3f8fd;
}

.cta-section {
  margin-top: 3rem;
  margin-bottom: 4rem;
  padding: 3rem;
  border-radius: 30px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(221, 235, 244, 0.9)),
    var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.cta-section h2,
.cta-section p {
  margin-left: auto;
  margin-right: auto;
}

.cta-section .eyebrow {
  margin-bottom: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #677d92;
}

.cta-section h2 {
  max-width: 12.5ch;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-align: center;
}

.cta-brand {
  color: var(--accent);
}

.cta-section p {
  max-width: 42ch;
  margin-top: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #607487;
}

.cta-section .hero-actions {
  width: 100%;
  justify-content: center;
  margin-top: 1.6rem;
}

.cta-note {
  align-self: stretch;
  width: 100%;
  max-width: none;
  margin: 2rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(78, 125, 168, 0.12);
  font-size: 0.64rem;
  line-height: 1.45;
  letter-spacing: 0.005em;
  color: rgba(96, 116, 135, 0.72);
  text-align: left;
}

.portfolio-signoff {
  margin: 1.4rem auto 0;
  padding: 1rem 1.25rem 0;
  border-top: 1px solid rgba(45, 115, 157, 0.16);
  max-width: 42rem;
  color: #4e6578;
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: center;
}

.portfolio-signoff strong {
  color: var(--accent-deep);
}

.video-main {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.video-hero {
  width: min(calc(100% - 1rem), 1920px);
  padding-top: 5.5rem;
  padding-bottom: 1.4rem;
}

.video-statement {
  width: 100%;
  max-width: 96rem;
  margin: 0 auto;
  text-align: center;
}

.video-kicker {
  margin: 0 0 1.35rem;
  color: #4f83aa;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-manifesto {
  display: grid;
  gap: 0.18em;
  max-width: none;
  width: min(100%, 15.5ch);
  margin: 0 auto;
  color: #102130;
  font-size: clamp(3.55rem, 8vw, 7.4rem);
  font-weight: 800;
  font-style: italic;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.video-manifesto span {
  display: block;
}

.video-manifesto-copy {
  max-width: 31rem;
  margin: 1.5rem auto 0;
  color: #5e7488;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
}

.video-player-section {
  width: min(calc(100% - 1rem), 1920px);
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.video-player-shell {
  padding: 1.15rem;
  border: 1px solid rgba(162, 195, 220, 0.36);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(219, 234, 244, 0.48)),
    rgba(245, 250, 253, 0.68);
  box-shadow:
    0 28px 70px rgba(19, 42, 60, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(22px);
}

.video-player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(191, 219, 238, 0.38);
  background:
    radial-gradient(circle at top right, rgba(116, 180, 220, 0.16), transparent 24%),
    linear-gradient(160deg, #17354a 0%, #0d1d2a 55%, #08131d 100%);
  box-shadow: 0 30px 60px rgba(8, 18, 29, 0.24);
}

.video-player-frame::before {
  content: "";
  display: block;
  padding-top: min(56.25%, 78vh);
}

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

.video-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.45rem 0.25rem 0;
}

.video-caption-label {
  display: block;
  margin-bottom: 0.25rem;
  color: #5f7890;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-caption-bar strong {
  color: #13283b;
  font-size: 1rem;
  line-height: 1.4;
}

.breakdown-section {
  width: min(calc(100% - 1rem), 1920px);
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.breakdown-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.6rem;
  text-align: center;
}

.breakdown-heading .eyebrow {
  margin-bottom: 0.9rem;
}

.breakdown-heading h2 {
  max-width: 10ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.06;
}

.breakdown-copy {
  max-width: 46rem;
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-wrap: balance;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.72fr) minmax(17rem, 0.72fr);
  gap: 1.1rem;
  align-items: stretch;
  width: min(100%, 90rem);
  margin: 0 auto;
  grid-auto-rows: minmax(12rem, auto);
}

.breakdown-card {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  border: 1px solid rgba(177, 205, 224, 0.32);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(219, 234, 244, 0.48)),
    rgba(245, 250, 253, 0.72);
  box-shadow:
    0 24px 60px rgba(21, 43, 61, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.breakdown-card-featured {
  grid-column: 1 / span 2;
  grid-row: span 2;
  min-height: 100%;
}

.breakdown-card-board {
  grid-column: 3;
  grid-row: 1;
}

.breakdown-card-character {
  grid-column: 3;
  grid-row: 2;
}

.breakdown-card-figma-a {
  grid-column: 1;
  grid-row: 3;
}

.breakdown-card-video {
  grid-column: 2;
  grid-row: 3;
}

.breakdown-card-figma-b {
  grid-column: 3;
  grid-row: 3;
}

.breakdown-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

.breakdown-card-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.breakdown-play-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(228, 241, 251, 0.26);
  border-radius: 999px;
  background: rgba(8, 18, 27, 0.56);
  color: #f4f9fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.breakdown-play-badge::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
  border-left: 0.52rem solid #f4f9fd;
}

.breakdown-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 35%),
    linear-gradient(180deg, transparent 48%, rgba(8, 18, 27, 0.78) 100%);
  pointer-events: none;
}

.breakdown-card-copy {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.35rem;
  z-index: 3;
  pointer-events: none;
}

.breakdown-card-copy span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(236, 246, 253, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.breakdown-card-copy strong {
  display: block;
  max-width: 20ch;
  color: #f4f9fd;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.render-video-section {
  width: min(calc(100% - 1rem), 1920px);
  padding-top: 0.5rem;
  padding-bottom: 4rem;
}

.workflow-section {
  width: min(calc(100% - 1rem), 1920px);
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.workflow-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.6rem;
  text-align: center;
}

.workflow-heading h2 {
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.12;
}

.workflow-copy {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-wrap: balance;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 92rem);
  margin: 0 auto;
}

.workflow-card {
  position: relative;
  min-height: 15.5rem;
  padding: 1.35rem;
  border: 1px solid rgba(172, 201, 221, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(220, 235, 245, 0.56)),
    rgba(245, 250, 253, 0.74);
  box-shadow:
    0 24px 60px rgba(21, 43, 61, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(22px);
}

.workflow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 3.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #143a55 0%, #2d739d 70%, #74b4dc 100%);
  color: #f6fbfe;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(45, 115, 157, 0.24);
}

.workflow-card h3 {
  margin: 0 0 0.55rem;
  color: #13283b;
  font-size: 1.5rem;
  line-height: 1.02;
}

.workflow-card p {
  margin: 0;
  color: #607487;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  text-wrap: balance;
}

.render-video-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.4rem;
  text-align: center;
}

.render-video-heading .eyebrow {
  margin-bottom: 0.9rem;
}

.render-video-heading h2 {
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.06;
}

.render-video-copy {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-wrap: balance;
}

.render-video-shell {
  padding: 1rem;
  border: 1px solid rgba(172, 201, 221, 0.34);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(219, 234, 244, 0.48)),
    rgba(245, 250, 253, 0.68);
  box-shadow:
    0 24px 60px rgba(21, 43, 61, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(22px);
}

.render-video-player {
  display: block;
  width: 100%;
  border-radius: 26px;
  background: linear-gradient(160deg, #17354a 0%, #0d1d2a 55%, #08131d 100%);
  box-shadow: 0 24px 60px rgba(8, 18, 29, 0.24);
}

.conclusion-section {
  width: min(calc(100% - 1rem), 1920px);
  padding-top: 0.5rem;
  padding-bottom: 4rem;
}

.conclusion-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(172, 201, 221, 0.32);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(220, 235, 245, 0.56)),
    rgba(245, 250, 253, 0.74);
  box-shadow:
    0 24px 60px rgba(21, 43, 61, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(22px);
  text-align: center;
}

.conclusion-heading h2 {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.06;
}

.conclusion-copy {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: #607487;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  text-wrap: balance;
}

.conclusion-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  margin-top: 1.8rem;
}

.conclusion-return {
  width: 100%;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(82, 127, 165, 0.12);
  text-align: center;
}

.conclusion-return-link {
  color: #58718a;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, opacity 180ms ease;
}

.conclusion-return-link:hover {
  color: #13283b;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(88, 149, 191, 0.16), transparent 24%),
    rgba(6, 13, 20, 0.86);
  backdrop-filter: blur(18px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1500px);
}

.lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(211, 233, 246, 0.24);
  border-radius: 999px;
  background: rgba(243, 249, 253, 0.12);
  color: #f4f9fd;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgba(199, 222, 238, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  object-fit: contain;
  background: rgba(8, 18, 27, 0.9);
}

.lightbox-video-wrap {
  position: relative;
  width: min(100vw - 3rem, 1400px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(199, 222, 238, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  background: rgba(8, 18, 27, 0.96);
}

.lightbox-video-wrap::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

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

.lightbox-caption {
  margin-top: 0.9rem;
  color: rgba(232, 243, 250, 0.86);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, calc(26px + var(--parallax-offset, 0px)), 0);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-offset, 0px), 0);
}

@keyframes loader-spin {
  0% {
    opacity: 0;
    transform: rotateY(0deg) rotateZ(-14deg) translateY(30px) scale(0.82);
  }
  18% {
    opacity: 1;
  }
  60% {
    transform: rotateY(260deg) rotateZ(3deg) translateY(-8px) scale(1);
  }
  100% {
    opacity: 1;
    transform: rotateY(360deg) rotateZ(0deg) translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .hero,
  .performance-layout,
  .technology-grid,
  .spec-grid,
  .gallery-strip,
  .image-marquee,
  .workflow-grid,
  .breakdown-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
  }

  .board-stage,
  .performance-visual,
  .gallery-panel,
  .marquee-card,
  .story-card,
  .breakdown-card {
    min-height: 30rem;
  }

  .hero-visual {
    height: auto;
    min-height: 100vh;
  }

  .hero-overlay-inner {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: clamp(8rem, 11vw, 9.5rem);
    padding-bottom: 2rem;
  }

  .hero-sidecards {
    justify-self: start;
    width: 100%;
  }

  .hero-copy {
    max-width: 100%;
  }

  .performance-layout {
    gap: 1.5rem;
  }

  .video-player-shell,
  .render-video-shell,
  .conclusion-heading {
    padding: 1rem;
  }

  .spec-card,
  .feature-panel {
    min-height: auto;
  }

  .breakdown-card-featured,
  .breakdown-card-board,
  .breakdown-card-character,
  .breakdown-card-figma-a,
  .breakdown-card-video,
  .breakdown-card-figma-b {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: min(calc(100% - 1rem), var(--max-width));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 28px;
  }

  .site-nav {
    grid-column: 1 / -1;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .hero-overlay-inner {
    padding-top: 9.25rem;
  }

  .performance-card {
    width: min(16rem, calc(100% - 2rem));
  }
}

@media (max-width: 720px) {
  .intro-loader {
    gap: 1.1rem;
    padding-inline: 1rem;
  }

  .intro-loader__glow {
    width: min(72vw, 22rem);
    height: min(72vw, 22rem);
  }

  .intro-loader__board-wrap {
    width: 100%;
    justify-items: center;
  }

  .intro-loader__board {
    margin-inline: auto;
  }

  .intro-loader__board-logo {
    left: 50%;
    top: 50%;
  }

  .scroll-rail {
    display: none;
  }

  .section,
  .video-hero,
  .video-player-section,
  .breakdown-section,
  .workflow-section,
  .render-video-section,
  .conclusion-section {
    width: min(calc(100% - 0.75rem), var(--max-width));
  }

  body::before {
    background-size: 112px 112px;
  }

  .ambient {
    width: 22rem;
    height: 22rem;
    filter: blur(54px);
    opacity: 0.28;
  }

  .site-header {
    top: 0.6rem;
    width: min(calc(100% - 0.85rem), var(--max-width));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-header::-webkit-scrollbar,
  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .brand {
    flex: 0 0 auto;
    gap: 0.45rem;
  }

  .brand-mark {
    width: 0.56rem;
    height: 0.56rem;
  }

  .brand-text {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .site-nav {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav a,
  .header-cta {
    font-size: 0.7rem;
    line-height: 1;
    white-space: nowrap;
  }

  .header-actions {
    flex: 0 0 auto;
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .header-actions .header-cta:not(.header-cta-highlight) {
    display: none;
  }

  .header-actions .header-cta,
  .site-header > .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 2rem;
    padding: 0.45rem 0.8rem;
    text-align: center;
  }

  .technology,
  .performance,
  .specs,
  .gallery,
  .story-grid,
  .cta-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  h1 {
    font-size: clamp(2.65rem, 10.8vw, 3.5rem);
    line-height: 0.92;
  }

  h2 {
    font-size: clamp(1.85rem, 8.8vw, 2.65rem);
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-item {
    grid-template-columns: 4.2rem 1fr 2.4rem;
    gap: 0.55rem;
  }

  .stat-value {
    text-align: right;
  }

  .stage-card {
    width: 100%;
    max-width: none;
  }

  .hero .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .hero-badge {
    font-size: 0.66rem;
  }

  .hero-overlay-inner {
    width: min(calc(100% - 0.9rem), var(--max-width));
    padding-top: 5rem;
    padding-bottom: 0.9rem;
    gap: 0.85rem;
    align-content: end;
  }

  .hero-sidecards {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }

  .hero .hero-text {
    max-width: 19rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-actions,
  .hero-metrics {
    width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .button,
  .video-caption-bar .button,
  .conclusion-actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero-metrics {
    gap: 0.75rem;
    margin-top: 1.2rem;
  }

  .hero-metrics > div {
    min-width: 0;
    padding: 0.85rem 0.7rem;
    border-radius: 18px;
  }

  .metric-value {
    font-size: 1.25rem;
  }

  .metric-label {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .hero-visual,
  .board-stage {
    min-height: max(42rem, 100svh);
    height: auto;
  }

  .hero-video-frame {
    transform: translate(-50%, -50%) scale(1.02);
  }

  .board-stage,
  .performance-visual,
  .gallery-panel,
  .marquee-card,
  .story-card,
  .breakdown-card {
    min-height: 16rem;
  }

  .marquee-wide,
  .story-large {
    min-height: 19rem;
  }

  .feature-photo img {
    min-height: 15rem;
  }

  .performance-layout {
    gap: 1rem;
  }

  .performance-visual {
    min-height: 21rem;
    padding: 0.85rem;
  }

  .performance-card {
    position: absolute;
    z-index: 1;
    width: min(9.75rem, calc(100% - 2rem));
    padding: 0.7rem 0.75rem;
    border-radius: 16px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(215, 232, 244, 0.4)),
      rgba(244, 249, 253, 0.58);
    backdrop-filter: blur(14px);
  }

  .performance-card span {
    font-size: 0.58rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .performance-card strong {
    font-size: 0.7rem;
    line-height: 1.22;
  }

  .primary-card {
    top: 0.85rem;
    right: 0.85rem;
  }

  .secondary-card {
    left: 0.85rem;
    bottom: 0.85rem;
  }

  .ice-orbit {
    inset: 12% 10%;
  }

  .image-marquee,
  .technology-grid,
  .spec-grid,
  .story-grid,
  .breakdown-grid,
  .workflow-grid {
    gap: 0.75rem;
  }

  .feature-panel,
  .spec-card,
  .workflow-card,
  .breakdown-card,
  .marquee-card,
  .story-card {
    border-radius: 20px;
  }

  .feature-overlay,
  .story-copy,
  .breakdown-card-copy {
    padding: 1rem;
  }

  .feature-overlay h3,
  .workflow-card h3 {
    font-size: 1.08rem;
  }

  .spec-card {
    min-height: auto;
    padding: 1.1rem 1rem;
  }

  .spec-card::after {
    left: 1rem;
    right: 1rem;
    top: 3rem;
  }

  .spec-card span {
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
  }

  .spec-card strong {
    max-width: none;
    font-size: 1rem;
  }

  .cta-section {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.4rem 0.95rem;
    border-radius: 24px;
  }

  .video-main {
    padding-top: 5.25rem;
    padding-bottom: 3rem;
  }

  .video-hero {
    padding-top: 0.35rem;
  }

  .video-manifesto {
    width: fit-content;
    max-width: 100%;
    gap: 0.06em;
    font-size: clamp(1.55rem, 7.1vw, 2.2rem);
    line-height: 0.98;
  }

  .video-manifesto span {
    white-space: nowrap;
  }

  .video-manifesto-copy {
    max-width: 21rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .video-player-shell,
  .render-video-shell,
  .conclusion-heading {
    padding: 0.85rem;
    border-radius: 26px;
  }

  .video-player-frame,
  .render-video-player {
    border-radius: 20px;
  }

  .video-caption-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-top: 0.75rem;
  }

  .breakdown-grid,
  .workflow-grid {
    gap: 0.85rem;
  }

  .breakdown-card {
    min-height: 15rem;
    border-radius: 24px;
  }

  .breakdown-card-copy {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .breakdown-card-copy strong {
    max-width: none;
    font-size: 1.05rem;
  }

  .breakdown-play-badge {
    top: 0.75rem;
    right: 0.75rem;
  }

  .workflow-card {
    min-height: auto;
    padding: 1rem;
    border-radius: 22px;
  }

  .workflow-icon {
    width: 2.45rem;
    height: 2.45rem;
    margin-bottom: 1.2rem;
    font-size: 0.72rem;
  }

  .render-video-player {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .conclusion-heading {
    padding: 1.7rem 1rem;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: -0.85rem;
  }

  .lightbox-image {
    max-height: calc(100vh - 7rem);
    border-radius: 22px;
  }

  .lightbox-video-wrap {
    width: min(100vw - 2rem, 1400px);
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .intro-loader {
    gap: 0.95rem;
    padding-inline: 0.75rem;
  }

  .intro-loader__board {
    width: min(22vw, 6.9rem);
    height: min(64vw, 19.5rem);
  }

  .intro-loader__board-logo {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
  }

  .site-header {
    top: 0.5rem;
    width: min(calc(100% - 0.75rem), var(--max-width));
    gap: 0.4rem;
    padding: 0.4rem 0.55rem;
  }

  .brand-text {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .site-nav a,
  .header-cta {
    font-size: 0.66rem;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .header-actions .header-cta,
  .site-header > .header-cta {
    min-height: 1.9rem;
    padding: 0.42rem 0.68rem;
  }

  .button {
    width: 100%;
    min-width: 0;
    padding: 0.82rem 0.95rem;
    font-size: 0.64rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .hero-overlay-inner {
    width: min(calc(100% - 0.65rem), var(--max-width));
    padding-top: 4.5rem;
    padding-bottom: 0.75rem;
  }

  .hero-actions,
  .hero-metrics {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 7.2ch;
    font-size: clamp(2.2rem, 10vw, 2.95rem);
  }

  .hero-visual,
  .board-stage {
    min-height: max(39rem, 100svh);
  }

  .performance-visual {
    min-height: 19rem;
  }

  .performance-card {
    width: min(8.5rem, calc(100% - 1.5rem));
    padding: 0.58rem 0.62rem;
    border-radius: 14px;
  }

  .performance-card span {
    font-size: 0.54rem;
  }

  .performance-card strong {
    font-size: 0.7rem;
    line-height: 1.22;
  }

  .spec-card strong {
    font-size: 0.96rem;
  }

  .portfolio-signoff {
    padding-left: 0;
    padding-right: 0;
    font-size: 0.8rem;
  }

  .video-main {
    padding-top: 4.9rem;
  }

  .video-manifesto {
    width: fit-content;
    max-width: 100%;
    gap: 0.05em;
    font-size: clamp(1.42rem, 6.9vw, 1.95rem);
    line-height: 1;
  }

  .hero .hero-text,
  .workflow-card p,
  .breakdown-copy,
  .render-video-copy,
  .conclusion-copy {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .breakdown-card {
    min-height: 14rem;
  }

  .workflow-card h3 {
    font-size: 1rem;
  }

  .hero-metrics {
    gap: 0.55rem;
  }

  .hero-metrics > div {
    padding: 0.75rem 0.5rem;
  }

  .metric-value {
    font-size: 1.08rem;
  }

  .metric-label {
    font-size: 0.66rem;
  }

  .lightbox {
    padding: 0.75rem;
  }

  .lightbox-close {
    position: static;
    display: inline-flex;
    margin: 0 0 0.75rem auto;
  }

  .lightbox-image,
  .lightbox-video-wrap {
    border-radius: 18px;
  }
}

