:root {
  --hero-accent: #67e8b4;
  --hero-ink: #06110e;
}

body.home-page .site-nav {
  position: absolute !important;
  background: linear-gradient(180deg, rgba(3, 8, 7, .82), rgba(3, 8, 7, .18)) !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

body.home-page .site-nav a:hover,
body.home-page .site-nav a:focus-visible {
  color: var(--hero-accent);
}

body.home-page .site-brand img {
  opacity: .94;
}

.home-page main > section {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

body.home-page .site-nav .site-nav-scan,
body.home-page .site-nav .site-nav-scan:hover {
  border-color: var(--hero-accent) !important;
  background: var(--hero-accent) !important;
  color: var(--hero-ink) !important;
}

.home-page .hero {
  position: relative;
  min-height: max(760px, 100svh);
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background: #030706 url('/images/home/hero-video-poster.jpg') center / cover no-repeat;
}

.hero-media,
.hero-video,
.hero-shade,
.hero-grid,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: #030706 url('/images/home/hero-video-poster.jpg') center / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  opacity: 0;
  filter: saturate(.82) contrast(1.08);
  transition: opacity 1.2s ease;
}

.hero-video.is-playing { opacity: .58; }

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, #030706 0%, rgba(3, 7, 6, .92) 27%, rgba(3, 7, 6, .36) 67%, rgba(3, 7, 6, .14) 100%),
    linear-gradient(0deg, #030706 0%, rgba(3, 7, 6, .68) 21%, transparent 58%),
    linear-gradient(180deg, rgba(3, 7, 6, .5), transparent 28%);
}

.hero-grid {
  z-index: 2;
  pointer-events: none;
}

.hero-grid span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, .09);
}

.hero-grid span:nth-child(1) { left: 25%; }
.hero-grid span:nth-child(2) { left: 50%; }
.hero-grid span:nth-child(3) { left: 75%; }

.hero-glow {
  z-index: 2;
  width: min(920px, 78vw);
  height: 260px;
  margin: 54px auto 0;
  opacity: .74;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 4;
  min-height: max(760px, 100svh);
  padding: 142px 0 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: clamp(36px, 8vw, 110px);
}

.hero-copy { max-width: 800px; }

.home-page .hero .eyebrow {
  margin: 0 0 16px;
  color: var(--hero-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.home-page .hero h1 {
  max-width: 820px;
  margin: 0;
  color: #f7fbf9;
  font-size: clamp(48px, 6.2vw, 76px);
  font-weight: 850;
  line-height: .96;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.hero-period { color: var(--hero-accent); }

.home-page .hero .lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(239, 247, 244, .76);
  font-size: 16px;
  line-height: 1.7;
}

.home-page .hero .actions { margin: 30px 0 16px; }

.home-page .hero .btn {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-page .hero .btn.primary,
.home-page .hero .btn.primary:hover {
  border-color: var(--hero-accent) !important;
  background: var(--hero-accent) !important;
  color: var(--hero-ink) !important;
}

.home-page .hero .btn.secondary {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(3, 8, 7, .36);
  backdrop-filter: blur(10px);
}

.home-page .hero .btn svg { flex: 0 0 auto; }
.home-page .hero .fine { margin: 0; color: rgba(225, 235, 231, .62); font-size: 12px; }

.liquid-card {
  position: relative;
  width: 200px;
  height: 200px;
  align-self: center;
  justify-self: end;
  transform: translateY(-50px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, .01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12), 0 26px 90px rgba(0, 0, 0, .3);
}

.liquid-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-card::after {
  content: '';
  position: absolute;
  inset: 45% -30% -50%;
  background: radial-gradient(circle, rgba(103, 232, 180, .18), transparent 68%);
  pointer-events: none;
}

.liquid-tag {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  letter-spacing: .16em;
}

.liquid-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.liquid-card h2 em {
  color: var(--hero-accent);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.liquid-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  line-height: 1.45;
}

.hero-facts {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 28px;
  left: 0;
}

.hero-facts-inner {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding-top: 17px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-facts strong { display: block; color: #f7fbf9; font-size: 13px; }
.hero-facts span { color: rgba(225, 235, 231, .58); font-size: 11px; }

@media (max-width: 900px) {
  .hero-grid { display: none; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 180px; gap: 28px; }
  .liquid-card { width: 170px; height: 170px; padding: 20px; }
  .liquid-card h2 { font-size: 17px; }
}

@media (max-width: 700px) {
  body.home-page .site-nav { position: absolute !important; }
  .home-page .hero { min-height: max(700px, 100svh); }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 7, 6, .95), rgba(3, 7, 6, .5)),
      linear-gradient(0deg, #030706 0%, rgba(3, 7, 6, .55) 38%, transparent 72%);
  }
  .hero-layout {
    min-height: max(700px, 100svh);
    padding: 194px 0 74px;
    display: block;
  }
  .liquid-card {
    position: absolute;
    top: 98px;
    right: 0;
    width: 122px;
    height: 112px;
    padding: 14px;
    transform: none;
  }
  .liquid-card h2 { font-size: 14px; }
  .liquid-card p { display: none; }
  .liquid-tag { font-size: 9px; }
  .home-page .hero h1 { max-width: 560px; font-size: clamp(38px, 11.5vw, 54px); line-height: .98; }
  .home-page .hero .lead { max-width: 520px; margin-top: 18px; font-size: 14px; line-height: 1.55; }
  .home-page .hero .actions { margin-top: 22px; }
  .home-page .hero .btn { min-height: 46px; }
  .hero-facts { display: none; }
}

@media (max-width: 390px) {
  .hero-layout { padding-top: 174px; }
  .liquid-card { top: 88px; width: 108px; height: 96px; padding: 12px; }
  .liquid-card h2 { font-size: 12px; }
  .home-page .hero h1 { font-size: clamp(35px, 11vw, 43px); }
  .home-page .hero .actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .home-page .hero .btn { width: 100%; }
}

@media (max-height: 720px) and (max-width: 700px) {
  .home-page .hero,
  .hero-layout { min-height: 680px; }
  .hero-layout { padding-top: 156px; }
  .liquid-card { top: 78px; height: 84px; }
  .liquid-card h2 { font-size: 11px; }
  .home-page .hero .lead { margin-top: 14px; }
  .home-page .hero .actions { margin: 17px 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .home-page .hero .btn { transition: none; }
}
