.hg {
  color: #f4f1ea;
  --hg-a: #ffb98f;
  --hg-b: #b9a0ff;
  --hg-c: #ff8fb8;
  --hg-o1: #1c1830;
  --hg-o2: #110f1c;
  --hg-o3: #09090e;
  --hg-land: rgba(244, 241, 234, .11);
  --hg-line: rgba(244, 241, 234, .3);
  --hg-grat: rgba(185, 160, 255, .07);
  --hg-lead: rgba(244, 241, 234, .45);
  --hg-head: #fff;
  --hg-ink: #f4f1ea;
  --hg-mut: rgba(244, 241, 234, .68);
  --hg-dim: rgba(244, 241, 234, .5);
  --hg-chip: rgba(12, 12, 18, .72);
  --hg-btn: rgba(255, 255, 255, .04);
  --hg-cta-ink: #1a1210;
  font-family: var(--lq-sans, "Manrope",system-ui,sans-serif);
  background: #09090e;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.hg-stage {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

.hg-on {
  height: 640vh;
}

.hg-on .hg-stage {
  height: 100svh;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.hg-static .hg-stage {
  height: 100svh;
}

.hg-stage:before {
  content: "";
  pointer-events: none;
  background: radial-gradient(60% 55% at 62%, rgba(185, 160, 255, .1), rgba(0, 0, 0, 0) 70%), radial-gradient(40% 40% at 10% 100%, rgba(255, 185, 143, .07), rgba(0, 0, 0, 0) 70%);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.hg canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.hg-chs {
  pointer-events: none;
  align-items: center;
  padding: 0 max(20px, min(5vw, 80px));
  display: grid;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.hg:not(.hg-on):not(.hg-static) .hg-chs {
  padding: 80px max(20px, min(5vw, 80px));
  display: block;
  position: relative;
}

.hg:not(.hg-on):not(.hg-static) .hg-ch {
  margin-bottom: 56px;
}

.hg-ch {
  will-change: transform,opacity;
  grid-area: 1 / 1;
  max-width: 31rem;
}

.hg-k {
  font: 800 10px/1 var(--lq-sans, sans-serif);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hg-b);
}

.hg-t {
  font-family: var(--lq-serif, "Instrument Serif",Georgia,serif);
  letter-spacing: -.035em;
  text-wrap: balance;
  margin: 18px 0 0;
  font-size: max(2.6rem, min(5.6vw, 5.4rem));
  font-weight: 400;
  line-height: .96;
}

.hg-t em {
  color: var(--hg-a);
  font-style: italic;
}

.hg-p {
  max-width: 28rem;
  color: var(--hg-mut);
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.hg-stats {
  gap: 2.4rem;
  margin-top: 30px;
  display: flex;
}

.hg-stats b {
  font-family: var(--lq-serif, Georgia,serif);
  letter-spacing: -.03em;
  color: var(--hg-a);
  font-variant-numeric: tabular-nums;
  font-size: max(2.4rem, min(4.4vw, 3.8rem));
  font-weight: 400;
  line-height: 1;
  display: block;
}

.hg-stats span {
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hg-dim);
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  display: block;
}

.hg-links {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  display: flex;
}

.hg-links a {
  border: 1px solid var(--hg-line);
  background: var(--hg-btn);
  color: var(--hg-ink);
  border-radius: 99px;
  align-items: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s;
  display: inline-flex;
}

.hg-links a:first-child {
  background: var(--hg-a);
  border-color: var(--hg-a);
  color: var(--hg-cta-ink);
}

.hg-links a:hover {
  border-color: var(--hg-b);
  background: rgba(185, 160, 255, .16);
  transform: translateY(-2px);
}

.hg-links a:first-child:hover {
  background: #ffd0b3;
}

.hg-labels {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.hg-label {
  background: var(--hg-chip);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hg-line);
  color: var(--hg-ink);
  white-space: nowrap;
  opacity: 0;
  will-change: transform,opacity;
  pointer-events: auto;
  border-radius: 99px;
  align-items: baseline;
  gap: 8px;
  padding: 5px 11px;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  position: absolute;
  top: 0;
  left: 0;
}

.hg-label b {
  font-weight: 700;
}

.hg-label i {
  color: var(--hg-dim);
  font-size: 11px;
  font-style: normal;
}

.hg-bar {
  background: var(--hg-line);
  border-radius: 2px;
  width: 2px;
  height: 36vh;
  margin-top: -18vh;
  display: none;
  position: absolute;
  top: 50%;
  right: max(14px, min(2.4vw, 34px));
  overflow: hidden;
}

.hg-on .hg-bar {
  display: block;
}

.hg-bar i {
  background: linear-gradient(180deg,var(--hg-b),var(--hg-a));
  transform-origin: 50% 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: scaleY(0);
}

.hg-hint {
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hg-dim);
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  display: none;
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
}

.hg-on .hg-hint {
  display: flex;
}

.hg-hint:after {
  content: "";
  background: linear-gradient(180deg,var(--hg-b),transparent);
  transform-origin: 50% 0;
  width: 1px;
  height: 34px;
  animation: 1.8s ease-in-out infinite hgd;
}

@keyframes hgd {
  0% {
    transform: scaleY(0);
  }

  60% {
    transform: scaleY(1);
  }

  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@media (max-width: 859px) {
  .hg-chs {
    align-items: end;
    padding-bottom: max(36px, 6svh);
  }

  .hg-t {
    font-size: max(2.2rem, min(10vw, 3.2rem));
  }

  .hg-p {
    margin-top: 14px;
    font-size: 14px;
  }

  .hg-stats {
    gap: 1.6rem;
    margin-top: 18px;
  }

  .hg-bar {
    display: none !important;
  }

  .hg-ch {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hg-hint:after {
    animation: none;
  }
}

html[data-theme="light"] .hg {
  color: #17151c;
  --hg-a: #e8743b;
  --hg-b: #6d3df2;
  --hg-c: #d63c7a;
  --hg-o1: #fff;
  --hg-o2: #f4f1fc;
  --hg-o3: #e3def5;
  --hg-land: rgba(23, 21, 28, .075);
  --hg-line: rgba(23, 21, 28, .26);
  --hg-grat: rgba(109, 61, 242, .1);
  --hg-lead: rgba(23, 21, 28, .4);
  --hg-head: #17151c;
  --hg-ink: #17151c;
  --hg-mut: rgba(23, 21, 28, .68);
  --hg-dim: rgba(23, 21, 28, .55);
  --hg-chip: rgba(255, 255, 255, .86);
  --hg-btn: rgba(255, 255, 255, .6);
  --hg-cta-ink: #fff;
  background: #f1eef9;
  border-top-color: rgba(23, 21, 28, .1);
  border-bottom-color: rgba(23, 21, 28, .1);
}

html[data-theme="light"] .hg-stage:before {
  background: radial-gradient(60% 55% at 62%, rgba(109, 61, 242, .1), rgba(0, 0, 0, 0) 70%), radial-gradient(40% 40% at 10% 100%, rgba(232, 116, 59, .1), rgba(0, 0, 0, 0) 70%);
}

html[data-theme="light"] .hg-links a:hover {
  background: rgba(109, 61, 242, .1);
}

html[data-theme="light"] .hg-links a:first-child:hover {
  background: #f08753;
}

html[data-theme="light"] .hg-label {
  box-shadow: 0 6px 18px -8px rgba(60, 40, 120, .35);
}

@media (max-width: 859px) {
  .hg-label i {
    display: none;
  }

  .hg-label {
    padding: 4px 9px;
    font-size: 11px;
  }
}

.mt {
  padding: max(64px, min(9vw, 128px)) 0;
}

.mt-in {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: max(28px, min(5vw, 72px));
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 max(20px, min(5vw, 80px));
  display: grid;
}

.mt-leg {
  color: var(--hg-dim);
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 600;
}

.mt-mos {
  border: 1px solid var(--hg-line);
  background: rgba(244, 241, 234, .04);
  border-radius: 24px;
  grid-template-rows: repeat(4, minmax(54px, 9vw));
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 6px;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  display: grid;
}

.mt-mos:hover {
  transform: translateY(-4px) rotate(-.4deg);
}

.mt-t {
  animation: 7s ease-in-out infinite mtPulse;
  animation-delay: var(--d);
  border-radius: 12px;
  align-items: flex-end;
  padding: 9px 11px;
  font-style: normal;
  display: flex;
  position: relative;
  overflow: hidden;
}

.mt-t b {
  font: 800 clamp(10px,1.1vw,14px)/1 var(--lq-sans, sans-serif);
  color: #fff;
  letter-spacing: .01em;
}

.mt-g1 {
  background: #296547;
}

.mt-g2 {
  background: #257e52;
}

.mt-r1 {
  background: #80332d;
}

.mt-r2 {
  background: #9d2d25;
}

.mt-n {
  background: #3c4049;
}

.mt-a {
  grid-area: 1 / 1 / 3 / 3;
}

.mt-b {
  grid-area: 1 / 3 / 3 / 5;
}

.mt-c {
  grid-area: 1 / 5 / 2 / 7;
}

.mt-d {
  grid-area: 2 / 5 / 3 / 7;
}

.mt-e {
  grid-area: 3 / 1 / 5 / 3;
}

.mt-f {
  grid-area: 3 / 3 / 4 / 5;
}

.mt-g {
  grid-area: 4 / 3 / 5 / 4;
}

.mt-h {
  grid-area: 4 / 4 / 5 / 5;
}

.mt-i {
  grid-area: 3 / 5 / 4 / 6;
}

.mt-j {
  grid-area: 3 / 6 / 4 / 7;
}

.mt-k {
  grid-area: 4 / 5 / 5 / 6;
}

.mt-l {
  grid-area: 4 / 6 / 5 / 7;
}

@keyframes mtPulse {
  0%, 100% {
    filter: brightness();
  }

  45% {
    filter: brightness(1.22) saturate(1.15);
  }
}

html[data-theme="light"] .mt-mos {
  background: rgba(23, 21, 28, .04);
}

html[data-theme="light"] .mt-n {
  background: #7a8190;
}

@media (max-width: 859px) {
  .mt-in {
    grid-template-columns: 1fr;
  }

  .mt-mos {
    grid-template-rows: repeat(4, minmax(52px, 17vw));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mt-t, .mt-mos {
    transition: none;
    animation: none;
  }
}

.mt-t {
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), filter .3s;
}

.mt-mos:hover .mt-t {
  animation-play-state: paused;
}

.mt-t:after {
  content: "";
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%),rgba(255, 255, 255, .28),transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.mt-mos:hover .mt-t:after {
  opacity: 0;
}

.mt-t:hover {
  z-index: 2;
  filter: brightness(1.3) saturate(1.2);
  transform: scale(1.035);
}

.mt-t:hover:after {
  opacity: 1;
}

.pk {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  display: flex;
}

.pk-l {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, .55);
  margin-right: 4px;
  font-size: 12px;
  font-weight: 800;
}

.pk-pill {
  color: #f4f1ea;
  background: rgba(185, 160, 255, .1);
  border: 1px solid rgba(185, 160, 255, .4);
  border-radius: 99px;
  align-items: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .3s, background .3s;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

.pk-pill:before {
  content: "";
  background: linear-gradient(110deg, rgba(0, 0, 0, 0) 20%, rgba(255, 255, 255, .28) 50%, rgba(0, 0, 0, 0) 80%);
  transition: transform .7s cubic-bezier(.16, .84, .24, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateX(-120%);
}

.pk-pill:hover {
  background: rgba(185, 160, 255, .2);
  border-color: #b9a0ff;
  transform: translateY(-3px);
}

.pk-pill:hover:before {
  transform: translateX(120%);
}

html[data-theme="light"] .pk-l {
  color: rgba(23, 21, 28, .55);
}

html[data-theme="light"] .pk-pill {
  color: #17151c;
  background: rgba(109, 61, 242, .08);
  border-color: rgba(109, 61, 242, .4);
}

@media (max-width: 859px) {
  .pk-pill {
    padding: 9px 15px;
    font-size: 13px;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .mt-mos {
      animation: linear both mtRise;
      animation-timeline: view();
      animation-range: entry entry 70%;
    }

    .mt-txt {
      animation: linear both mtTxt;
      animation-timeline: view();
      animation-range: entry entry 60%;
    }

    .pk {
      animation: linear both mtTxt;
      animation-timeline: view();
      animation-range: entry;
    }
  }
}

@keyframes mtRise {
  from {
    opacity: 0;
    transform: translateY(70px) scale(.9) rotate(-1.5deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mtTxt {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
