:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.hero-banner {
  background-color: #3d3b3c;
}

.hero-card {
  border: 1px solid #565253;
}

.hero-overlay {
  background: none;
}

.hero-details {
  background: #3d3b3c;
}

.social-card {
  border: 1px solid #565253;
}

.glass-border {
  isolation: isolate;
  position: relative;
  --glass-border-angle: 128deg;
}

.promo-card {
}

.glass-border::before {
  background:
    linear-gradient(
      var(--glass-border-angle),
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.42) 20%,
      rgba(255, 255, 255, 0.14) 38%,
      rgba(255, 255, 255, 0.04) 56%,
      rgba(255, 255, 255, 0.26) 78%,
      rgba(255, 255, 255, 0.1) 100%
    );
  border-radius: inherit;
  content: "";
  inset: 0;
  padding: 1.25px;
  pointer-events: none;
  position: absolute;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

.pinned-article {
}

.social-prefix {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.social-prefix img {
  display: block;
  height: 22px;
  width: 22px;
}

.social-prefix-emoji {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.article-lightbox-target {
  cursor: zoom-in;
}

.article-inline-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.article-prose {
  color: #aec3b0;
}

.article-prose > * + * {
  margin-top: 1.5rem;
}

.article-prose h2,
.article-prose h3 {
  color: #eff6e0;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.article-prose h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-top: 2.5rem;
}

.article-prose h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  margin-top: 2rem;
}

.article-prose p,
.article-prose li,
.article-prose blockquote {
  font-size: 1rem;
  line-height: 2;
}

.article-prose ul,
.article-prose ol {
  margin: 0;
  padding-left: 1.25rem;
}

.article-prose ul {
  list-style: disc;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose li + li {
  margin-top: 0.75rem;
}

.article-prose blockquote {
  border-left: 1px solid #565253;
  color: rgba(174, 195, 176, 0.92);
  margin-left: 0;
  padding-left: 1rem;
}

.article-prose pre {
  background: #3d3b3c;
  border: 1px solid #565253;
  border-radius: 24px;
  color: #eff6e0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  overflow-x: auto;
  padding: 1rem 1.125rem;
}

.article-prose code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.95em;
}

.article-prose p code,
.article-prose li code,
.article-prose blockquote code {
  background: rgba(61, 59, 60, 0.92);
  border: 1px solid #565253;
  border-radius: 999px;
  padding: 0.08rem 0.42rem;
}

.article-prose figure {
  background: #3d3b3c;
  border: 1px solid #565253;
  border-radius: 24px;
  margin: 0;
  max-width: 500px;
  overflow: hidden;
}

.article-prose img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.lightbox-backdrop {
  align-items: center;
  background: rgba(18, 17, 18, 0.88);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 1.5rem;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 100;
}

.lightbox-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  max-height: 100%;
  max-width: min(1100px, 100%);
  position: relative;
  width: fit-content;
}

.lightbox-image {
  border-radius: 24px;
  display: block;
  max-height: calc(100vh - 3rem);
  max-width: 100%;
  width: auto;
}

.lightbox-close {
  align-items: center;
  appearance: none;
  background: rgba(61, 59, 60, 0.92);
  border: 1px solid #565253;
  border-radius: 9999px;
  color: #eff6e0;
  cursor: pointer;
  display: flex;
  font: inherit;
  height: 2.5rem;
  justify-content: center;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 2.5rem;
}

.showcase-card {
  border: 1px solid #565253;
}

.showcase-card-locked > img {
  filter: blur(10px);
  opacity: 0.45;
  transform: scale(1.08);
}

.showcase-lock-overlay {
  align-items: center;
  background: rgba(18, 17, 18, 0.16);
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.showcase-footer {
  background: #3d3b3c;
  z-index: 2;
}

.showcase-icon-button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  padding: 0;
  width: 1.75rem;
}

.showcase-bleed {
  left: 50%;
  margin-left: -50vw;
  position: relative;
  width: 100vw;
}

.showcase-row {
  padding-left: 1rem;
  padding-right: 1rem;
  scrollbar-width: none;
}

.showcase-row::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .showcase-bleed {
    left: 50%;
    margin-left: -50vw;
    width: 100vw;
  }

  .showcase-row {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .showcase-bleed {
    left: auto;
    margin-left: 0;
    position: static;
    width: auto;
  }

  .showcase-row {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .promo-card {
    --glass-border-angle: 128deg;
  }

  .pinned-article {
    --glass-border-angle: 128deg;
  }
}
