:root {
  --bk-bg: #05080c;
  --bk-bg-soft: #090e15;
  --bk-ink: #f7f7f2;
  --bk-muted: rgba(247, 247, 242, 0.68);
  --bk-faint: rgba(247, 247, 242, 0.42);
  --bk-line: rgba(247, 247, 242, 0.16);
  --bk-blue: #376df6;
  --bk-red: #d3485d;
  --bk-gold: #e4aa22;
  --bk-panel: rgba(9, 13, 19, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 78% 4%, rgba(38, 95, 211, 0.18), transparent 31rem),
    radial-gradient(circle at 18% 76%, rgba(211, 72, 93, 0.12), transparent 30rem),
    linear-gradient(180deg, #020408 0%, var(--bk-bg) 48%, #07090d 100%) !important;
  color: var(--bk-ink) !important;
  min-height: 100vh;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.postherovisual .heroportrait,
.portraitbadge {
  display: none !important;
}

.bk-shell {
  margin: 0 auto;
  min-height: 100vh;
  padding: 22px clamp(18px, 3vw, 48px) 0;
  width: min(1880px, 100%);
}

.library-only .topbar,
.library-only .launchpad,
.library-only .bk-about,
.library-only footer {
  display: none !important;
}

.library-only .bk-shell {
  padding-top: clamp(18px, 3vw, 42px);
}

.topbar {
  align-items: center;
  direction: ltr;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 18px !important;
  max-width: 1800px;
  padding: 0 !important;
}

.wordmark span {
  color: var(--bk-ink);
  direction: ltr;
  display: inline-block;
  font-size: clamp(16px, 1.35vw, 24px);
  font-weight: 800;
  letter-spacing: 0.42em;
  white-space: nowrap;
}

.language-switch {
  align-items: center;
  color: var(--bk-faint);
  display: flex;
  gap: 13px;
  font-size: clamp(13px, 1vw, 18px);
}

.language-switch .active {
  border-bottom: 2px solid var(--bk-blue);
  color: var(--bk-ink);
  padding-bottom: 7px;
}

.launchpad {
  margin: 0 auto;
  max-width: 1800px;
}

.launchpad h1 {
  color: var(--bk-ink);
  font-size: clamp(42px, 5.1vw, 66px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 28px;
  text-align: center;
}

.launch-grid {
  direction: ltr;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.38fr) minmax(380px, 1fr);
}

.side-panels {
  direction: rtl;
  display: grid;
  gap: 18px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 500px;
  min-height: 0;
}

.panel {
  background: var(--bk-panel);
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 80px rgba(0, 0, 0, 0.24);
  color: var(--bk-ink);
  display: block;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.panel::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  height: 1px;
  inset: 0 0 auto;
  position: absolute;
}

.panel-about {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.92) 0%, rgba(5, 8, 12, 0.7) 42%, rgba(5, 8, 12, 0.16) 100%),
    radial-gradient(circle at 62% 36%, rgba(255, 255, 255, 0.12), transparent 18rem),
    #05070a;
  border-bottom-color: rgba(228, 170, 34, 0.7);
  border-bottom-width: 9px;
  display: flex;
  direction: rtl;
  min-height: 500px;
  padding: clamp(28px, 4vw, 58px);
}

.panel-about::after {
  background: linear-gradient(115deg, transparent 0 52%, rgba(255, 255, 255, 0.2) 52.3%, rgba(255, 255, 255, 0.02) 73%, transparent 73.2%);
  content: "";
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.58;
  pointer-events: none;
  position: absolute;
}

.panel-about img {
  bottom: -10%;
  filter: grayscale(1) contrast(1.2) brightness(0.58);
  height: 112%;
  left: 3%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  position: absolute;
  width: 58%;
}

.about-copy {
  position: relative;
  width: min(430px, 62%);
  z-index: 2;
}

.about-copy strong,
.panel-work strong,
.panel-library strong {
  display: block;
  font-size: clamp(44px, 5vw, 82px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.about-copy span,
.panel-work span,
.panel-library span {
  color: var(--bk-gold);
  display: block;
  font-size: clamp(18px, 1.65vw, 30px);
  font-weight: 700;
  margin-top: 22px;
}

.about-copy ul {
  color: var(--bk-ink);
  display: grid;
  gap: 21px;
  font-size: clamp(18px, 1.3vw, 24px);
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
}

.about-copy li {
  align-items: center;
  display: flex;
  gap: 16px;
}

.about-copy li::before {
  background: var(--bk-gold);
  border-radius: 50%;
  content: "";
  flex: 0 0 7px;
  height: 7px;
}

.panel-work,
.panel-library {
  align-items: center;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 0;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 50px);
}

.panel-work {
  background:
    radial-gradient(circle at 17% 58%, rgba(55, 109, 246, 0.22), transparent 15rem),
    linear-gradient(90deg, rgba(7, 12, 21, 0.96), rgba(8, 14, 22, 0.68)),
    var(--bk-panel);
  border-color: rgba(55, 109, 246, 0.48);
  border-bottom-color: var(--bk-blue);
  border-bottom-width: 7px;
}

.panel-library {
  background:
    radial-gradient(circle at 28% 76%, rgba(211, 72, 93, 0.24), transparent 16rem),
    linear-gradient(90deg, rgba(21, 8, 12, 0.96), rgba(13, 10, 13, 0.76)),
    var(--bk-panel);
  border-color: rgba(211, 72, 93, 0.48);
  border-bottom-color: var(--bk-red);
  border-bottom-width: 7px;
}

.panel-work span {
  color: #4f82ff;
}

.panel-library span {
  color: var(--bk-red);
}

.round-arrow {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  bottom: clamp(28px, 3vw, 48px);
  display: flex;
  font-size: 27px;
  font-weight: 400;
  height: 62px;
  justify-content: center;
  position: absolute;
  left: clamp(24px, 2.6vw, 42px);
  width: 62px;
}

.panel-work .round-arrow {
  color: #5d86ff;
}

.panel-library .round-arrow {
  color: var(--bk-red);
}

.dash-preview {
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: grid;
  gap: 12px;
  grid-template-columns: 0.34fr 1fr;
  opacity: 0.75;
  padding: 18px;
}

.dash-preview span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  display: block;
  margin: 0;
  min-height: 44px;
}

.dash-preview span:first-child {
  grid-row: span 4;
}

.dash-preview span:nth-child(2) {
  background: linear-gradient(135deg, transparent 30%, rgba(55, 109, 246, 0.75) 30% 34%, transparent 34% 48%, rgba(55, 109, 246, 0.75) 48% 52%, transparent 52% 66%, rgba(55, 109, 246, 0.75) 66% 70%, transparent 70%);
  min-height: 82px;
}

.mini-covers {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  min-width: 0;
}

.mini-covers span {
  aspect-ratio: 0.72;
  background-color: #141416;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  display: block;
  margin: 0;
  max-height: 215px;
  width: min(30%, 132px);
}

.bk-about {
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  display: grid;
  gap: clamp(22px, 4vw, 64px);
  grid-template-columns: 0.95fr 1.05fr;
  margin: 36px auto 0;
  max-width: 1800px;
  padding: clamp(28px, 4vw, 58px);
}

.bk-eyebrow {
  color: var(--bk-gold);
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 14px;
}

.bk-about h2 {
  color: var(--bk-ink);
  font-size: clamp(30px, 3.6vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

.bk-about-copy {
  color: var(--bk-muted);
  display: grid;
  gap: 22px;
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.9;
}

.bk-about-copy p {
  margin: 0;
}

.bk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bk-tags span {
  border: 1px solid var(--bk-line);
  border-radius: 999px;
  color: var(--bk-ink);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
}

.library {
  margin: 18px auto 0 !important;
  max-width: 1800px;
  width: 100% !important;
}

.title {
  align-items: end !important;
  border-bottom: 0 !important;
  display: flex !important;
  gap: 16px;
  justify-content: flex-start !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
}

.title h1 {
  color: var(--bk-ink);
  font-size: clamp(28px, 2.5vw, 44px) !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

.title h1::after {
  display: none !important;
}

.title small {
  color: var(--bk-faint) !important;
  margin-bottom: 7px;
}

.filters {
  display: none !important;
}

.list {
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(5, minmax(210px, 1fr)) !important;
  overflow: hidden;
}

.card {
  background: rgba(7, 10, 15, 0.74) !important;
  border: 0 !important;
  border-inline-start: 1px solid var(--bk-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--bk-ink) !important;
  display: grid !important;
  grid-template-columns: 78px 1fr !important;
  min-height: 145px;
  overflow: hidden;
  padding: 18px !important;
}

.card:nth-child(n + 6) {
  border-top: 1px solid var(--bk-line) !important;
}

.card:hover {
  background: rgba(16, 23, 34, 0.96) !important;
  transform: none !important;
}

.cardvisual {
  aspect-ratio: 1 !important;
  border: 0 !important;
  border-radius: 50% !important;
  height: 62px;
  margin: auto 0;
  overflow: visible !important;
  position: relative;
  width: 62px;
}

.cardvisual::before {
  border: 2px solid var(--bk-red);
  border-radius: 50%;
  content: "";
  inset: -8px;
  position: absolute;
}

.card:nth-child(2n) .cardvisual::before {
  border-color: var(--bk-gold);
}

.card:nth-child(3n) .cardvisual::before {
  border-color: var(--bk-blue);
}

.coverimage {
  border-radius: 50%;
  filter: saturate(0.78) brightness(0.8);
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.cardcategory,
.cardcount {
  display: none !important;
}

.cardbody {
  display: grid;
  gap: 8px;
  min-height: 0 !important;
  padding: 0 18px 0 0 !important;
}

.cardbody h3 {
  color: var(--bk-ink);
  font-size: clamp(15px, 1vw, 18px) !important;
  font-weight: 800;
  letter-spacing: 0 !important;
  line-height: 1.55;
  margin: 0 !important;
}

.cardbody p {
  color: var(--bk-muted) !important;
  display: none;
}

.cardfooter {
  align-self: end;
  display: grid !important;
  gap: 3px;
}

.cardfooter small {
  color: var(--bk-red) !important;
  font-size: 12px !important;
  font-weight: 700;
}

.card:nth-child(2n) .cardfooter small {
  color: var(--bk-gold) !important;
}

.card:nth-child(3n) .cardfooter small {
  color: var(--bk-blue) !important;
}

.cardfooter b {
  color: var(--bk-faint) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

footer {
  align-items: center;
  border: 0 !important;
  color: var(--bk-muted);
  display: flex !important;
  justify-content: space-between;
  margin: 28px auto 0 !important;
  max-width: 1800px;
  padding: 28px 0 !important;
}

footer .identity {
  align-items: center;
  display: flex;
  gap: 12px;
}

footer .identity > span {
  align-items: center;
  background: transparent !important;
  border: 1px solid var(--bk-line);
  border-radius: 50% !important;
  color: var(--bk-ink) !important;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

footer .identity b {
  color: var(--bk-ink);
}

footer .identity small,
footer p {
  color: var(--bk-faint) !important;
}

.footercontact a {
  color: var(--bk-blue) !important;
}

@media (max-width: 1180px) {
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .side-panels {
    grid-template-columns: 1fr 1fr;
  }

  .panel-about {
    min-height: 610px;
  }

  .panel-work,
  .panel-library {
    grid-template-columns: 1fr;
  }

  .dash-preview,
  .mini-covers {
    display: none;
  }

  .list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .card:nth-child(n + 3) {
    border-top: 1px solid var(--bk-line) !important;
  }
}

@media (max-width: 760px) {
  .bk-shell {
    padding-inline: 14px;
  }

  .topbar {
    gap: 18px;
  }

  .wordmark span {
    font-size: 13px;
    letter-spacing: 0.25em;
  }

  .launchpad h1 {
    margin-bottom: 24px;
    text-align: right;
  }

  .side-panels,
  .bk-about,
  .list {
    grid-template-columns: 1fr !important;
  }

  .panel {
    min-height: 260px;
  }

  .panel-about {
    min-height: 520px;
    padding: 28px;
  }

  .panel-about img {
    height: 90%;
    left: -18%;
    width: 86%;
  }

  .about-copy {
    width: min(310px, 72%);
  }

  .about-copy strong,
  .panel-work strong,
  .panel-library strong {
    font-size: clamp(44px, 18vw, 72px);
  }

  .about-copy ul {
    margin-top: 54px;
  }

  .panel-work,
  .panel-library {
    padding: 28px;
  }

  .round-arrow {
    height: 52px;
    width: 52px;
  }

  .bk-about {
    margin-top: 28px;
    padding: 24px;
  }

  .card,
  .card:nth-child(n) {
    border-inline-start: 0 !important;
    border-top: 1px solid var(--bk-line) !important;
  }

  .card:first-child {
    border-top: 0 !important;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}
