/* Bio page: compact mobile profile with the standard site shell. */

body[data-page="bio"] {
  min-width: 0;
  background: #000;
  color: #fff;
}

.bio-masthead {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 42px 22px 96px;
  overflow: clip;
  text-align: center;
  color: var(--text-inverse);
  border-bottom: 0;
  background: transparent;
}

.bio-masthead__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #000;
}

.bio-masthead__canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  opacity: 0.62;
}

.bio-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(100%, 580px);
  margin: 0 auto;
}

.bio-profile-card {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.bio-profile {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0;
}

.bio-avatar-ring {
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(147, 197, 253, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.3), 0 0 0 5px rgba(20, 184, 166, 0.12);
}

.bio-avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 112px;
  height: 112px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  object-fit: cover;
  background: #061224;
}

.bio-identity {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.bio-masthead .hero__title {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

.bio-handle {
  margin: 2px 0 0;
  color: #bfdbfe;
  font-size: 0.92rem;
  font-weight: 600;
}

.bio-main {
  position: relative;
  z-index: 2;
  padding: 0 0 52px;
  background: transparent;
}

.bio-main .section {
  padding: 0 0 56px;
  background: transparent;
}

.bio-main .section__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  margin: -88px auto 0;
  padding: 26px 22px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.bio-section-head {
  margin: 0 0 20px;
  text-align: left;
}

.bio-section-head h2 {
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.1;
}

.bio-section-head > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.bio-main .social-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
}

.bio-main .social-tile {
  min-height: 82px;
  padding: 14px 16px;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.84);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.bio-main .social-tile__label {
  color: #fff;
}

.bio-main .social-tile__handle,
.bio-main .social-tile__arrow {
  color: rgba(255, 255, 255, 0.64);
}

.bio-main .social-tile__glow {
  display: none;
}

.bio-main .social-tile__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.bio-main .social-tile__label {
  font-size: 1rem;
  letter-spacing: 0;
}

.bio-main .social-tile__handle {
  font-size: 0.84rem;
}

body[data-page="bio"] #site-footer .footer__social-link img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

@media (min-width: 734px) {
  body[data-page="bio"] {
    background: #000;
    color: #fff;
  }

  body[data-page="bio"] #site-main {
    min-height: 100svh;
    padding-top: var(--nav-h);
    background: transparent;
  }

  .bio-masthead {
    min-height: 430px;
    padding: 64px 40px 92px;
    isolation: isolate;
  }

  .bio-masthead__bg {
    position: fixed;
    background:
      radial-gradient(circle at 18% 22%, rgba(132, 176, 255, 0.2), transparent 29rem),
      radial-gradient(circle at 84% 34%, rgba(114, 224, 210, 0.15), transparent 27rem),
      radial-gradient(circle at 54% 88%, rgba(150, 119, 255, 0.12), transparent 34rem),
      #000;
  }

  .bio-masthead__canvas {
    position: fixed;
    width: 100vw;
    height: 100vh;
    opacity: 0.52;
  }

  .bio-hero__inner {
    width: min(calc(100% - 48px), 780px);
  }

  .bio-profile-card {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    gap: clamp(34px, 5vw, 52px);
    padding: 46px 50px;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 32px;
    background: linear-gradient(120deg, rgba(5, 5, 7, 0.94), rgba(12, 12, 15, 0.8));
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-align: left;
    backdrop-filter: blur(18px);
  }

  .bio-profile-card::before {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
    pointer-events: none;
  }

  .bio-profile-card::after {
    display: none;
  }

  .bio-profile {
    z-index: 1;
    width: 164px;
    height: 164px;
  }

  .bio-avatar {
    width: 164px;
    height: 164px;
    border-width: 4px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
  }

  .bio-avatar-ring {
    inset: -8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
      0 0 0 6px rgba(255, 255, 255, 0.05),
      0 18px 42px rgba(0, 0, 0, 0.38);
  }

  .bio-identity {
    position: relative;
    z-index: 1;
    align-self: center;
    justify-items: start;
    gap: 9px;
    padding-left: clamp(30px, 4vw, 46px);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .bio-masthead .hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 5.6vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 0.94;
  }

  .bio-handle {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }

  .bio-main {
    flex: 1;
    padding-bottom: 88px;
  }

  .bio-main .section {
    padding-bottom: 0;
  }

  .bio-main .section__inner {
    width: min(calc(100% - 48px), 1060px);
    margin-top: -42px;
    padding: clamp(34px, 4vw, 48px);
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: rgba(3, 3, 5, 0.9);
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
  }

  .bio-section-head {
    max-width: 680px;
    margin: 0 auto 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    text-align: left;
  }

  .bio-section-head h2 {
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 400;
    letter-spacing: -0.03em;
  }

  .bio-section-head > p:last-child {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.64);
  }

  .bio-main .social-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    max-width: none;
  }

  .bio-main .social-tile {
    min-height: 112px;
    padding: 20px;
    border-color: rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    background: rgba(8, 8, 8, 0.84);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  }

  .bio-main .social-tile:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(20, 20, 20, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  }

  .bio-main .social-tile__glow {
    display: block;
  }

  .bio-main .social-tile__label {
    color: #fff;
  }

  .bio-main .social-tile__handle,
  .bio-main .social-tile__external {
    color: rgba(255, 255, 255, 0.64);
  }

  body[data-page="bio"] #site-nav {
    border-bottom-color: rgba(255, 255, 255, 0.13) !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(18px);
  }

  body[data-page="bio"] #site-nav .nav__brand,
  body[data-page="bio"] #site-nav .nav__item:not(.is-active),
  body[data-page="bio"] #site-nav .nav__toggle {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  body[data-page="bio"] #site-nav .nav__cluster {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.07) !important;
  }

  body[data-page="bio"] #site-nav .nav__item:hover,
  body[data-page="bio"] #site-nav .nav__item:focus-visible,
  body[data-page="bio"] #site-nav .nav__menu-item:hover,
  body[data-page="bio"] #site-nav .nav__menu-item:focus-visible,
  body[data-page="bio"] #site-nav .nav__drawer-link:hover,
  body[data-page="bio"] #site-nav .nav__drawer-link:focus-visible,
  body[data-page="bio"] #site-nav .nav__login:hover,
  body[data-page="bio"] #site-nav .nav__login:focus-visible {
    color: #fff !important;
    background: #2d2d2a !important;
  }

  body[data-page="bio"] #site-footer {
    position: relative;
    z-index: 3;
    border-top-color: rgba(255, 255, 255, 0.13);
    color: #fff;
    background: #000;
  }
}

@media (max-width: 733px) {
  body[data-page="bio"] #site-nav,
  body[data-page="bio"] #mas0ng-shared-navbar {
    border-bottom-color: rgba(255, 255, 255, 0.13) !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(18px);
  }

  body[data-page="bio"] #site-nav .nav__brand,
  body[data-page="bio"] #site-nav .nav__toggle,
  body[data-page="bio"] #mas0ng-shared-navbar .nav__brand,
  body[data-page="bio"] #mas0ng-shared-navbar .nav__toggle {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  body[data-page="bio"] #site-footer {
    position: relative;
    z-index: 3;
    border-top-color: rgba(255, 255, 255, 0.13);
    color: #fff;
    background: #000;
  }

  body[data-page="bio"] #site-main {
    min-height: 100svh;
    padding-top: var(--nav-h);
  }
}

@media (max-width: 480px) {
  .bio-masthead {
    min-height: 400px;
    padding: 34px 18px 88px;
  }

  .bio-main .social-tile {
    padding: 13px 14px;
  }

  .bio-main .section__inner {
    width: calc(100% - 24px);
    margin-top: -88px;
    padding: 22px 14px 8px;
    border-radius: 22px;
  }
}



body[data-page="bio"] #masthead-canvas.mas0ng-ascii-background {
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  width: 100vw !important;
  height: 100vh !important;
  opacity: 0.6 !important;
  filter: none !important;
  pointer-events: none;
}

body[data-page="bio"] .bio-masthead__bg {
  background: #020305 !important;
}

/* Desktop presentation: echo the contained, cinematic banner used by legal pages. */
@media (min-width: 734px) {
  .bio-masthead {
    width: min(1260px, calc(100% - 72px));
    min-height: clamp(260px, 24vw, 320px);
    margin: 28px auto 56px;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #030407;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
  }

  .bio-masthead::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      radial-gradient(circle at 50% 45%, rgba(40, 66, 112, 0.16), transparent 60%),
      linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
    pointer-events: none;
  }

  .bio-masthead__bg {
    position: absolute;
    inset: 0;
  }

  body[data-page="bio"] #masthead-canvas.mas0ng-ascii-background {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.72 !important;
  }

  .bio-hero__inner {
    z-index: 2;
    width: min(100% - 48px, 920px);
  }

  .bio-profile-card {
    width: auto;
    padding: 38px 46px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .bio-profile-card::before {
    content: none;
  }

  .bio-profile {
    width: 132px;
    height: 132px;
  }

  .bio-avatar {
    width: 132px;
    height: 132px;
  }

  .bio-masthead .hero__title {
    font-family: "ABeeZee", sans-serif;
    font-size: clamp(2.25rem, 4vw, 3.7rem);
    letter-spacing: 0;
    line-height: 1.05;
  }

  .bio-main .section__inner {
    margin-top: 0;
  }

  /* Desktop social list; mobile rules above remain unchanged. */
  .bio-main .section__inner {
    width: min(720px, calc(100% - 72px));
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .bio-section-head {
    max-width: none;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
  }
  .bio-section-head h2 { font-size: 1.65rem; letter-spacing: 0; }
  .bio-main .social-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bio-main .social-tile {
    min-height: 86px;
    padding: 18px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .bio-main .social-tile:hover,
  .bio-main .social-tile:focus-visible {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    transform: none;
  }
  .bio-main .social-tile__glow { display: none; }
}
