/* Hero structure and spacing adapted from arda-aris.framer.website. */
.hero.reference-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.reference-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding: 350px 56px 24px;
  overflow: hidden;
}
.reference-hero .hero-top {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
  max-width: 1328px;
}
.reference-hero .hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: 1 1 0;
  min-width: 0;
}
.hero-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; flex: none; background: var(--brand); }
.reference-hero h1 { max-width: none; margin: 0; text-wrap: initial; }
.reference-hero .hero-heading-line { display: block; margin: 0; padding: 0; }
.reference-hero .hero-heading-accent { color: var(--brand-text); }
.reference-hero .hero-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 0 0 300px;
  width: 300px;
  max-width: none;
  padding: 0 0 7px;
}
.reference-hero .hero-summary > p { max-width: none; margin: 0; color: var(--muted); }
.reference-hero .hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.reference-hero .hero-primary {
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--brand-on);
  white-space: normal;
}
.reference-hero .hero-primary .arrow { width: 20px; height: 20px; background: transparent; color: inherit; border-radius: 0; transform: none; }
.reference-hero .hero-primary .arrow svg { width: 20px; height: 20px; transform: rotate(-45deg); }
.reference-hero .hero-primary:hover .arrow { transform: none; }

.hero-capabilities { width: 100%; max-width: none; height: 46px; margin: 72px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.hero-capability-track { display: flex; width: max-content; height: 100%; animation: hero-capability-marquee 32s linear infinite; }
.hero-capability-track ul { display: flex; align-items: center; justify-content: space-around; gap: 70px; flex: none; min-width: max(1328px, 100vw); margin: 0; padding: 0 70px 0 0; list-style: none; }
.hero-capability-track li { white-space: nowrap; color: var(--muted); }
.hero-capabilities:hover .hero-capability-track { animation-play-state: paused; }
@keyframes hero-capability-marquee { to { transform: translateX(-50%); } }

.hero-media-section {
  display: flex;
  align-items: stretch;
  width: 100%;
  aspect-ratio: 3.6;
  max-height: 520px;
  overflow: hidden;
}
.hero-media-section .hero-art.hero-video {
  position: relative;
  display: block;
  flex: 0 0 66%;
  width: 66%;
  height: auto;
  min-height: 0;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
  background: #171714;
}
.hero-media-section .hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero-video-scrim { position: absolute; right: 0; bottom: 0; left: 0; height: 45%; pointer-events: none; background: linear-gradient(180deg, #17171400, #17171488); }
.hero-video-caption { position: absolute; bottom: 25px; left: 40px; max-width: calc(100% - 150px); color: #fffce0; }
.hero-video-caption::before { background: var(--brand); }
.hero-media-section .hero-video-toggle { right: 24px; bottom: 20px; min-height: 44px; }
.hero-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  flex: 0 0 34%;
  width: 34%;
  min-width: 0;
  padding: 34px 38px;
  overflow: hidden;
  background: var(--brand);
  color: var(--brand-on);
}
.hero-brand-panel .hero-brand-label, .hero-brand-panel .hero-brand-message { color: var(--brand-on); }
.hero-progress { display: grid; place-items: center; flex: 1 1 auto; min-height: 80px; max-height: 220px; padding: 12px 0 8px; color: var(--brand-on); }
.hero-progress svg { display: block; width: min(240px, 100%); height: 100%; max-height: 200px; overflow: visible; }
.hero-brand-bottom { position: relative; flex: none; }
.hero-brand-message { margin: 0; }
.hero-brand-message > span { opacity: .65; }
.hero-brand-logo { position: absolute; right: -10px; bottom: 3px; width: 76px; height: auto; }

@media (min-width:769px) and (max-width:1199.98px) {
  .reference-hero { --hero-heading-size: clamp(40px, 5vw, 50px); }
  .reference-hero .hero-content { gap: 32px; padding: 308px 40px 24px; }
  .reference-hero .hero-top { flex-direction: row; align-items: flex-end; gap: 32px; }
  .reference-hero .hero-main { flex: 1 1 0; width: auto; }
  .reference-hero .hero-main > .hero-eyebrow { max-width: none; }
  .reference-hero .hero-summary { flex: 0 0 clamp(240px, 24vw, 280px); width: clamp(240px, 24vw, 280px); }
  .reference-hero .hero-summary > p { max-width: none; }
  .hero-media-section { min-height: 340px; }
  .hero-media-section .hero-art.hero-video { flex-basis: 60%; width: 60%; }
  .hero-brand-panel { flex-basis: 40%; width: 40%; padding: 28px; }
  .hero-progress { min-height: 50px; max-height: 160px; }
  .hero-progress svg { max-width: 200px; max-height: 160px; }
  .hero-brand-logo { width: 62px; right: 0; }
}
@media (max-width:768.98px) {
  .reference-hero { --hero-heading-size: clamp(30px, 9.75vw, 38px); }
  .reference-hero .hero-content { gap: 32px; padding: 254px 20px 24px; }
  .reference-hero .hero-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .reference-hero .hero-main { flex: none; width: 100%; }
  .reference-hero .hero-summary { flex: none; gap: 20px; width: 100%; padding: 0; }
  .reference-hero .hero-summary > p { max-width: 420px; }
  .reference-hero .hero-actions { gap: 17px; }
  .hero-media-section { flex-direction: column; aspect-ratio: auto; max-height: none; }
  .hero-media-section .hero-art.hero-video { flex: none; width: 100%; height: 280px; }
  .hero-video-caption { bottom: 24px; left: 20px; max-width: calc(100% - 115px); }
  .hero-media-section .hero-video-toggle { right: 16px; bottom: 17px; }
  .hero-brand-panel { flex: none; justify-content: center; gap: 20px; width: 100%; padding: 24px 20px; }
  .hero-progress { flex: none; height: 140px; max-height: none; padding: 0; }
  .hero-progress svg { max-width: 176px; max-height: 140px; }
  .hero-brand-logo { right: 0; width: 68px; }
  .hero-capability-track ul { min-width: 1050px; gap: 48px; padding-right: 48px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-capabilities { height: auto; mask-image: none; }
  .hero-capability-track { width: 100%; animation: none; }
  .hero-capability-track ul { min-width: 0; flex-wrap: wrap; justify-content: flex-start; gap: 14px 28px; padding: 0; }
  .hero-capability-track ul[aria-hidden=true] { display: none; }
}

/* Match the reference's 14px, 48px-high hero CTA with our chrome treatment. */
.reference-hero .hero-primary.metal-button {
  --metal-rim: 3px;
  --metal-face-x: 18px;
  --metal-face-y: 11px;
  --metal-font-size: 14px;
  --metal-leading: 1.4;
  --metal-icon-size: 20px;
}

/* Keep liquid edge artwork behind the actual video and yellow-card content. */
.hero-media-section>.hero-video,.hero-media-section>.hero-brand-panel{position:relative;z-index:1}
.hero-media-section>.liquid-section-edge{z-index:0}
