.ab-hero {
  --ab-top: clamp(150px, 21vh, 210px);
  --ab-bot: clamp(210px, 27vh, 260px);
  position: relative;
  height: 100svh;
  min-height: 680px;
}

.ab-hero--scrub {
  height: 250vh;
}

.ab-hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  display: grid;
  grid-template-rows: var(--ab-top) minmax(0, 1fr) var(--ab-bot);
  background: var(--bg);
}

.ab-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ab-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.95) contrast(1.18) brightness(0.9);
  transform: scale(1.12);
  will-change: transform;
}

.ab-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 10, 0.55) 0%, rgba(4, 6, 10, 0.1) 30%, rgba(4, 6, 10, 0.2) 60%, rgba(4, 6, 10, 0.92) 100%),
    linear-gradient(0deg, rgba(61, 90, 128, 0.22), rgba(61, 90, 128, 0.22));
}

.ab-hero__knock {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: var(--ab-top) minmax(0, 1fr) var(--ab-bot);
  background:
    radial-gradient(40% 50% at 82% 24%, rgba(77, 141, 255, 0.2), transparent 70%),
    radial-gradient(40% 50% at 8% 90%, rgba(168, 212, 240, 0.08), transparent 70%),
    var(--bg);
  mix-blend-mode: multiply;
  will-change: opacity;
}

.ab-hero__titlewrap {
  grid-row: 2;
  display: flex;
  align-items: center;
  min-height: 0;
}

.ab-hero__title {
  margin: 0 0 0 -0.04em;
  font-weight: 800;
  font-size: min(13.4vw, 22.5vh, 250px);
  line-height: 0.8;
  letter-spacing: -0.058em;
  color: #fff;
  transform-origin: 38% 55%;
  will-change: transform;
}

.ab-hero__title .line {
  display: block;
  overflow: hidden;
  padding: 0.03em 0.06em 0.09em;
  margin-bottom: -0.1em;
}

.ab-hero__title .line > span {
  display: inline-block;
}

.ab-hero__title .ab-hero__small {
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 0.02em;
  padding-left: 0.12em;
}

.ab-hero__title .serif {
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.035em;
  color: var(--ice);
}

.ab-hero__top {
  grid-row: 1;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(18px, 3vh, 28px);
  padding-bottom: 8px;
}

.ab-hero__bottom {
  grid-row: 3;
  position: relative;
  z-index: 3;
  display: grid;
  align-items: end;
  padding-bottom: clamp(28px, 5vh, 52px);
}

.ab-hero__sub {
  max-width: 34em;
}

.ab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ab-hero__caption {
  display: none;
}

.ab-hero--scrub .ab-hero__caption {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(28px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
}

.ab-hero__caption p {
  margin: 0;
  max-width: 13em;
  font-weight: 700;
  font-size: var(--t-xl);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 10px 60px rgba(4, 6, 10, 0.6);
}

.ab-hero__caption .serif {
  font-weight: 400;
  font-size: 1.08em;
  color: var(--ice);
}

@media (max-width: 820px) {
  .ab-hero,
  .ab-hero__sticky {
    min-height: 640px;
  }
  .ab-hero__sticky {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 110px 0 clamp(28px, 5vh, 44px);
  }
  .ab-hero__veil {
    opacity: 1;
    background:
      linear-gradient(180deg, rgba(4, 6, 10, 0.65) 0%, rgba(4, 6, 10, 0.35) 34%, rgba(4, 6, 10, 0.8) 64%, rgba(4, 6, 10, 0.97) 100%),
      linear-gradient(0deg, rgba(61, 90, 128, 0.25), rgba(61, 90, 128, 0.25));
  }
  .ab-hero__video {
    transform: none;
    object-position: 50% 30%;
  }
  .ab-hero__knock {
    position: relative;
    inset: auto;
    order: 2;
    display: block;
    background: none;
    mix-blend-mode: normal;
  }
  .ab-hero__top {
    order: 1;
    margin-bottom: auto;
    justify-content: flex-start;
  }
  .ab-hero__bottom {
    order: 3;
    padding-bottom: 0;
    margin-top: 22px;
  }
  .ab-hero__title {
    font-size: 16.4vw;
    color: var(--ink);
  }
  .ab-hero__title .ab-hero__small {
    font-size: 0.5em;
  }
}

@media (max-width: 520px) {
  .ab-hero__actions .btn {
    flex: 1 1 100%;
  }
}

.ab-origin {
  position: relative;
  padding: var(--space-section) 0 var(--space-head);
}

.ab-origin__text {
  margin: 0;
  font-weight: 600;
  font-size: var(--t-scrub);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.ab-origin__sub {
  margin: clamp(24px, 3vw, 40px) 0 0;
  max-width: 36em;
}

.ab-origin__text .w {
  color: rgba(238, 244, 250, 0.14);
}

.ab-origin__text .serif {
  font-size: 1.08em;
}

.reduced .ab-origin__text .w,
.no-anim .ab-origin__text .w {
  color: inherit;
}

.kun {
  position: relative;
  padding: var(--space-section) 0;
  background: radial-gradient(45% 40% at 85% 30%, rgba(77, 141, 255, 0.07), transparent 70%);
}

.kun__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.kun__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: var(--space-head);
}

.kun__title {
  margin-top: 20px;
}

.kun__headside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  max-width: 30em;
}

.kun__headside .lede {
  text-align: right;
}

.kun__list {
  list-style: none;
  margin: 0 auto;
  position: relative;
}

.kun__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
  padding: clamp(48px, 6vw, 90px) 0;
  border-top: 1px solid var(--line);
}

.kun__ghost {
  display: none;
  position: absolute;
  right: -0.04em;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  font-size: clamp(200px, 30vw, 480px);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 212, 240, 0.09);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.kun__copy {
  position: relative;
  z-index: 2;
}

.kun__name {
  margin: clamp(18px, 2.4vw, 28px) 0 0 -0.04em;
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.kun__line {
  display: block;
  overflow: hidden;
  padding: 0.02em 0.04em 0.1em;
  margin-bottom: -0.1em;
}

.kun__line > span {
  display: inline-block;
}

.kun__brush {
  display: block;
  width: min(100%, 560px);
  height: clamp(30px, 3.2vw, 46px);
  margin: 6px 0 clamp(18px, 2vw, 26px);
  overflow: visible;
}

.kun__stroke {
  fill: none;
  stroke: var(--ice);
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.kun__stroke--a {
  stroke-width: 9px;
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(168, 212, 240, 0.55));
}

.kun__stroke--b {
  stroke-width: 3px;
  opacity: 0.55;
}

.kun__stroke--c {
  stroke-width: 2px;
  opacity: 0.4;
}

.kun__body {
  margin: 0;
  max-width: 31em;
  color: var(--ink-2);
  font-size: var(--t-lede);
  line-height: 1.6;
  text-wrap: pretty;
}

.kun__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  transform: perspective(1400px) rotateY(-9deg) rotateZ(-2.2deg);
  box-shadow: 0 0 0 1px var(--line-strong), 0 50px 120px -40px rgba(77, 141, 255, 0.55), -30px 40px 80px -60px rgba(168, 212, 240, 0.4);
}

.kun__item:nth-child(even) .kun__frame {
  transform: perspective(1400px) rotateY(9deg) rotateZ(2.2deg);
}

.kun__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
}

.kun__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.08) 46%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(180deg, rgba(61, 90, 128, 0.12), rgba(4, 6, 10, 0.4));
}

@media (min-width: 821px) {
  .kun__item:nth-child(even) {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .kun__item:nth-child(even) .kun__copy {
    order: 2;
  }
  .kun__item:nth-child(even) .kun__ghost {
    right: auto;
    left: -0.04em;
  }
}

.kun--pinned {
  padding: 0;
}

.kun--pinned .kun__pin {
  height: 100svh;
  min-height: 680px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: clamp(28px, 4vh, 44px);
  padding: clamp(96px, 13vh, 124px) 0 clamp(36px, 6vh, 56px);
  overflow: hidden;
}

.kun--pinned .kun__head {
  margin-bottom: 0;
}

.kun--pinned .kun__title {
  font-size: clamp(38px, 4.4vw, 72px);
}

.kun--pinned .kun__list {
  width: 100%;
}

.kun--pinned .kun__item {
  position: absolute;
  inset: 0 var(--gutter);
  padding: 0;
  border-top: 0;
}

.kun--pinned .kun__ghost {
  right: -0.06em;
  top: 50%;
  font-size: min(40vw, 78vh);
  -webkit-text-stroke-color: rgba(168, 212, 240, 0.16);
}

.kun--pinned .kun__frame {
  max-height: 58vh;
  justify-self: end;
  width: min(100%, calc(58vh * 4 / 3));
}

.kun--pinned .kun__item:nth-child(odd) .kun__frame {
  align-self: start;
  aspect-ratio: 16 / 10;
  max-height: 32vh;
  width: min(100%, calc(32vh * 1.6));
}

.kun--pinned .kun__item:nth-child(4n + 3) .kun__frame {
  transform: perspective(1400px) rotateY(9deg) rotateZ(2.2deg);
}

.kun--pinned .kun__item:nth-child(even) .kun__frame,
.kun--pinned .kun__item:nth-child(even) .kun__ghost {
  display: none;
}

.kun--pinned .kun__item:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.kun--pinned .kun__item:nth-child(even) .kun__copy {
  grid-column: 2;
  align-self: end;
  justify-self: end;
  width: min(100%, calc(32vh * 1.6));
}

.kun--pinned .kun__item:nth-child(even) .kun__name {
  margin-top: 10px;
  font-size: var(--t-h4);
}

.kun--pinned .kun__item:nth-child(even) .kun__brush {
  width: min(100%, 340px);
  height: 22px;
  margin: 4px 0 12px;
}

.kun--pinned .kun__item:nth-child(even) .kun__body {
  font-size: var(--t-body);
  line-height: 1.5;
}

@media (max-height: 820px) {
  .kun--pinned .kun__item:nth-child(odd) .kun__frame {
    max-height: 27vh;
    width: min(100%, calc(27vh * 1.6));
  }
  .kun--pinned .kun__item:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.kun--pinned .kun__item:nth-child(even) .kun__copy {
    width: min(100%, 420px);
  }
  .kun--pinned .kun__item:nth-child(even) .kun__brush {
    display: none;
  }
  .kun--pinned .kun__item:nth-child(even) .kun__name {
    margin-bottom: 10px;
  }
}

@media (max-width: 1020px) {
  .kun__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .kun__headside {
    align-items: flex-start;
  }
  .kun__headside .lede {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .kun__list {
    display: flex;
    gap: 14px;
    padding-bottom: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .kun__list::-webkit-scrollbar {
    display: none;
  }
  .kun__item {
    flex: none;
    width: min(84vw, 380px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-1);
    box-shadow: inset 0 0 0 1px var(--line);
    scroll-snap-align: start;
  }
  .kun__ghost {
    top: auto;
    bottom: -0.1em;
    right: 12px;
    transform: none;
    font-size: 120px;
    -webkit-text-stroke-color: rgba(168, 212, 240, 0.14);
  }
  .kun__copy {
    padding: 4px 22px 26px;
  }
  .kun__name {
    font-size: var(--t-h3);
    margin-top: 18px;
  }
  .kun__brush {
    height: 24px;
    margin: 4px 0 12px;
  }
  .kun__body {
    font-size: 15px;
    line-height: 1.55;
  }
  .kun__frame,
  .kun__item:nth-child(even) .kun__frame {
    order: -1;
    aspect-ratio: 16 / 10;
    border-radius: 0;
    transform: none;
    box-shadow: none;
  }
}

.ab-words {
  padding: var(--space-band) 0;
  border-top: 1px solid var(--line);
}

.ab-words .marquee__track {
  gap: clamp(28px, 4vw, 60px);
}

.ab-words__w {
  flex: none;
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 212, 240, 0.4);
  white-space: nowrap;
  padding-bottom: 0.08em;
}

.ab-words__w--serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(39px, 4.75vw, 78px);
  letter-spacing: -0.02em;
  color: var(--ice);
  -webkit-text-stroke: 0;
}

.ab-words__d {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--ice);
  box-shadow: 0 0 16px var(--ice);
}

.reduced .ab-words .marquee__track,
.no-anim .ab-words .marquee__track {
  flex-wrap: wrap;
  width: auto;
  justify-content: center;
  padding: 0 var(--gutter);
  row-gap: 16px;
}

.reduced .ab-words .marquee__track > :nth-child(n+17),
.no-anim .ab-words .marquee__track > :nth-child(n+17) {
  display: none;
}

.ab-proof {
  position: relative;
  padding: var(--space-section-lg) 0 var(--space-section);
  background: radial-gradient(45% 45% at 8% 20%, rgba(77, 141, 255, 0.07), transparent 70%);
}

.ab-proof .stat__num {
  font-size: clamp(48px, 4.4vw, 72px);
  margin: clamp(16px, 2vw, 28px) 0 12px;
}

.ab-proof .stat__num .tilde {
  font-size: 0.42em;
  letter-spacing: -0.04em;
  margin-right: 0.08em;
}

.ab-proof__link {
  display: inline-block;
  margin-left: 4px;
  color: var(--ice);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--dur-micro) var(--ease-out);
}

.ab-proof__link:hover {
  border-color: var(--ice);
}

.ab-logos {
  margin-top: var(--space-section);
}

.ab-logos__grid {
  --x: 50%;
  --y: 50%;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}

.ab-logos__grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--x) var(--y), rgba(168, 212, 240, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-out);
}

.ab-logos__grid:hover::after {
  opacity: 1;
}

.ab-logos__cell {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: clamp(14px, 2vw, 30px);
  background: var(--bg);
}

.ab-logos__cell img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.8) contrast(1.1);
  mix-blend-mode: screen;
  transition: opacity var(--dur-micro) var(--ease-out), filter var(--dur-micro) var(--ease-out), transform var(--dur-ui) var(--ease-out);
}

.ab-logos__cell:hover img {
  opacity: 1;
  filter: none;
  transform: scale(1.06);
}

.ab-logos__cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 1020px) {
  .ab-logos__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 620px) {
  .ab-logos__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ab-logos__cell {
    aspect-ratio: 1;
    padding: 12px;
  }
}

.ab-next {
  position: relative;
  padding: 0 0 var(--space-section);
}

.ab-next__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: stretch;
}

.ab-join {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  min-height: clamp(380px, 38vw, 520px);
  padding: clamp(26px, 3.4vw, 50px);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 70% at 85% 10%, var(--glow-a), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, var(--glow-b), transparent 70%),
    var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}

.ab-join:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 40px 100px -40px rgba(77, 141, 255, 0.5);
}

.ab-join__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, var(--ice) 30%, var(--ice) 70%, transparent);
  box-shadow: 0 0 24px 2px rgba(168, 212, 240, 0.5);
  animation: ab-scan 6s linear infinite;
  opacity: 0.8;
}

.ab-join__scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 120px;
  background: linear-gradient(0deg, rgba(168, 212, 240, 0.08), transparent);
}

@keyframes ab-scan {
  from { transform: translateY(0); }
  to { transform: translateY(560px); }
}

.ab-join__title {
  margin: 0;
  max-width: 9em;
  font-weight: 700;
  font-size: var(--t-lg);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.ab-join__title .serif {
  color: var(--ice);
  font-size: 1.08em;
}

.ab-join p {
  margin: 0;
  max-width: 30em;
  color: var(--ink-2);
}

.ab-join__go {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--ice);
}

.ab-join__go svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-ui) var(--ease-out);
}

.ab-join:hover .ab-join__go svg {
  transform: translateX(6px);
}

.ab-next__side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
}

.ab-next__links {
  grid-template-columns: 1fr;
}

@media (max-width: 820px) {
  .ab-next__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-join__scan {
    animation: none;
  }
}
