:root {
  --bg:       #08090c;
  --bg2:      #0d0f14;
  --panel:    #11141b;
  --panel2:   #151925;
  --panel3:   #1a2030;
  --line:     rgba(255,255,255,.09);
  --soft:     rgba(255,255,255,.055);
  --text:     #f5f7fb;
  --muted:    #a8b0c0;
  --muted2:   #6e7a90;
  --orange:   #ef552c;
  --orange2:  #ff8d57;
  --orange3:  #ffb38a;
  --blue:     #78b7ff;
  --teal:     #6ce8cf;
  --green:    #7ff0a0;
  --max:      1240px;
  --hero-max: 1600px;
  --hero-video-max: 1800px;
  --r-xl:     32px;
  --r-lg:     26px;
  --r-md:     20px;
  --r-sm:     14px;
  --r-pill:   999px;
  --shadow:   0 16px 60px rgba(0,0,0,.38);
  --shadow-float: 0 28px 80px rgba(0,0,0,.52);
  --glow:     0 18px 80px rgba(255,106,46,.20);
  --heroTop:  108px;
}

/* Mobile adjustments: reduce hero top padding and keep news rotator compact */
@media (max-width: 820px) {
  .hero-grid,
  .hero-grid-single {
    padding: 40px 0 28px;
  }
  .hero-inner {
    padding-left: clamp(16px, 4vw, 22px);
    padding-right: clamp(16px, 4vw, 22px);
  }

  /* Make the news rotator stay compact and allow the title to wrap */
  .news-rotator {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: center;
  }
  .news-rotator-stage {
    position: relative;
    flex: 0 1 100%;
    width: 100%;
    min-height: 36px;
    max-height: 72px;
  }
  .news-rotator-title {
    position: relative;
    inset: auto;
    opacity: 1;
    white-space: normal;
    text-align: center;
    display: block;
    padding: 6px 8px;
    line-height: 1.25;
  }
  .news-rotator-kicker { order: 1; flex: 0 0 auto; }
  .news-rotator-dots { order: 3; }
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at top left,  rgba(255,106,46,.14), transparent 32%),
    radial-gradient(circle at 100% 0,    rgba(120,183,255,.10), transparent 26%),
    linear-gradient(180deg, #0a0b0e, #090b10 32%, #08090c 100%);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ─── ANNOUNCEMENT ───────────────────────────────────────────────── */
.ann {
  position: fixed; inset: 0 0 auto 0; height: 32px; z-index: 120;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange);
  font-size: 12px; letter-spacing: .03em; color: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.ann.hidden { transform: translateY(-100%); opacity: 0; }
.ann-track { display: contents; }
.ann-content { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ann-content:nth-child(2) { display: none; }
.ann-pill {
  border: 1px solid rgba(255,255,255,.22); padding: 3px 9px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.15);
  font-weight: 700; font-size: 11px;
}

/* ─── NAV ────────────────────────────────────────────────────────── */
header {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 110;
  background: rgba(7,9,13,.55); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--soft);
  transition: top .3s, background .3s, box-shadow .3s;
}
body.scrolled header { background: rgba(7,9,13,.82); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
body.ann-hidden header { top: 0; }
.nav {
  width: 100%; max-width: none; margin: 0; height: 76px;
  padding: 0 22px; display: flex; align-items: center; justify-content: flex-start; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .10em; font-size: 14px; flex-shrink: 0; }
.brand-logo {
  width: 126px;
  height: auto;
  display: block;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: radial-gradient(circle at 30% 28%, var(--orange2), var(--orange));
  box-shadow: inset 0 0 18px rgba(255,255,255,.16), 0 10px 28px rgba(255,106,46,.32);
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 1px; border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), transparent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  margin-right: 4px;
  min-height: 40px;
  position: relative;
  transition: width .18s ease;
}
.nav-link-set {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-link-set-alt {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}
.nav-links.is-alt .nav-link-set-primary {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}
.nav-links.is-alt .nav-link-set-alt {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-link {
  height: 40px; display: inline-flex; align-items: center; padding: 0 13px;
  border-radius: 13px; font-size: 14px; color: #e6eaf4; font-weight: 700;
  background: transparent;
  transition: color .18s ease, opacity .18s ease;
}
.nav-link:hover { color: #ffffff; background: transparent; }
.nav-link.has-drop::after { content: '\25BE'; font-size: 10px; margin-left: 7px; opacity: .7; }
.nav-link-disabled { cursor: default; opacity: .7; }
.nav-flat-link {
  position: relative;
}
.nav-links:hover .nav-link { color: rgba(230,234,244,.54); }
.nav-links:hover .nav-link:hover,
.nav-links .menu-wrap:hover > .nav-link,
.nav-links .menu-wrap:focus-within > .nav-link,
.nav-links .nav-link:focus-visible {
  color: #ffffff;
}
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-action {
  height: 40px; display: inline-flex; align-items: center; padding: 0 13px;
  border-radius: 13px; font-size: 14px; color: #e6eaf4; font-weight: 700;
  transition: background .18s;
}
.nav-action:hover { background: rgba(255,255,255,.055); }
.nav-swap-btn {
  gap: 6px;
  height: auto;
  min-height: 26px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
  font-weight: 300;
  line-height: 1;
  opacity: .6;
  margin-left: 0;
  margin-right: auto;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0;
  transition: opacity .18s ease, background-color .18s ease, color .18s ease;
}
.nav-swap-btn span { font-weight: 300; }
.nav-swap-btn:hover,
.nav-swap-btn:focus-visible {
  background: rgba(255,255,255,.055);
  opacity: 1;
  color: #fff;
}
.nav-swap-btn i { font-size: 11px; }
.nav-right .btn.sm { font-size: 14px; }
.search-chip { gap: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); min-width: 138px; justify-content: space-between; color: rgba(230,234,244,.38); font-weight: 400; }
.search-chip:focus-within { color: #e6eaf4; }
.kbd { font-size: 11px; opacity: .6; border: 1px solid var(--line); padding: 3px 6px; border-radius: 7px; }

/* Hamburger (desktop hidden) */
.mobile-menu-btn { display: none; }

/* Mobile menu overlay (desktop hidden) */
.mobile-menu { display: none; }

/* Mega menu */
.menu-wrap { position: relative; }
.menu-wrap::after {
  content: ''; position: absolute; top: 100%; left: -16px; right: -16px;
  height: 20px; /* bridges the gap between trigger and dropdown */
}
.mega {
  position: absolute; top: 58px; left: 0;
  width: min(520px, calc(100vw - 40px));
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  background: linear-gradient(180deg, rgba(16,19,26,.97), rgba(10,13,19,.99));
  border: 1px solid var(--line); border-radius: 22px; overflow: visible;
  box-shadow: 0 32px 90px rgba(0,0,0,.55);
}
.menu-wrap:hover .mega, .menu-wrap:focus-within .mega { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega-inner { border-radius: 22px; overflow: hidden; }
.mega-grid { display: grid; grid-template-columns: 1.25fr .85fr; }
.mega-main, .mega-side { padding: 20px 22px; }
.mega-side { border-left: 1px solid var(--soft); background: rgba(255,255,255,.025); }
.mega h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #bec8dc; margin-bottom: 12px; }
/* Single-column product list */
.mega-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mega-item {
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--soft);
  background: rgba(255,255,255,.022); transition: transform .18s, border-color .18s, background .18s;
  display: flex; align-items: center; gap: 10px;
}
.mega-item:hover { transform: translateY(-1px); border-color: var(--line); background: rgba(255,255,255,.05); }
.mega-item-icon {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,106,46,.12); border: 1px solid rgba(255,106,46,.18);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  color: var(--orange);
}
.mega-item-icon-blue {
  background: rgba(120,183,255,.12);
  border-color: rgba(120,183,255,.20);
  color: #78b7ff;
}
.mega-item-icon-teal {
  background: rgba(108,232,207,.12);
  border-color: rgba(108,232,207,.20);
  color: #6ce8cf;
}
.mega-item strong { display: block; font-size: 13.5px; margin-bottom: 3px; }
.mega-item span, .mega-copy { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.mega-badge {
  display: inline-flex; margin-top: 14px; padding: 6px 10px;
  border-radius: var(--r-pill); background: rgba(255,106,46,.12);
  color: #ffd0b8; font-size: 12px; font-weight: 700;
}

/* Developers dropdown: 3 horizontal items + lower roadmap link */
.mega-dev {
  width: min(760px, calc(100vw - 40px));
}
.mega-dev .mega-main {
  padding: 20px 22px;
}
.mega-list-hz {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mega-item-hz {
  display: block;
  min-height: 96px;
}
.mega-roadmap-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--orange);
  font-weight: 700;
}
.mega-roadmap-link:hover {
  text-decoration: underline;
}
.mega-community {
  width: min(360px, calc(100vw - 40px));
}
.mega-community .mega-main,
.mega-company .mega-main {
  padding: 20px 22px;
}
.mega-company {
  width: min(300px, calc(100vw - 40px));
}

/* ─── SUB-NAV ────────────────────────────────────────────────────── */
.sub-nav {
  position: fixed; top: 108px; left: 0; right: 0; z-index: 108;
  height: 44px; display: flex; align-items: center; justify-content: flex-start; gap: 6px;
  padding: 0 22px;
  background: rgba(7,9,13,.80); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--soft);
  transform: translateY(-100%); opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  overflow-x: auto;
  overflow-y: hidden;
}
.sub-nav.visible { transform: translateY(0); opacity: 1; }
body.ann-hidden .sub-nav { top: 76px; }
.sub-nav-brand {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 2px 0 0;
  color: #ffffff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  margin-right: 4px;
  white-space: nowrap;
}
.anc-pill {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 11px; border-radius: 10px;
  border: 1px solid transparent; background: transparent;
  font-size: 12px; color: #ffffff; font-weight: 600;
  transition: background .18s, color .18s, border-color .18s, opacity .18s;
  white-space: nowrap;
}
.anc-pill:hover { background: transparent; border-color: transparent; color: #ffffff; }
.sub-nav:hover .anc-pill { opacity: .5; }
.sub-nav:hover .anc-pill:hover { opacity: 1; }

:root { --anchor-offset: 176px; }
#solves,
#comparison,
#workflow,
#viewer,
#licensing,
#faq,
#developers,
#samples,
#news,
#roadmap {
  scroll-margin-top: var(--anchor-offset);
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border-radius: 16px; border: none;
  font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #fff; box-shadow: none; }
.btn.primary:hover { box-shadow: var(--glow); }
.btn.secondary { background: rgba(255,255,255,.04); border: 1px solid var(--line); color: #edf0f8; }
.btn.secondary:hover { background: rgba(255,255,255,.07); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: #dde3ef; }
.btn.ghost:hover { background: rgba(255,255,255,.04); }
.btn.sm { height: 40px; padding: 0 15px; border-radius: 13px; font-size: 13px; }

/* ─── CHIPS ──────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px;
  border-radius: var(--r-pill); border: 1px solid var(--soft);
  background: rgba(255,255,255,.04); font-size: 12.5px; color: #d8dff0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.05); border: 1px solid var(--soft);
  font-size: 13px; color: #d8e0ee;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  box-shadow: 0 0 0 5px rgba(255,106,46,.14);
}
.dot-blue { background: linear-gradient(135deg, var(--blue), #a8d4ff); box-shadow: 0 0 0 5px rgba(120,183,255,.14); }
.dot-teal { background: linear-gradient(135deg, var(--teal), #a8f5ec); box-shadow: 0 0 0 5px rgba(108,232,207,.14); }
.kicker {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #b0bdd0; font-weight: 600;
}
.kicker.orange { color: var(--orange2); }
.kicker.teal   { color: var(--teal); }
.kicker.blue   { color: var(--blue); }

/* ─── PANELS ─────────────────────────────────────────────────────── */
.panel {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid var(--soft); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.panel.pad { padding: 26px 28px; }
.panel.dark { background: linear-gradient(180deg, rgba(13,15,20,.97), rgba(10,12,17,.97)); }
.panel.accent::before {
  content: ''; position: absolute; inset: -30% auto auto -10%;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,46,.22), transparent 70%);
  pointer-events: none;
}
.panel-tag {
  display: inline-flex; padding: 6px 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.055); border: 1px solid var(--soft);
  font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #d4daea;
}
.panel-tag.orange { background: rgba(255,106,46,.12); border-color: rgba(255,106,46,.22); color: #ffd0b8; }
.panel-tag.blue   { background: rgba(120,183,255,.10); border-color: rgba(120,183,255,.20); color: #b8d8ff; }
.panel-tag.teal   { background: rgba(108,232,207,.10); border-color: rgba(108,232,207,.20); color: #b0f0e6; }

/* ─── SECTION BASE ───────────────────────────────────────────────── */
.section { position: relative; padding: 86px 0; border-top: 1px solid var(--soft); }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0; }
.system-width {
  width: min(90vw, 1700px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(34px,5vw,54px); line-height: 1.02; letter-spacing: -.04em; max-width: 860px; }
.sec-head p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 700px; }

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--heroTop) + 30px);
  position: relative; min-height: 100svh; overflow: visible;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../images/Slide%2016_9%20-%20Grid.png") center center / cover no-repeat;
  background-attachment: fixed;
  opacity: var(--hero-before-opacity, 0.20);
  pointer-events: none;
  z-index: 0;
}
.homepage .hero::before {
  background-image: url("../images/Desktop%20Background.png");
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .58; pointer-events: none;
  z-index: 1;
}
.hero-rings {
  display: none;
}
.viewer-orb {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,46,.22), transparent 62%);
  top: -80px; left: -90px; filter: blur(28px); pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--hero-max); margin: 0 auto; padding: 0 clamp(22px, 4vw, 60px);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: 28px;
  align-items: center; padding: 72px 0 56px;
}
h1 {
  font-size: clamp(50px, 7.5vw, 90px); line-height: .97;
  letter-spacing: -.045em; margin: 18px 0 18px; max-width: 800px;
}
.hero-lead { font-size: 18px; line-height: 1.68; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ─── HERO SUBHEADING ────────────────────────────────────────────── */
.hero-subhead {
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--muted);
  margin: 4px 0 18px;
}

/* ─── HERO SWIPER (homepage only) ────────────────────────────────── */
.hero-swiper { position: relative; }
.hero-swiper-slides {
  position: relative;
  /* Height driven by tallest slide */
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Slide placeholder color variants */
.hero-overlay-studio {
  background:
    radial-gradient(ellipse 60% 55% at 48% 42%, rgba(120,183,255,.22), transparent 55%),
    radial-gradient(ellipse 35% 28% at 72% 20%, rgba(108,232,207,.15), transparent 44%),
    radial-gradient(ellipse 40% 35% at 20% 74%, rgba(120,183,255,.10), transparent 46%),
    linear-gradient(160deg, #0c0f17 0%, #0a0c12 55%, #0b0e14 100%) !important;
}
.hero-placeholder-studio::after {
  border-color: rgba(120,183,255,.20) !important;
  box-shadow:
    0 0 0 40px rgba(120,183,255,.04),
    0 0 0 80px rgba(120,183,255,.025),
    0 0 0 120px rgba(120,183,255,.014),
    inset 0 0 60px rgba(120,183,255,.06) !important;
}
.hero-overlay-engine {
  background:
    radial-gradient(ellipse 60% 55% at 48% 42%, rgba(108,232,207,.22), transparent 55%),
    radial-gradient(ellipse 35% 28% at 72% 20%, rgba(255,106,46,.12), transparent 44%),
    radial-gradient(ellipse 40% 35% at 20% 74%, rgba(108,232,207,.10), transparent 46%),
    linear-gradient(160deg, #0c0f17 0%, #0a0c12 55%, #0b0e14 100%) !important;
}
.hero-placeholder-engine::after {
  border-color: rgba(108,232,207,.20) !important;
  box-shadow:
    0 0 0 40px rgba(108,232,207,.04),
    0 0 0 80px rgba(108,232,207,.025),
    0 0 0 120px rgba(108,232,207,.014),
    inset 0 0 60px rgba(108,232,207,.06) !important;
}

/* ─── PROGRESS BAR INDICATORS ────────────────────────────────────── */
.hero-swiper-indicators {
  display: flex;
  gap: 16px;
  padding: 0 0 32px;
  max-width: var(--hero-max);
}
.hero-indicator {
  flex: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.hero-indicator-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted2);
  margin-bottom: 10px;
  letter-spacing: .01em;
  transition: color .3s ease;
}
.hero-indicator.is-active .hero-indicator-label {
  color: var(--text);
}
.hero-indicator-bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.hero-indicator-fill {
  width: 0%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  transition: none;
}
.hero-indicator.is-done .hero-indicator-fill {
  width: 100%;
}
.hero-indicator.is-active .hero-indicator-fill {
  /* Width animated via JS requestAnimationFrame */
  will-change: width;
}

/* Hero video panel (right column) */
.hero-stage { position: relative; min-height: 0; padding-bottom: 62px; }
.hero-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 34px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-float);
}
.hero-video-wrap iframe,
.hero-video-wrap video,
.hero-video-placeholder {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-video-wrap iframe {
  border: 0;
  background: #080a10;
}
.hero-video-placeholder {
  background:
    radial-gradient(ellipse 70% 55% at 42% 38%, rgba(255,106,46,.28), transparent 52%),
    radial-gradient(ellipse 40% 30% at 74% 18%, rgba(120,183,255,.18), transparent 44%),
    radial-gradient(ellipse 50% 45% at 18% 72%, rgba(108,232,207,.12), transparent 46%),
    linear-gradient(160deg, #0c0f17, #090b11 60%, #0a0c10);
  position: relative; overflow: hidden;
}
.hero-video-placeholder::before,
.hero-video-placeholder::after {
  content: none;
}

.hero-video-placeholder {
  transition: opacity .28s ease, transform .28s ease;
}

/* Ensure the label sits above the placeholder overlays */
.hero-video-label {
  position: relative;
  z-index: 3;
}
.hero-video-label {
  position: relative;
  margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(7,9,14,.62); border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px); white-space: nowrap;
  font-size: 11.5px; color: #dde5f3; font-weight: 700; letter-spacing: .04em;
}
.hero-grant-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
}
.hero-grant-logos {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.grant-logo {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #f3f7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  position: relative;
  cursor: pointer;
}
.grant-logo[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(9,12,18,.88);
  border: 1px solid rgba(255,255,255,.12);
  color: #e6eaf4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}
.grant-logo.ue {
  font-size: 24px;
}
.grant-logo-img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  display: block;
}
.grant-logo.epic .grant-logo-img {
  width: 27px;
  height: 27px;
}
.hero-grant-text {
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(244,248,255,.94);
  font-weight: 600;
  white-space: nowrap;
}

/* Hero news carousel — replaces ticker */
.hero-news {
  position: relative; width: 100%;
  padding: 24px 0 48px;
  overflow: visible;
}
.hero-news-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.hero-news-label {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b0bdd0;
  font-weight: 600;
}
.hero-news-arrows {
  display: flex; gap: 8px;
}
.hero-news-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--soft); background: rgba(255,255,255,.04);
  color: var(--muted); font-size: 16px; cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
}
.hero-news-arrow:hover:not(:disabled) {
  background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18);
  color: var(--text);
}
.hero-news-arrow:disabled {
  opacity: .28; cursor: default;
}
.hero-news-track-wrap {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  padding: 12px 8px 22px;
  margin: 0 -8px;
}
.hero-news-track {
  display: flex; gap: 18px;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.hero-news-card {
  display: grid;
  align-items: stretch;
  flex-shrink: 0; width: calc(50% - 9px);
  min-height: 174px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--soft);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  transition: transform .22s, border-color .22s, box-shadow .22s;
  cursor: pointer;
}
.hero-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 16px 48px rgba(0,0,0,.32);
}
.hero-news-thumb {
  position: relative; width: 100%; height: 100%; min-height: 174px; overflow: hidden;
}
.hero-news-thumb-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted2);
}
/* Thumbnail placeholder gradients — each card gets a unique treatment */
.hero-news-thumb.t-release   { background: radial-gradient(ellipse 70% 60% at 40% 50%, rgba(255,106,46,.18), transparent 70%), linear-gradient(135deg, var(--panel2), var(--panel)); }
.hero-news-thumb.t-studio    { background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(120,183,255,.16), transparent 70%), linear-gradient(135deg, var(--panel2), var(--panel)); }
.hero-news-thumb.t-perf      { background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(255,141,87,.14), transparent 65%), linear-gradient(135deg, var(--panel), var(--panel2)); }
.hero-news-thumb.t-pipeline  { background: radial-gradient(ellipse 65% 60% at 35% 45%, rgba(108,232,207,.14), transparent 65%), linear-gradient(135deg, var(--panel2), var(--panel)); }
.hero-news-thumb.t-platform  { background: radial-gradient(ellipse 60% 60% at 55% 50%, rgba(120,183,255,.12), transparent 65%), linear-gradient(135deg, var(--panel), var(--panel2)); }
.hero-news-thumb.t-gdc       { background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(255,106,46,.15), transparent 65%), linear-gradient(135deg, var(--panel2), var(--panel3)); }
.hero-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px 20px;
}
.hero-news-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.hero-news-card h3 {
  font-size: 16px; font-weight: 700; letter-spacing: -.015em;
  color: var(--text); margin: 0 0 6px; line-height: 1.3;
}
.hero-news-card p {
  font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0;
}

/* ─── HERO IMAGE OVERLAY ─────────────────────────────────────────── */
.hero-img-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 48% 42%, rgba(255,106,46,.22), transparent 55%),
    radial-gradient(ellipse 35% 28% at 72% 20%, rgba(120,183,255,.15), transparent 44%),
    radial-gradient(ellipse 40% 35% at 20% 74%, rgba(108,232,207,.10), transparent 46%),
    linear-gradient(160deg, #0c0f17 0%, #0a0c12 55%, #0b0e14 100%);
}
/* subdivision grid pattern */
.hero-img-overlay::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 82% 78% at 50% 44%, rgba(0,0,0,.65), transparent 78%);
  opacity: .20;
}
/* wireframe sphere rings */
.hero-img-overlay::after {
  content: ''; position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -52%);
  width: 260px; height: 260px; border-radius: 50%;
  border: 1.5px solid rgba(255,106,46,.22);
  box-shadow:
    0 0 0 38px rgba(255,106,46,.045),
    0 0 0 76px rgba(255,106,46,.028),
    0 0 0 114px rgba(255,106,46,.016),
    0 0 0 155px rgba(255,106,46,.008),
    inset 0 0 50px rgba(255,106,46,.08),
    0 0 120px 20px rgba(255,106,46,.10);
}
/* inner ring lines */
.hero-video-placeholder {
  position: relative;
}

/* ─── INTEGRATION BAND LOGO-ONLY ─────────────────────────────────── */
.int-inner--logos {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
}
.int-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.94) 4%, rgba(0,0,0,.94) 96%, transparent 100%);
}
.int-carousel-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 18px;
  animation-name: studioCarousel;
  animation-duration: 44s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
}
.int-carousel-group {
  display: flex;
  align-items: center;
  gap: 18px;
}
.studio-logo {
  width: 150px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  position: relative;
  opacity: .72;
}
.studio-logo::before,
.studio-logo::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
}
.studio-logo::before {
  top: 18px;
  width: 74px;
  height: 7px;
  background: rgba(255,255,255,.40);
}
.studio-logo::after {
  top: 31px;
  width: 46px;
  height: 5px;
  background: rgba(255,255,255,.22);
}
.studio-logo.ph-a::before { width: 82px; }
.studio-logo.ph-a::after { width: 40px; }
.studio-logo.ph-b::before { width: 58px; }
.studio-logo.ph-b::after { width: 54px; }
.studio-logo.ph-c::before { width: 90px; }
.studio-logo.ph-c::after { width: 28px; }
.studio-logo.ph-d::before { width: 46px; }
.studio-logo.ph-d::after { width: 62px; }
.studio-logo.ph-e::before { width: 66px; }
.studio-logo.ph-e::after { width: 44px; }
.studio-logo.ph-f::before { width: 74px; }
.studio-logo.ph-f::after { width: 34px; }
.studio-logo.ph-g::before { width: 52px; }
.studio-logo.ph-g::after { width: 56px; }
.studio-logo.ph-h::before { width: 86px; }
.studio-logo.ph-h::after { width: 24px; }

@keyframes studioCarousel {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

/* ─── VIEWER SCROLL ZOOM ──────────────────────────────────────────── */
#viewerScrollZone {
  height: 130vh;
  position: relative;
}
#viewerPin {
  position: sticky;
  top: var(--heroTop);
  height: calc(100vh - var(--heroTop));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}
#viewer.section {
  border-top: none;
}
#viewerWrap {
  height: 80vh;
  min-height: 560px;
  max-height: 900px;
}
.viewer-scroll-portal {
  margin-top: -6px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.viewer-scroll-portal.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
#viewer .section-inner {
  max-width: none;
}

/* ─── VIEWER BACKGROUND CANVAS ───────────────────────────────────── */
.viewer-bg-layer {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
#viewerBgCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45;
}
.section.viewer-samples-zone { position: relative; overflow: visible; }
/* Span the bg layer from viewer section down through samples */
.viewer-topo-bg {
  position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}

/* pipeline flow — keep for ticker usage */
.flow-node {
  padding: 6px 10px; border-radius: 10px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; border: 1px solid var(--soft);
  background: rgba(255,255,255,.05); color: var(--muted);
}
.flow-node.act {
  background: rgba(255,106,46,.14); border-color: rgba(255,106,46,.28);
  color: var(--orange2);
}
.flow-arr { color: rgba(255,255,255,.22); font-size: 14px; }
.ribbon { display: none; }

#solves {
  padding-top: 136px;
}
/* ─── PROBLEM SECTION ────────────────────────────────────────────── */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  align-items: start; /* all cards align to top — no stair-step */
}
.problem-grid .panel.pad::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 200px;
  background: radial-gradient(circle at 0% 30%, rgba(255,106,46,.12), transparent 60%);
  pointer-events: none;
}
.prob-num {
  display: inline-flex; padding: 5px 9px; border-radius: var(--r-pill);
  background: rgba(255,106,46,.10); border: 1px solid rgba(255,106,46,.18);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--orange3);
  margin-bottom: 14px;
}
.problem-grid h3 { font-size: 19px; letter-spacing: -.025em; margin-bottom: 8px; line-height: 1.2; }
.problem-grid p  { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ─── COMPARISON ─────────────────────────────────────────────────── */
#comparison {
  --cmp-grid-x: 0px;
  --cmp-grid-y: 0px;
  border-top: none;
  overflow: hidden;
  isolation: isolate;
  position: relative;
}
.comparison-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .58; pointer-events: none;
  z-index: 0;
}
#comparison .section-inner {
  position: relative;
  z-index: 2;
  max-width: none;
  width: min(80vw, 1520px);
}
.compare-wrap { }
.compare-head { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.compare-head h2 { font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -.04em; line-height: 1.02; margin: 12px 0 14px; }
.cmp-toolbar { margin-top: 14px; display: flex; justify-content: center; }
.cmp-sets {
  display: inline-flex; gap: 8px; padding: 5px;
  border-radius: var(--r-pill); border: 1px solid var(--soft);
  background: rgba(255,255,255,.04);
}
.cmp-set-btn {
  height: 34px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid transparent; background: transparent;
  color: #d8e0ee; font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.cmp-set-btn:hover { border-color: var(--soft); background: rgba(255,255,255,.06); }
.cmp-set-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
}
.compare-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 430px;
  max-height: 900px;
  border-radius: var(--r-xl);
  overflow: hidden; border: 1px solid var(--soft); cursor: col-resize;
  user-select: none;
}
.compare-half {
  position: absolute; inset: 0;
  z-index: 1;
}
.compare-before {
  background: url('../images/gallery-cubedude-1.jpg') center / cover no-repeat;
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}
.compare-after {
  background: url('../images/gallery-cubedude-2.jpg') center / cover no-repeat;
}
/* wireframe blob */
.wire-shape {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 300px; height: 300px;
  border-radius: 38% 62% 55% 45% / 46% 40% 60% 54%;
  border: 1.5px solid rgba(255,255,255,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.wire-shape::before {
  content: ''; position: absolute; inset: 16%;
  border-radius: inherit; border: 1px solid rgba(255,255,255,.18);
}
.wire-shape::after {
  content: ''; position: absolute; inset: 32%;
  border-radius: inherit; border: 1px solid rgba(255,255,255,.14);
}
.wire-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px; opacity: .22;
}
/* smooth blob */
.smooth-shape {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 300px; height: 300px;
  border-radius: 38% 62% 55% 45% / 46% 40% 60% 54%;
  background:
    radial-gradient(ellipse 60% 55% at 36% 32%, rgba(255,200,160,.38), transparent 52%),
    radial-gradient(ellipse 28% 18% at 70% 18%, rgba(255,255,255,.09), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(200,90,40,.82) 0%, rgba(140,55,18,.90) 55%, rgba(70,22,8,1) 100%);
  box-shadow:
    0 40px 100px rgba(255,106,46,.28),
    inset 0 0 0 1px rgba(255,255,255,.10);
}
.smooth-shape::before {
  content: ''; position: absolute; inset: 14%;
  border-radius: inherit; border: 1px solid rgba(255,255,255,.18);
}

/* Preset variations for compare visuals */
.compare-stage[data-set="brute"] .wire-shape,
.compare-stage[data-set="brute"] .smooth-shape {
  width: 336px; height: 278px;
  border-radius: 26% 74% 58% 42% / 38% 34% 66% 62%;
}
.compare-stage[data-set="brute"] .compare-before {
  background: url('../images/gallery-dee-1.jpg') center / cover no-repeat;
}
.compare-stage[data-set="brute"] .compare-after {
  background: url('../images/gallery-dee-2.jpg') center / cover no-repeat;
}

/* compare divider + handle */
.cmp-divider {
  position: absolute; inset: 0 auto 0 50%; width: 2px;
  background: linear-gradient(180deg, transparent 4%, rgba(255,255,255,.5) 50%, transparent 96%);
  transform: translateX(-1px); pointer-events: none;
  z-index: 3;
}
.cmp-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(8,10,15,.88); border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: rgba(255,255,255,.8); pointer-events: none;
  letter-spacing: -.05em;
  z-index: 4;
}
.cmp-label {
  position: absolute; bottom: 20px; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px;
  border-radius: var(--r-pill); backdrop-filter: blur(10px);
  z-index: 5;
}
.lbl-before { left: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); }
.lbl-after  { right: 18px; background: rgba(255,106,46,.14); border: 1px solid rgba(255,106,46,.24); color: var(--orange3); }
/* range overlay */
.cmp-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: col-resize; z-index: 10; -webkit-appearance: none; appearance: none; margin: 0;
}
.cmp-note {
  margin-top: 10px;
  margin-left: 4px;
  font-size: 12px;
  color: var(--muted2);
  font-style: italic;
  line-height: 1.4;
  text-align: left;
}
/* claim chips below slider */
.cmp-claims { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ─── WORKFLOW ───────────────────────────────────────────────────── */
.workflow-rail {
  --workflow-gap: 16px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--workflow-gap); position: relative;
}
.step {
  padding: 22px 18px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--soft); position: relative; z-index: 1;
}
.step::after {
  content: '';
  position: absolute;
  top: 38px;
  left: 34px;
  width: calc(100% + var(--workflow-gap));
  height: 2px;
  background: rgba(255,255,255,.12);
  z-index: -1;
}
.step:nth-child(3)::after {
  background: rgba(239,85,44,.65);
}
.step:last-child::after {
  display: none;
}
.step.active {
  background: linear-gradient(180deg, rgba(255,106,46,.10), rgba(255,106,46,.04));
  border-color: rgba(255,106,46,.28);
}
.step.active .step-num { background: rgba(255,106,46,.18); border-color: rgba(255,106,46,.30); color: var(--orange2); }
.step.outcome .step-num { background: rgba(108,232,207,.12); border-color: rgba(108,232,207,.22); color: var(--teal); }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: rgba(255,255,255,.07);
  border: 1px solid var(--soft); font-size: 11px; font-weight: 700;
  margin-bottom: 14px; letter-spacing: .04em;
}
.step strong { display: block; font-size: 14px; margin-bottom: 7px; letter-spacing: -.01em; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── INTEGRATION BAND ───────────────────────────────────────────── */
.int-band {
  border: none;
  padding: 44px 0;
  background: transparent;
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}
.int-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
}
.int-inner.int-inner--logos {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
}
.int-stat .stat-num {
  font-size: 72px; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block;
}
.int-stat .stat-label { font-size: 15px; color: var(--muted); margin-top: 4px; max-width: 220px; line-height: 1.45; }
.int-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.logo-pill {
  height: 66px; padding: 0 20px; border-radius: 18px; border: 1px solid var(--soft);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.03); font-weight: 800; letter-spacing: .11em;
  font-size: 12.5px; color: #d8e0ee; transition: border-color .18s, background .18s;
}
.logo-pill:hover { border-color: var(--line); background: rgba(255,255,255,.055); }

/* ─── VIEWER ─────────────────────────────────────────────────────── */
.viewer-wrap {
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 4fr); min-height: 500px;
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
}
.viewer-controls {
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(13,15,20,.97), rgba(10,12,17,.97));
}

/* Viewer explanatory and helper text */
.viewer-info {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 520px;
}
.viewer-help {
  font-size: 11px !important;
  color: var(--muted2);
  opacity: 0.7;
  text-align: center;
  margin: 28px auto 18px;
  max-width: 760px;
}
.viewer-controls h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; margin: 10px 0 12px; }
.viewer-controls p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.mesh-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mesh-btn { height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
.mesh-btn.active {
  background: rgba(255,106,46,.14); border-color: rgba(255,106,46,.30);
  color: var(--orange2);
}
.viewer-ctrl-row { display: flex; flex-direction: column; gap: 14px; }
.ctrl-label { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.ctrl-label span { display: flex; justify-content: space-between; }
.ctrl-label em { color: var(--orange2); font-style: normal; font-weight: 700; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  border-radius: 4px; background: rgba(255,255,255,.10); outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  cursor: pointer; box-shadow: 0 0 0 3px rgba(255,106,46,.18);
}
.ctrl-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ctrl-btns .btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11.5px;
  letter-spacing: .04em;
}
.ctrl-btns .btn.active {
  background: rgba(255,106,46,.14);
  border-color: rgba(255,106,46,.34);
  color: var(--orange2);
  box-shadow: 0 0 0 1px rgba(255,106,46,.14) inset;
}
.viewer-stage {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(circle at 60% 35%, rgba(255,106,46,.18), transparent 36%),
    radial-gradient(circle at 28% 68%, rgba(120,183,255,.12), transparent 32%),
    linear-gradient(180deg, #0e1016, #0a0c12);
}
#viewerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  display: flex; align-items: center; gap: 7px; padding: 7px 12px;
  border-radius: var(--r-pill); background: rgba(8,10,15,.80);
  border: 1px solid rgba(255,255,255,.10); font-size: 11.5px; font-weight: 600;
  backdrop-filter: blur(10px);
}
.viewer-stats {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8,10,15,.82);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #cfd7e4;
  backdrop-filter: blur(10px);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(127,240,160,.18);
  animation: pulse-live 2s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 3px rgba(127,240,160,.20); }
  50% { box-shadow: 0 0 0 7px rgba(127,240,160,.08); }
}

/* ─── SAMPLES ────────────────────────────────────────────────────── */
#samples {
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      140deg,
      rgba(239,85,44,.12) 0%,
      rgba(239,85,44,.07) 20%,
      rgba(239,85,44,.04) 38%,
      rgba(239,85,44,.015) 54%,
      rgba(239,85,44,0) 72%
    );
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 190% 190%;
}
#samples > .section-inner {
  position: relative;
  z-index: 1;
}
.samples-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,46,.20), rgba(255,106,46,.06) 42%, transparent 70%);
  top: -240px;
  right: -210px;
  filter: blur(26px);
  opacity: .58;
  pointer-events: none;
  z-index: 0;
  animation: samplesOrbDriftA 26s ease-in-out infinite alternate;
  will-change: transform;
}
.samples-orb-b {
  width: 460px;
  height: 460px;
  top: auto;
  bottom: -180px;
  left: -180px;
  right: auto;
  opacity: .45;
  background: radial-gradient(circle, rgba(120,183,255,.20), rgba(120,183,255,.06) 44%, transparent 72%);
  animation: samplesOrbDriftB 31s ease-in-out infinite alternate;
}
@keyframes samplesOrbDriftA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(-12px, 10px, 0) scale(1.02); }
  66%  { transform: translate3d(10px, -14px, 0) scale(.985); }
  100% { transform: translate3d(-6px, 8px, 0) scale(1.01); }
}
@keyframes samplesOrbDriftB {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  30%  { transform: translate3d(14px, -10px, 0) scale(1.015); }
  70%  { transform: translate3d(-10px, 14px, 0) scale(.99); }
  100% { transform: translate3d(8px, -6px, 0) scale(1.008); }
}
.samples-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: start; }
.samples-specs {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 13.5px;
  color: var(--muted);
  min-width: 220px;
}
.samples-specs .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--soft);
}
.samples-buy-btn {
  width: 100%;
  margin-top: 16px;
}
.sample-visual {
  height: 180px; border-radius: 16px; margin-bottom: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,106,46,.20), transparent 28%),
    linear-gradient(135deg, #131722, #0b0d13);
  border: 1px solid var(--soft); position: relative; overflow: hidden;
}
.sample-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .14;
}
.sample-visual.blue {
  background:
    radial-gradient(circle at 70% 30%, rgba(120,183,255,.20), transparent 28%),
    linear-gradient(135deg, #101521, #0b0d13);
}
.plan-list { list-style: none; margin: 14px 0 0; display: grid; gap: 8px; }
.plan-list li { font-size: 13.5px; color: var(--muted); padding-left: 16px; position: relative; }
.plan-list li::before { content: '\00B7'; position: absolute; left: 0; color: var(--orange3); font-size: 18px; line-height: 1; }
.sample-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 13px; color: var(--orange); font-weight: 700;
  padding: 8px 12px; border-radius: 12px;
  border: 1px solid rgba(255,106,46,.18);
  background: rgba(255,106,46,.06);
  transition: gap .18s, background .18s, border-color .18s, box-shadow .18s, color .18s;
}
.sample-link:hover {
  gap: 10px;
  color: #ffe1d3;
  background: rgba(255,106,46,.18);
  border-color: rgba(255,106,46,.42);
  box-shadow: 0 10px 28px rgba(239,85,44,.20);
}
.spec-table { display: grid; gap: 0; margin: 14px 0 0; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--soft); font-size: 13px; }
.spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--muted); }
.spec-val { font-weight: 600; text-align: right; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: center; }
.logo-strip .logo-pill { height: 58px; padding: 0 16px; font-size: 12px; }

/* ─── DEVELOPER ECOSYSTEM ────────────────────────────────────────── */
.section.section-wide .section-inner {
  max-width: min(1480px, 100vw);
}
.dev-section .section-inner {
  display: grid;
  gap: 28px;
}
.dev-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 24px;
  align-items: end;
}
.dev-head .sec-head p {
  max-width: 720px;
}
.dev-head-note {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dev-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dev-tiles-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.dev-tile {
  padding: 20px; border-radius: 18px; border: 1px solid var(--soft);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  transition: border-color .18s, background .18s;
}
.dev-tile:hover { border-color: var(--line); background: rgba(255,255,255,.05); }
.tile-icon {
  width: 30px; height: 30px; border-radius: 9px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.tile-icon.orange { background: rgba(255,106,46,.14); border: 1px solid rgba(255,106,46,.22); }
.tile-icon.blue   { background: rgba(120,183,255,.12); border: 1px solid rgba(120,183,255,.20); }
.tile-icon.teal   { background: rgba(108,232,207,.12); border: 1px solid rgba(108,232,207,.20); }
.tile-icon.soft   { background: rgba(255,255,255,.06); border: 1px solid var(--soft); }
.dev-tile h3 { font-size: 16px; margin-bottom: 6px; letter-spacing: -.01em; }
.dev-tile p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.tile-link { font-size: 12.5px; color: var(--orange); font-weight: 600; transition: letter-spacing .18s; }
.tile-link:hover { letter-spacing: .02em; }
.dev-articles { display: flex; flex-direction: column; }
.article-item { padding: 18px 0; border-bottom: 1px solid var(--soft); }
.article-item:last-child { border-bottom: none; }
.article-item h3 { font-size: 16px; margin: 8px 0 6px; letter-spacing: -.01em; }
.article-item p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.art-link { font-size: 12.5px; color: var(--orange); font-weight: 600; }
.portal-strip {
  margin: 18px 0px; padding: 14px 18px; border-radius: 16px;
  background: rgba(255,106,46,.07); border: 1px solid rgba(255,106,46,.16);
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px;
  max-width: 60%; margin-left: auto; margin-right: auto;
}
.portal-strip p { font-size: 13.5px; color: var(--muted); line-height: 1.55; text-align: left; flex: 1; }
.portal-strip .sample-link { flex-shrink: 0; margin-top: 0; }
.portal-strip strong { color: var(--text); }

/* ─── NEWSLETTER + ARTICLES ─────────────────────────────────────── */
.news-section {
  position: relative;
  padding: 64px 0;
  background: var(--orange);
  border-top: none;
  border-bottom: none;
  box-shadow: none;
  overflow: hidden;
}

.news-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/Slide%2016_9%20-%20Inverse.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.80;
  z-index: 0;
  pointer-events: none;
}

.news-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.25) 100%);
  z-index: 0;
  pointer-events: none;
}

.news-section .section-inner {
  position: relative;
  z-index: 1;
}

.newsletter-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inline h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 0;
  max-width: 44ch;
  color: #fff;
}

.newsletter-form-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 440px;
}

.newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  outline: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,.50);
  font-weight: 400;
}

.newsletter-input:focus {
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.14);
  box-shadow: 0 0 0 3px rgba(255,255,255,.10);
}

.newsletter-form-inline .btn {
  height: 52px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.newsletter-form-inline .btn.primary,
.newsletter-form-inline .btn.sm {
  background: rgba(0,0,0,.50);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.20);
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.newsletter-form-inline .btn.primary:hover,
.newsletter-form-inline .btn.sm:hover {
  background: rgba(0,0,0,.68);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
}

.news-rotator {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  margin: 8px 0 0;
  padding: 0;
  text-align: center;
}

.news-rotator-kicker {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}

.news-rotator-kicker { order: 1; }

.news-rotator-stage {
  position: relative;
  min-height: 36px;
  flex: 0 1 560px;
  width: min(100%, 560px);
  order: 2;
}

.news-rotator-title {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.65);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-decoration: none;
}

.news-rotator-title:hover {
  color: rgba(255,255,255,.90);
}

.news-rotator-title.is-active {
  opacity: 1;
  z-index: 2;
}

.news-rotator-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  order: 3;
}
.news-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.30);
  cursor: pointer;
  transition: background .18s;
  padding: 0;
}
.news-dot:hover {
  background: rgba(255,255,255,.55);
}
.news-dot.active {
  background: #ffffff;
}
.news-read-more {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ─── PRICING ────────────────────────────────────────────────────── */
.pricing-toggle-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.toggle-pill {
  display: inline-flex;
  padding: 5px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--soft);
}

.toggle-pill button {
  height: 38px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #d8e0ee;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  transition: background .2s, color .2s;
}

.toggle-pill button.active {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255,106,46,.25);
}
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 18px; align-items: start;
}
/* Featured/elevated card */
.pricing-card {
  position: relative;
}
.pricing-card .panel {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.pricing-card:hover .panel {
  transform: translateY(-10px);
  border-color: rgba(255,106,46,.28);
  box-shadow:
    0 0 0 1px rgba(255,106,46,.12),
    0 28px 90px rgba(255,106,46,.20),
    var(--shadow);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
}
.popular-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); z-index: 2;
  white-space: nowrap; padding: 6px 14px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 6px 20px rgba(255,106,46,.30);
}
.plan-name { font-size: 26px; letter-spacing: -.025em; margin: 10px 0 4px; }
.plan-price {
  display: grid;
  gap: 6px;
  margin: 12px 0 4px;
}
.plan-price.featured-price {
  color: #fff;
}
.plan-price-main {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
}
.plan-price.featured-price .plan-price-main {
  background: linear-gradient(135deg, var(--orange2), var(--orange3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.plan-price-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  color: rgba(216,224,238,.72);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.plan-price.featured-price .plan-price-note {
  border-color: rgba(255,106,46,.22);
  background: rgba(255,106,46,.10);
  color: rgba(255,232,223,.82);
}
.plan-strike {
  font-size: 12px;
  opacity: .68;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
}
.plan-price-custom .plan-price-main {
  font-size: 32px;
  letter-spacing: -.03em;
}
.plan-qualifier { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan-features { list-style: none; display: grid; gap: 9px; margin: 16px 0; }
.plan-features li { font-size: 13.5px; color: var(--muted); padding-left: 17px; position: relative; }
.plan-features li::before { content: '\00B7'; position: absolute; left: 0; color: var(--orange3); font-size: 18px; line-height: 1; }
.featured-card .plan-features li::before,
.pricing-card:hover .plan-features li::before { color: var(--orange2); }
.plan-cta {
  margin-top: 18px; width: 100%;
  transition: background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.pricing-card:hover .plan-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255,106,46,.24);
}
.indie-flag {
  margin-top: 18px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(23, 201, 100, .20);
  background: linear-gradient(128deg, rgba(23, 201, 100, .20), rgba(23, 201, 100, .15));
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(202, 255, 225, .96);
  text-align: center;
}
.indie-flag a {
  color: #7ef0b4;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.indie-flag a:hover {
  color: #b6ffd8;
}
.save-chip {
  display: inline-flex; padding: 3px 8px; border-radius: var(--r-pill);
  background: rgba(108,232,207,.12); border: 1px solid rgba(108,232,207,.20);
  font-size: 11px; font-weight: 700; color: var(--teal); margin-left: 8px;
  vertical-align: middle;
}

/* ─── ROADMAP ────────────────────────────────────────────────────── */
.roadmap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.roadmap-grid .panel.pad {
  background: linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.014));
  padding: 32px;
}
.roadmap-grid h3 { font-size: 22px; letter-spacing: -.02em; margin: 12px 0 10px; }
.roadmap-grid p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq-col { max-width: 680px; margin: 0 auto; }
.faq-item {
  position: relative;
  border-bottom: 1px solid var(--soft);
  padding-left: 0;
  transition: padding-left .26s ease;
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255,106,46,.55);
  transform: scaleY(.2);
  transform-origin: top;
  opacity: 0;
  transition: transform .28s ease, opacity .22s ease;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 20px 0; cursor: pointer;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  transition: color .18s;
}
.faq-q:hover { color: #fff; }
.faq-toggle {
  position: relative;
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid var(--soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 0; line-height: 1;
  color: #d7deed;
  transition: background .18s, border-color .18s, color .18s;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .26s ease;
}
.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.open .faq-toggle {
  background: rgba(255,106,46,.14);
  border-color: rgba(255,106,46,.22);
  color: #ffe1d3;
}
.faq-item.open .faq-toggle::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.faq-item.open {
  padding-left: 14px;
  border-bottom-color: var(--soft);
}
.faq-item.open::before {
  transform: scaleY(1);
  opacity: 1;
}
.faq-a {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  padding: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  transition: max-height .34s ease, opacity .24s ease, transform .24s ease, padding .24s ease;
}
.faq-item.open .faq-a {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  padding: 0 0 18px;
}

/* ─── FINAL CTA ──────────────────────────────────────────────────── */
.final-cta-section { padding: 72px 0; }
.final-cta-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 22px;
}
.final-cta-panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--soft);
  padding: 80px 40px;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(255,106,46,.20), transparent 40%),
    radial-gradient(ellipse at 85% 22%, rgba(120,183,255,.14), transparent 36%),
    linear-gradient(180deg, rgba(14,16,22,.99), rgba(10,12,17,.99));
  box-shadow: 0 40px 100px rgba(0,0,0,.45);
  text-align: center;
}
.final-cta-panel::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .08; pointer-events: none;
}
.cta-eyebrow { margin-bottom: 18px; }
.cta-h2 {
  font-size: clamp(40px, 5.5vw, 66px); letter-spacing: -.05em; line-height: .97;
  max-width: 680px; margin: 0 auto 18px;
}
.cta-sub {
  font-size: 17px; color: var(--muted); max-width: 460px; margin: 0 auto 32px;
  line-height: 1.65;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.cta-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.trust-chip {
  font-size: 12px; color: var(--muted2); padding: 5px 12px;
  border-radius: var(--r-pill); border: 1px solid var(--soft);
  background: rgba(255,255,255,.03);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer { padding: 70px 0 80px; border-top: 1px solid var(--soft); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(5, 1fr); gap: 24px; }
.footer-col h4 { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: #c2ccdc; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; margin-bottom: 11px; color: var(--muted); font-size: 13.5px; transition: color .18s; }
.footer-col a:hover { color: var(--text); }
.footer-col a.footer-link-with-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-soon-chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,106,46,.22);
  background: rgba(255,106,46,.10);
  color: var(--orange3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}
.social-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.social-chip {
  width: 40px; height: 40px; padding: 0; border-radius: 999px;
  border: 1px solid var(--soft); background: rgba(255,255,255,.03);
  font-size: 16px; color: var(--muted); transition: background .18s, color .18s, border-color .18s, transform .18s;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0;
}
.footer-col a.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  line-height: 1;
}
.social-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}
.social-chip:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,106,46,.28);
  color: var(--text);
  transform: translateY(-1px);
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--soft);
}
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.legal-chip {
  font-size: 12px;
  color: var(--muted2);
  padding: 0;
  border: none;
  background: transparent;
  transition: color .18s;
  margin-bottom: 0;
}
.legal-chip:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted2); }

/* ─── GRID UTILITIES ──────────────────────────────────────────────── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }

/* ─── REVEAL ANIMATION ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.vis { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .10s; }
.reveal-d2 { transition-delay: .20s; }
.reveal-d3 { transition-delay: .30s; }

.mega-products {
  width: min(900px, calc(100vw - 40px));
}
.mega-grid-preview {
  grid-template-columns: 330px minmax(0, 1fr);
}

.mega-preview-side {
  display: flex; flex-direction: column; gap: 0; padding: 20px 22px;
}
.mega-preview-img-area {
  position: relative; aspect-ratio: 16 / 9; height: auto; border-radius: 18px;
  overflow: hidden; border: 1px solid var(--soft); margin-bottom: 14px;
  flex-shrink: 0;
}
.mega-prod-img {
  width: 100%; height: 100%;
  transition: opacity .18s ease;
}
.mega-prod-img[data-active="subdivs"] {
  background: url('../images/product-ozone-subdivs.png') center / cover no-repeat;
}
.mega-prod-img[data-active="studio"] {
  background: url('../images/product-ozone-studio.png') center / cover no-repeat;
}
.mega-prod-img[data-active="engine"] {
  background: url('../images/product-ozone-avatar.jpg') center / cover no-repeat;
}
.mega-prod-img { position: relative; }

.mega-preview-meta { transition: opacity .18s ease; }
.mega-preview-meta.switching { opacity: 0; }
.mega-preview-title {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: #bec8dc; margin-bottom: 10px;
}

/* Active product item highlight */
.mega-item.is-active-product {
  border-color: var(--line);
  background: rgba(255,255,255,.048);
}

/* ─── COMPANY DROPDOWN ────────────────────────────────────────────── */
.mega-company {
  width: min(300px, calc(100vw - 40px));
}
.mega-company .mega-main {
  padding: 20px 22px;
}
/* Company links: plain text with dividers */
.mega-item-sm {
  padding: 10px 0;
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #dce3f0;
  border-bottom: 1px solid var(--soft);
  transition: color .16s;
}
.mega-item-sm:last-child { border-bottom: none; }
.mega-item-sm:hover { color: #ffffff; }
.mega-item-sm strong { font-size: 13px; }
.mega-item-sm span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.mega-company .mega-list { gap: 0; }

/* ─── HERO WIDE-SCREEN ADJUSTMENTS ───────────────────────────────── */
/* On very wide viewports keep the text column from overextending */
@media (min-width: 1400px) {
  .hero-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 44px;
  }
}
@media (min-width: 1600px) {
  .hero-grid { padding: 80px 0 64px; }
}

@media (max-width: 1024px) {
  .nav .search-chip { display: none; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-grid, .viewer-wrap, .dev-grid { grid-template-columns: 1fr; }
  .dev-head,
  .news-layout { grid-template-columns: 1fr; }
  .dev-head-note { justify-content: flex-start; }
  .dev-tiles-wide,
  .news-grid { grid-template-columns: 1fr 1fr; }
  .viewer-stage { min-height: 340px; }
  #viewerScrollZone { height: auto; }
  #viewerPin {
    position: static;
    height: auto;
    overflow: visible;
  }
  #viewerWrap {
    width: 100%;
    height: auto;
    max-width: none;
    min-height: 0;
  }
  .viewer-scroll-portal {
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .workflow-rail { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .int-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .hero-news-thumb { height: 120px; }
}
@media (max-width: 820px) {
  /* ── Announcement bar marquee ── */
  .ann {
    font-size: 11px;
    gap: 0;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0;
  }
  .ann-pill { font-size: 10px; }
  .ann-track {
    display: flex;
    gap: 60px;
    animation: ann-marquee 22s linear infinite;
    white-space: nowrap;
  }
  .ann-content { display: inline-flex; }
  .ann-content:nth-child(2) { display: inline-flex; }

  /* ── Mobile header bar ── */
  .nav-links { display: none; }
  .nav .search-chip { display: none; }
  .nav-swap-btn,
  .nav-login-action { display: none; }
  .nav-right .btn.primary.sm { display: none; }
  .nav { height: 60px; padding: 0 16px; }
  .nav-right { margin-left: auto; }
  .brand-logo { width: 100px; }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .35s cubic-bezier(.4,.0,.2,1), opacity .25s ease;
    transform-origin: center;
  }
  .mobile-menu-btn.is-open .menu-line:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }
  .mobile-menu-btn.is-open .menu-line:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  /* ── Mobile menu overlay ── */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 92px; /* 32px ann + 60px nav */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 105;
    background: rgba(7,9,13,.97);
    backdrop-filter: blur(28px) saturate(120%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s cubic-bezier(.4,.0,.2,1);
  }
  body.ann-hidden .mobile-menu { top: 60px; }
  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-inner {
    position: relative;
    overflow: hidden;
    min-height: 100%;
  }

  .mobile-menu-main {
    padding: 32px 24px 48px;
    transition: transform .35s cubic-bezier(.4,.0,.2,1), opacity .3s ease;
  }
  .mobile-menu-main.sub-active {
    transform: translateX(-60px);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.035em;
    line-height: 1.1;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s ease, transform .4s ease, color .18s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-item:active { color: var(--orange2); }

  /* Staggered entrance */
  .mobile-menu.is-open .mobile-nav-item:nth-child(1) { opacity: 1; transform: none; transition-delay: .06s; }
  .mobile-menu.is-open .mobile-nav-item:nth-child(2) { opacity: 1; transform: none; transition-delay: .12s; }
  .mobile-menu.is-open .mobile-nav-item:nth-child(3) { opacity: 1; transform: none; transition-delay: .18s; }
  .mobile-menu.is-open .mobile-nav-item:nth-child(4) { opacity: 1; transform: none; transition-delay: .24s; }

  .mobile-nav-arrow {
    font-size: 24px;
    opacity: .3;
    font-weight: 400;
    transition: opacity .18s;
  }
  .mobile-nav-item:hover .mobile-nav-arrow { opacity: .6; }

  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease .28s, transform .4s ease .28s;
  }
  .mobile-menu.is-open .mobile-menu-actions {
    opacity: 1;
    transform: none;
  }
  .mobile-nav-login {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.035em;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
  }
  .mobile-menu-cta {
    width: 100%;
    text-align: center;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-pill);
    font-size: 16px;
    font-weight: 700;
  }
  .mobile-menu-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.05);
    color: rgba(230,234,244,.38);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: background .18s, border-color .18s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-menu-search:active {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
  }
  .mobile-menu-search i {
    font-size: 14px;
    opacity: .5;
  }

  /* ── Mobile sub-pages (slide from right) ── */
  .mobile-sub {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 24px 48px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform .35s cubic-bezier(.4,.0,.2,1), opacity .3s ease;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-sub.is-active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-sub-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    color: var(--orange2);
    font-weight: 600;
    background: none;
    border: none;
    padding: 0 0 24px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: -.01em;
  }
  .mobile-sub-back:active { opacity: .7; }
  .mobile-sub h4 {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted2);
    margin: 0 0 16px;
    font-weight: 600;
  }
  .mobile-sub-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: #e6eaf4;
    border-bottom: 1px solid rgba(255,255,255,.06);
    text-decoration: none;
    transition: color .18s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-sub-item:active { color: var(--orange2); }
  .mobile-sub-item span {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
  }
  .mobile-sub-item strong {
    font-weight: 700;
  }

  /* Body scroll lock */
body.mobile-menu-open { overflow: hidden; }

.newsletter-form-inline { flex-wrap: wrap; }
.newsletter-form-row { display: flex; gap: 8px; width: 100%; }
.newsletter-form-row .newsletter-input { flex: 1; }
.newsletter-consent { width: 100%; margin-top: 10px; font-size: 11px; line-height: 1.4; color: rgba(255,255,255,.55); }
.newsletter-consent label { display: flex; align-items: flex-start; gap: 6px; cursor: pointer; }
.newsletter-consent input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--orange); }
.newsletter-consent a { color: rgba(255,255,255,.7); text-decoration: underline; }
.hero-news-card-link { display: flex; text-decoration: none; color: inherit; height: 100%; }
.hero-news-card-link:hover { text-decoration: none; }
  h1 { font-size: 48px; }
  .hero-subhead { font-size: 22px; }
  .hero-swiper-indicators { gap: 10px; padding-bottom: 20px; }
  .hero-indicator-label { font-size: 11px; margin-bottom: 7px; }
  .hero-grid, .g2, .g3, .samples-grid, .pricing-grid, .problem-grid,
  .roadmap-grid, .workflow-rail, .dev-tiles, .dev-tiles-wide, .news-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { margin: 0; }
  .hero-stage { min-height: 0; padding-bottom: 56px; }
  .hero-video-wrap {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .hero-grant-badge {
    right: 10px;
    bottom: 4px;
    max-width: calc(100% - 20px);
  }
  .hero-grant-logos {
    gap: 4px;
  }
  .grant-logo {
    width: auto;
    height: auto;
  }
  .grant-logo-img {
    width: 21px;
    height: 21px;
  }
  .grant-logo.epic .grant-logo-img {
    width: 20px;
    height: 20px;
  }
  .hero-grant-text {
    font-size: 10.5px;
  }
  .sub-nav {
    padding: 0 12px;
    top: 92px;
  }
  body.ann-hidden .sub-nav { top: 60px; }
  :root { --anchor-offset: 148px; }
  .compare-stage {
    height: 380px;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }
  .cmp-sets { width: 100%; justify-content: center; }
  .compare-head h2 { font-size: 32px; }
  .section { padding: 64px 0; }
  .final-cta-panel { padding: 52px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-news-card { width: 100%; grid-template-columns: 1fr; }
  .hero-news-thumb { min-height: 130px; }
  .hero-news-card h3 { font-size: 15px; }
  .hero-news-body { padding: 14px 16px 16px; }
  .portal-strip { align-items: flex-start; flex-direction: column; }
  .newsletter-form-inline { flex-direction: column; }
  .newsletter-form-inline .btn { width: 100%; }
  .news-rotator {
    flex-direction: column;
    gap: 8px;
  }
  .news-rotator-stage { min-height: 40px; }
  .news-read-more { width: fit-content; }
  .samples-orb {
    width: 520px;
    height: 520px;
    right: -170px;
    top: -150px;
    opacity: .5;
  }
  .samples-orb-b {
    width: 320px;
    height: 320px;
    left: -120px;
    top: auto;
    bottom: -110px;
    opacity: .3;
  }
  #samples {
    background-size: 250% 165%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .samples-orb,
  .samples-orb-b {
    animation: none;
  }
  .ann-track { animation: none; }
}

/* ── Announcement marquee keyframes ── */
@keyframes ann-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 30px)); }
}

/* Ozone Subdivs v5 hero overrides moved from inline style block */
.hero-grid-single {
  grid-template-columns: 1fr;
  gap: 0;
  padding-bottom: 0;
}
.hero-grid-single > .reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* keep the reveal column centered and prevent overflow on very wide viewports */
  width: 100%;
  max-width: var(--hero-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.hero-grid-single h1 {
  max-width: 1100px;
}
.hero-grid-single .hero-lead {
  max-width: 720px;
}
.hero-grid-single .hero-actions {
  justify-content: center;
}
.hero-grid-single .hero-chips {
  justify-content: center;
}
#solves .section-inner,
#viewer .section-inner,
#workflow .section-inner,
#samples > .section-inner,
#licensing .section-inner,
#faq .section-inner {
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px) {
  #solves .section-inner,
  #viewer .section-inner,
  #workflow .section-inner,
  #samples > .section-inner,
  #licensing .section-inner,
  #faq .section-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 768px) {
  #solves .section-inner,
  #viewer .section-inner,
  #workflow .section-inner,
  #samples > .section-inner,
  #licensing .section-inner,
  #faq .section-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (min-width: 1024px) {
  #solves .section-inner,
  #viewer .section-inner,
  #workflow .section-inner,
  #samples > .section-inner,
  #licensing .section-inner,
  #faq .section-inner {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1280px) {
  #solves .section-inner,
  #viewer .section-inner,
  #workflow .section-inner,
  #samples > .section-inner,
  #licensing .section-inner,
  #faq .section-inner {
    padding-left: 0;
    padding-right: 0;
  }
}
.hero-stage-inline {
  width: min(85vw, var(--hero-video-max));
  max-width: 100%;
  margin: 50px auto 0;
  padding-bottom: 0;
}
@media (min-width: 821px) {
  .hero-stage-inline {
    position: sticky;
    top: calc(50vh - 24vw);
    z-index: 106;
  }
}
.hero-stage-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 14px;
}
.hero-stage-inline {
  --hero-video-progress: 0;
}
.hero-video-wrap {
  position: relative;
  z-index: 106;
  width: min(clamp(70vw, calc(70vw + (15vw * var(--hero-video-progress))), 85vw), 100%);
  max-width: var(--hero-video-max);
  margin: 0 auto;
  transform-origin: center center;
  transform: perspective(1400px) rotateX(calc((1 - var(--hero-video-progress)) * 7deg));
  transition: none;
  will-change: width, transform;
}
.hero-stage-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 18px;
  width: min(clamp(70vw, calc(70vw + (15vw * var(--hero-video-progress))), 85vw), 100%);
  max-width: var(--hero-video-max);
  margin: 0 auto;
  position: relative;
  z-index: 106;
}
.hero-features-label {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-align: right;
  padding-right: 12px;
  padding-top: 0;
}
.hero-video-label-float {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  z-index: 4;
}
.hero-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #06080f;
}
.hero-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(8,10,16,.56);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  transition: opacity .22s ease, transform .22s ease, background .18s ease;
}
.hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(8,10,16,.74);
}
.hero-video-wrap.is-playing .hero-play-btn {
  opacity: 0;
  pointer-events: none;
}
.hero-audio-btn {
  position: absolute;
  right: 14px;
  top: 14px;
  height: 40px;
  padding: 0 15px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(8,10,16,.60);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background .18s, border-color .18s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-audio-btn:hover {
  background: rgba(8,10,16,.78);
  border-color: rgba(255,255,255,.38);
}
.hero-volume-container {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.hero-audio-btn {
  position: relative;
  top: auto;
  right: auto;
  transition: all .28s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-volume-slider {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.2);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  align-self: center;
  transition: opacity .28s ease, visibility .28s ease;
}
.hero-volume-container.is-unmuted .hero-volume-slider {
  opacity: 1;
  visibility: visible;
}
.hero-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}
.hero-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
}
.hero-grant-badge-below {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  margin-left: 0;
}
.hero-grant-badge-below .hero-grant-logos {
  gap: 10px;
}
.hero-grant-badge-below .grant-logo-img {
  width: 64px;
  height: 64px;
}
.hero-grant-badge-below .grant-logo.epic .grant-logo-img {
  width: 60px;
  height: 60px;
}
.hero-grant-badge-below .hero-grant-text {
  font-size: 19px;
  letter-spacing: .02em;
  font-weight: 700;
}

/* ── Theater-mode (scroll-driven sticky video) ─────────────────── */
.hero-theater-backdrop {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: none;
  will-change: opacity;
}
.hero-theater-runway {
  display: none;
}
@media (min-width: 821px) {
  .hero-theater-runway {
    display: block;
    height: 100px;
    pointer-events: none;
  }
}

@media (max-width: 820px) {
  .hero-stage-inline {
    width: 100%;
    max-width: 90vw;
    position: static;
  }
  .hero-play-btn {
    width: 62px;
    height: 62px;
    font-size: 24px;
  }
  .hero-video-wrap {
    width: 90vw;
    max-width: 90vw;
    transform: none;
  }
  .hero-stage-bottom {
    max-width: 90vw;
  }
  .hero-grant-badge-below .grant-logo-img {
    width: 48px;
    height: 48px;
  }
  .hero-grant-badge-below .grant-logo.epic .grant-logo-img {
    width: 45px;
    height: 45px;
  }
  .hero-grant-badge-below .hero-grant-text {
    font-size: 13px;
  }
  .hero-features-label {
    font-size: 11px;
  }
}

/* WordPress marketing cleanup overrides */
header .brand {
  padding-left: 8px;
}

.search-chip {
  border-radius: var(--r-pill);
}

.kicker.orange,
.mobile-nav-item:active,
.mobile-sub-back,
.mobile-sub-item:active {
  color: var(--orange);
}

.homepage .hero-indicator,
.homepage .hero-indicator:hover,
.homepage .hero-indicator:focus {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  transform: none;
}

.homepage .hero-indicator-fill {
  display: block;
  transform-origin: left center;
}

.homepage .hero-video-wrap {
  width: min(100%, 760px);
  margin-left: auto;
}

.homepage .hero-video-placeholder {
  min-height: 0;
  border: 0;
}

.hero-video-placeholder-media {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
  background: #090b11;
}

.hero-home-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.hero-home-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(5,7,11,.08), rgba(5,7,11,.38));
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transition: top .18s ease, right .18s ease, width .18s ease, height .18s ease, border-radius .18s ease, background .18s ease, color .18s ease;
}

.hero-video-placeholder-media.is-playing .hero-home-play {
  inset: auto;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(7, 9, 14, .72);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.hero-placeholder-studio,
.hero-placeholder-engine {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-placeholder-studio {
  background-image: url("../images/product-ozone-studio.png");
}

.hero-placeholder-engine {
  background-image: url("../images/ozone-avatar.jpg");
}

.hero-placeholder-studio::before,
.hero-placeholder-studio::after,
.hero-placeholder-engine::before,
.hero-placeholder-engine::after {
  display: none;
}

.homepage .hero-news {
  max-width: var(--hero-max);
  margin: 0 auto;
}

.hero-news-header {
  padding: 0 8px;
}

.hero-news-label {
  text-align: left;
}

.hero-news-arrows {
  flex: 0 0 auto;
}

.hero-news-arrow {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  line-height: 1;
}

.hero-news-card-link {
  display: grid;
  grid-template-columns: 1fr 2fr;
  width: 100%;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

.hero-news-thumb.has-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.newsletter-form-inline {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(108px, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 560px;
}

.newsletter-form-inline .newsletter-input {
  width: 100%;
}

.newsletter-form-inline .btn {
  width: 100%;
  min-width: 0;
  padding-left: 14px;
  padding-right: 14px;
}

.newsletter-consent {
  grid-column: 1 / -1;
  width: 100%;
  opacity: .8;
  font-size: 13px;
  line-height: 1.4;
}

.ozone-standard-page {
  box-sizing: border-box;
  width: min(100% - 48px, 1400px);
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 150px 32px 72px !important;
}

.ozone-standard-page .pjs-content {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.ozone-standard-page .pjs-content > *:first-child {
  margin-top: 0;
}

.post-type-archive-news #updates,
.tax-news-category #updates,
.post-type-archive-updates #updates,
.tax-updates-category #updates {
  padding-top: 76px;
}

.post-type-archive-news #news > div,
.tax-news-category #news > div,
.post-type-archive-updates #news > div,
.tax-updates-category #news > div {
  max-width: 1160px;
}

.post-type-archive-news .search-landing-result > div,
.tax-news-category .search-landing-result > div,
.post-type-archive-updates .search-landing-result > div,
.tax-updates-category .search-landing-result > div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: 20px;
  border-left: 2px solid rgba(252,252,252,.2);
  padding-bottom: 120px;
}

.post-type-archive-news .search-landing-result > div > div:first-child,
.tax-news-category .search-landing-result > div > div:first-child,
.post-type-archive-updates .search-landing-result > div > div:first-child,
.tax-updates-category .search-landing-result > div > div:first-child {
  max-width: 330px;
  min-width: 0;
}

.post-type-archive-news .search-landing-result > div > div:last-child,
.tax-news-category .search-landing-result > div > div:last-child,
.post-type-archive-updates .search-landing-result > div > div:last-child,
.tax-updates-category .search-landing-result > div > div:last-child {
  min-width: 0;
}

.widget--sticky {
  z-index: 2;
}

/* Legacy Ozone page panels */
#welcome-about,
#icons,
#imageViewer,
#core-values,
#company {
  position: relative;
}

#welcome-about {
  margin-top: 0;
}

#welcome-about .bgImage {
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#welcome-about .bgImage > div {
  width: min(100% - 60px, 1390px);
  margin: 0 auto;
  padding: 220px 0 72px;
}

#welcome-about h1,
#company h1 {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0;
  padding: 0 0 15px;
}

#icons h1,
#core-values h2 {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0;
  padding: 15px 0;
}

#welcome-about p,
#icons p,
#core-values p,
#company p,
#imageViewer p {
  font-size: 16px;
  line-height: 1.6;
  color: #e6e8ec;
  margin: 0 0 25px;
}

#welcome-about p {
  max-width: 520px;
  color: #aebbcf;
}

#welcome-about a,
#company a[href="/staff"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--orange);
  color: #fcfcfd;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

#welcome-about a:hover,
#company a[href="/staff"]:hover {
  background: #d54800;
}

#icons > div,
#imageViewer,
#core-values > div,
#company > div {
  box-sizing: border-box;
  width: min(100% - 48px, 1100px);
  margin-left: auto;
  margin-right: auto;
}

#icons > div {
  max-width: 900px;
  padding: 60px 0;
}

#icons > div:last-child {
  padding-bottom: 0;
}

#icons a,
#core-values a,
#company a:not([href="/staff"]) {
  color: var(--orange);
}

#icons img,
#imageViewer img,
#company img {
  max-width: 100%;
  height: auto;
}

#icons .grid-cols\:2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#icons .grid-cols\:2 > div,
#core-values .grid-cols\:2 > div > div,
#company .grid-cols\:3 > div {
  border-radius: 20px;
  background: rgba(255,255,255,.03);
}

#imageViewer {
  max-width: 900px;
  padding: 0 24px;
}

#imageViewer .image-compare,
#icons .r\:25px,
#company .r\:25 {
  border-radius: 25px;
  overflow: hidden;
}

#core-values > div {
  padding: 90px 0 30px;
}

#core-values h2,
#company > div:first-child h1,
#company > div:first-child p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#core-values .grid-cols\:2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#core-values h4 {
  font-size: 16px;
  line-height: 1.25;
  padding: 0 0 15px;
  margin: 0;
}

#core-values hr,
#company hr {
  border: 0;
  border-bottom: 1px solid #353945;
  margin: 0 0 20px;
}

#core-values > hr {
  max-width: 1120px;
  margin: 0 auto 20px;
}

#company > div:first-child {
  max-width: 1120px;
  padding: 60px 0 30px;
}

#company > div:nth-child(2) {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: center;
  max-width: 1100px;
  padding: 30px 0 90px;
}

#company .grid-cols\:3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto 30px;
}

#company h4 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  color: var(--orange);
  padding: 0;
  margin: 0;
}

#company .grid-cols\:3 p {
  color: #fcfcfd;
  text-align: center;
  margin: 0;
}

#company .js-tilt-blur-right-image {
  min-width: 0;
  width: 100%;
  border-radius: 25px;
}

@media (max-width: 820px) {
  #welcome-about .bgImage {
    min-height: 520px;
  }

  #welcome-about .bgImage > div,
  #icons > div,
  #imageViewer,
  #core-values > div,
  #company > div {
    width: min(100% - 32px, 1100px);
  }

  #welcome-about .bgImage > div {
    padding: 160px 0 44px;
  }

  #icons .grid-cols\:2,
  #core-values .grid-cols\:2,
  #company > div:nth-child(2) {
    grid-template-columns: 1fr;
  }

  #company .grid-cols\:3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  #company > div:first-child,
  #core-values > div,
  #icons > div {
    padding-top: 42px;
    padding-bottom: 30px;
  }

  #company > div:nth-child(2) {
    padding-bottom: 54px;
  }
}

.footer-link-with-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.2;
}

.footer-bottom {
  flex-wrap: nowrap;
}

.footer-legal {
  margin-right: auto;
}

.footer-copy {
  margin-left: auto;
  text-align: right;
}

@media (max-width: 820px) {
  .homepage .hero-video-wrap {
    width: 100%;
    margin-left: 0;
  }

  .hero-news-card-link {
    grid-template-columns: 1fr;
  }

  .newsletter-form-inline {
    grid-template-columns: 1fr;
  }

  .newsletter-form-inline .newsletter-input,
  .newsletter-form-inline .btn {
    width: 100%;
  }

  .ozone-standard-page {
    width: min(100% - 32px, 1400px);
    padding: 120px 20px 48px !important;
  }

  .post-type-archive-news .search-landing-result > div,
  .tax-news-category .search-landing-result > div,
  .post-type-archive-updates .search-landing-result > div,
  .tax-updates-category .search-landing-result > div {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 70px;
  }

  .post-type-archive-news .search-landing-result > div > div:first-child,
  .tax-news-category .search-landing-result > div > div:first-child,
  .post-type-archive-updates .search-landing-result > div > div:first-child,
  .tax-updates-category .search-landing-result > div > div:first-child {
    max-width: 100%;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .footer-copy {
    margin-left: 0;
    text-align: left;
  }
}
