body {
  background:
    radial-gradient(circle at top center, rgba(139, 26, 0, 0.28), transparent 34%),
    linear-gradient(180deg, #2a0200 0%, #1a0000 48%, #0e0000 100%);
  color: #ffd8bc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: max(884px, 100dvh);
}

body[data-page="home"] {
  background:
    radial-gradient(circle at top center, rgba(139, 26, 0, 0.42), transparent 34%),
    radial-gradient(circle at 50% 12%, rgba(255, 184, 112, 0.14), transparent 26%),
    linear-gradient(180deg, #5c0a00 0%, #2a0200 30%, #1a0000 62%, #0e0000 100%);
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.045;
  background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuDHkE5HdpWBsv_Cg31_pHC7gSmhAKyt6JgAIBu15Nfc5lWvLnPpQYBp40BOoBhBL5Ex7T845IGIZeVYhGoA9cPT5UXST4PvDJDY9fOL9N1sve1sv6UGkPwkLz4eLugghAmWZyb8Anf5aRPT7vHJCXC7JcGDKM52LcxGllE2cESx2v76Liui3ujQrfEuFbY29qCgyN1XLrp9fHu9l6wj6XIWaVKzX4eZ8BrqnU28svu1S45Hz2LVgVerZsv7JOJg8dH6Xuy7U6awLA);
}

.archive-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.label-mono {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

body[data-page="home"] .grain-overlay {
  opacity: 0.02;
  background-image: radial-gradient(rgba(255, 200, 160, 0.12) 0.6px, transparent 0.6px);
  background-size: 7px 7px;
  mix-blend-mode: soft-light;
}

.home-poster::before {
  content: "";
  position: absolute;
  inset: auto 5% 18%;
  height: 28rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(232, 148, 58, 0.24), transparent 72%);
  filter: blur(72px);
  pointer-events: none;
  z-index: -1;
}

.home-poster-nav {
  position: relative;
  z-index: 3;
}

.home-poster-nav a,
.home-feature-meta a {
  color: rgba(255, 200, 160, 0.74);
  text-decoration: none;
}

.home-poster-nav a:hover,
.home-feature-meta a:hover {
  color: #e8943a;
}

.home-feature-meta p {
  color: rgba(255, 200, 160, 0.58);
}

.home-poster-stage {
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(1.25rem, 2vw, 2rem);
}

.home-wordmark {
  display: grid;
  gap: clamp(-1rem, -1vw, -0.25rem);
  margin-top: clamp(1rem, 4vw, 2.5rem);
  pointer-events: none;
  user-select: none;
}

.home-wordmark-line {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(4.9rem, 18vw, 13rem);
  line-height: 0.72;
  letter-spacing: -0.08em;
  color: rgba(255, 203, 128, 0.92);
  text-shadow: 0 20px 55px rgba(14, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(36px) rotate(-2deg);
  animation: homeWordmarkReveal 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-wordmark-line-a {
  justify-self: start;
  animation-delay: 80ms;
}

.home-wordmark-line-b {
  justify-self: center;
  margin-left: 12%;
  animation-delay: 180ms;
}

.home-wordmark-line-c {
  justify-self: end;
  margin-right: 8%;
  animation-delay: 280ms;
}

.home-feature {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(-0.25rem, -1vw, -1.2rem);
}

.home-feature-meta,
.home-feature-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-feature-image-shell {
  position: relative;
  overflow: hidden;
  width: min(100%, 74rem);
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  background: #2a0200;
  border: 1px solid rgba(92, 10, 0, 0.55);
  box-shadow: 0 42px 90px rgba(14, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  animation: homeImageReveal 1100ms cubic-bezier(0.16, 1, 0.3, 1) 340ms forwards;
}

.home-feature-image-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 0, 0, 0.14), rgba(14, 0, 0, 0.42)),
    linear-gradient(90deg, rgba(255, 184, 112, 0.1), transparent 26%, transparent 72%, rgba(255, 184, 112, 0.06));
  pointer-events: none;
}

.home-feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.08) brightness(0.8) sepia(0.18);
  transform: scale(1.015);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms ease;
}

.home-feature-image-shell:hover .home-feature-image {
  transform: scale(1.04);
  filter: grayscale(1) contrast(1.12) brightness(0.84) sepia(0.18);
}

.home-feature-caption {
  align-items: flex-end;
}

.home-bulletin {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0.25rem;
}

.home-bulletin-form {
  display: inline-flex;
  align-items: stretch;
  width: min(100%, 24rem);
  border: 1px solid rgba(232, 148, 58, 0.34);
  background: rgba(42, 2, 0, 0.56);
  backdrop-filter: blur(12px);
}

.home-bulletin-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 203, 128, 0.86);
  padding: 0.75rem 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.home-bulletin-input::placeholder {
  color: rgba(255, 200, 160, 0.34);
}

.home-bulletin-input:focus {
  outline: none;
}

.home-bulletin-submit,
.home-bulletin-archived {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  border: 0;
  border-left: 1px solid rgba(232, 148, 58, 0.34);
  background: transparent;
  color: rgba(255, 184, 112, 0.92);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease;
}

.home-bulletin-submit:hover {
  background: rgba(232, 148, 58, 0.12);
}

.home-bulletin-archived {
  width: 100%;
  padding: 0.8rem 1rem;
  border-left: 0;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.home-release-section {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.home-release-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-release-rail > a,
.home-release-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0 !important;
  border-top: 1px solid rgba(92, 10, 0, 0.58);
  border-bottom: 0 !important;
  background: transparent !important;
  text-decoration: none;
  transition: border-color 250ms ease, transform 250ms ease;
}

.home-release-rail > a:hover,
.home-release-link:hover {
  border-color: rgba(232, 148, 58, 0.72);
  transform: translateY(-2px);
}

.home-release-rail > a > div,
.home-release-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-release-rail > a .archive-title,
.home-release-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 0.95;
  color: #ffcb80 !important;
}

.home-release-rail > a .label-mono,
.home-release-rail > a > span,
.home-release-action,
.home-release-subtitle {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 200, 160, 0.48) !important;
}

@keyframes homeWordmarkReveal {
  from {
    opacity: 0;
    transform: translateY(36px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes homeImageReveal {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .home-feature-meta,
  .home-feature-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-feature-image-shell {
    aspect-ratio: 4 / 5;
  }

  .home-release-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-poster-stage {
    gap: 1.75rem;
  }

  .home-wordmark {
    gap: 0;
    margin-top: 0.6rem;
  }

  .home-wordmark-line-b {
    margin-left: 0;
  }

  .home-wordmark-line-c {
    margin-right: 0;
  }

  .home-feature {
    margin-top: 0;
  }

  .home-feature-image-shell {
    aspect-ratio: 3 / 4;
  }

  .home-release-rail {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-wordmark-line,
  .home-feature-image-shell {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .home-feature-image {
    transition: none;
  }
}
