.fold {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 69px);
  min-height: calc(100dvh - 69px);
}

.fold .hero {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-intro {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(54px, 7.4vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero-lead {
  margin: 22px 0 28px;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.5;
  color: #cfcadb;
}

.code {
  display: inline-flex;
  align-items: center;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--plum);
}

.code-label {
  padding: 0 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.code strong {
  padding-right: 20px;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--volt);
  user-select: all;
}

.code button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: stretch;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.code button:hover {
  background: var(--plum-2);
}

.code button.is-done {
  color: var(--volt);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 24px;
}

.text-link {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(241, 239, 245, 0.35);
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration-color: var(--volt);
}

.wall {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 10, 18, 0.9) 0%, rgba(12, 10, 18, 0.86) 38%, rgba(12, 10, 18, 0.35) 62%, rgba(12, 10, 18, 0) 80%),
    linear-gradient(180deg, var(--ink), transparent 12%, transparent 88%, var(--ink));
}

.wall-tilt {
  position: absolute;
  inset: -140px -60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transform: rotate(-6deg);
}

.wall-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: wall-up 70s linear infinite;
}

.wall-col:nth-child(even) {
  animation-name: wall-down;
  animation-duration: 80s;
  margin-top: -70px;
}

.wall-col:nth-child(3n) {
  animation-duration: 90s;
}

.wall-col a {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--plum-2);
}

.wall-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes wall-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes wall-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

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

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .wall {
    width: 100%;
    opacity: 0.35;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(12, 10, 18, 0.6), var(--ink) 92%);
  }

  .wall-tilt {
    inset: -60px -40px;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .code {
    display: flex;
  }

  .code strong {
    flex: 1;
    font-size: 21px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.band {
  background: var(--violet);
  color: #fff;
}

.band-inner {
  display: flex;
  align-items: center;
  gap: 20px 36px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.band img {
  width: 118px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.band p {
  margin: 0;
  flex: 1;
  font-size: 17px;
  line-height: 1.45;
}

.btn-white {
  background: #fff;
  color: #1a0c3d;
}

.btn-white:hover {
  background: #ece4ff;
}

@media (max-width: 760px) {
  .band-inner {
    flex-wrap: wrap;
  }

  .band p {
    flex-basis: 100%;
    order: 2;
  }

  .band .btn {
    order: 3;
  }
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.board-copy h2,
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.board-copy p {
  margin: 14px 0 0;
  max-width: 44ch;
  color: #cfcadb;
}

.board-copy .board-muted {
  color: var(--muted);
  font-size: 14px;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.board-table th {
  padding: 0 12px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.board-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.board-table td:first-child,
.board-table th:first-child {
  width: 44px;
  color: var(--text);
  font-weight: 700;
}

.board-table tbody tr:first-child td:first-child {
  color: var(--volt);
}

.board-table th:nth-child(3),
.board-table th:nth-child(4),
.board-table td:nth-child(3),
.board-table td:nth-child(4) {
  text-align: right;
}

.blank {
  display: inline-block;
  width: 120px;
  max-width: 100%;
  height: 10px;
  border-radius: 3px;
  background: var(--plum-2);
  vertical-align: middle;
}

@media (max-width: 860px) {
  .board {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.section-head {
  align-items: baseline;
}

.videos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.video a {
  display: block;
}

.video-thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--plum-2);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video h3 {
  margin: 10px 0 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video time {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .videos {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 0 20px 8px;
    scroll-padding: 0 20px;
  }

  .video {
    scroll-snap-align: start;
  }
}

.on-air {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin: 0 0 18px;
  color: var(--text);
}

.on-air[hidden] {
  display: none;
}

.on-air-sign {
  position: relative;
  flex-shrink: 0;
  padding: 7px 14px 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f03443, #c8101f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 60, 70, 0.35);
  color: #fff;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.on-air-sign::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(240, 40, 55, 0.55);
  filter: blur(10px);
  animation: on-air-breathe 2.8s ease-in-out infinite;
}

.on-air-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  color: #d9d4e4;
}

.on-air:hover .on-air-text {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.is-live .hero-intro {
  display: none;
}

.hero-copy h1 {
  position: relative;
  z-index: 0;
}

.is-live .hero-copy h1::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -4%;
  right: 6%;
  top: 8%;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 30, 45, 0.55), rgba(230, 30, 45, 0) 100%);
  filter: blur(18px);
  animation: on-air-breathe 2.8s ease-in-out infinite;
}

@keyframes on-air-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.board-soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.board-soon h2 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.board-soon p {
  margin: 10px 0 0;
  max-width: 56ch;
  color: #cfcadb;
}

.board-soon strong {
  color: var(--volt);
}

.hero h1 {
  white-space: nowrap;
}

.hero h1 .ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.04em;
  margin-bottom: -0.04em;
}

.hero h1 .ch > span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s;
}

.hero h1.is-intro .ch > span {
  animation: letter-in 0.9s cubic-bezier(0.2, 0.85, 0.15, 1) both;
  animation-delay: calc(var(--i) * 55ms + 120ms);
}

@keyframes letter-in {
  from { transform: translateY(105%); }
  to { transform: none; }
}

@media (hover: hover) {
  .hero h1 .ch:hover > span {
    transform: translateY(-6%);
    color: var(--volt);
  }

  .is-live .hero h1 .ch:hover > span {
    color: #ff5a64;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1.is-intro .ch > span {
    animation-name: letter-fade;
    animation-duration: 0.6s;
  }

  @keyframes letter-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

.wall {
  will-change: transform;
}
