.home-main {
  overflow: clip;
}

.hub-hero {
  position: relative;
  width: 100%;
  min-height: min(920px, 100svh);
  padding: 62px 0 64px;
  background:
    radial-gradient(circle at 8% 14%, rgba(231, 145, 120, 0.24), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(240, 205, 154, 0.34), transparent 22%),
    linear-gradient(180deg, rgba(255, 248, 242, 0.98) 0%, rgba(246, 240, 232, 0.92) 100%);
}

.hub-hero-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: calc(min(920px, 100svh) - 72px);
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(340px, 520px);
  justify-content: space-between;
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

.hub-copy {
  max-width: 720px;
  display: grid;
  gap: 24px;
  align-content: center;
}

#hero-title {
  margin: 0;
  white-space: pre-line;
  font-family: "Song Myung", serif;
  max-width: 11.2ch;
  font-size: clamp(3rem, 4.25vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: pretty;
}

.hub-subcopy {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1.18rem, 1.7vw, 1.52rem);
  line-height: 1.74;
  color: rgba(31, 28, 26, 0.88);
  font-weight: 700;
}

.hero-board {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  min-height: 560px;
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 38px 0 34px 12%;
  border-radius: 40px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(255, 241, 235, 0.22)),
    linear-gradient(180deg, rgba(244, 188, 176, 0.56), rgba(244, 220, 184, 0.36));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-lg);
}

.hero-poster {
  position: absolute;
  width: clamp(188px, 21vw, 248px);
}

.hero-poster-1 {
  left: 0;
  top: 55%;
  transform: translateY(-50%) rotate(-7deg);
}

.hero-poster-2 {
  left: 23%;
  top: 2%;
  transform: rotate(5deg);
}

.hero-poster-3 {
  right: 0;
  top: 18%;
  transform: rotate(8deg);
}

.hero-poster-media {
  position: relative;
  min-height: 288px;
}

.hero-poster-copy {
  display: grid;
  gap: 6px;
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin-top: 0;
  z-index: 2;
}

.hero-poster-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(18, 14, 11, 0) 0%, rgba(18, 14, 11, 0.78) 100%);
  border-radius: 0 0 24px 24px;
  pointer-events: none;
}

.hero-poster-kicker,
.category-name {
  margin: 0;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-poster-copy h3 {
  margin: 0;
  white-space: pre-line;
  color: rgba(255, 248, 243, 0.96);
  font-size: 1.08rem;
  line-height: 1.38;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.hero-poster-copy .hero-poster-kicker {
  color: rgba(255, 248, 243, 0.82);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-stack,
.category-stack {
  position: relative;
  min-height: inherit;
}

.hero-thumb,
.category-thumb {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(70, 35, 17, 0.16);
}

.hero-stack-collage .hero-thumb img,
.category-stack-collage .category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stack-poster .hero-thumb,
.category-stack-poster .category-thumb {
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff8f3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, color-mix(in srgb, var(--visual-accent) 70%, white 30%), color-mix(in srgb, var(--visual-accent) 86%, #241410 14%));
}

.hero-stack-poster .hero-thumb span,
.category-stack-poster .category-thumb span {
  font-family: "Song Myung", serif;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.02;
  text-align: center;
}

.hero-thumb-1,
.category-thumb-1 {
  inset: 0 20% 92px 0;
}

.hero-thumb-2,
.category-thumb-2 {
  width: 42%;
  right: 0;
  top: 24px;
}

.hero-thumb-3,
.category-thumb-3 {
  width: 46%;
  left: 0;
  bottom: 0;
}

.category-deck.section-block {
  padding-top: 92px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.category-tile {
  --tile-accent: #d8583f;
  display: grid;
  gap: 28px;
  padding: 40px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    linear-gradient(145deg, color-mix(in srgb, var(--tile-accent) 10%, white 90%), color-mix(in srgb, var(--tile-accent) 20%, #f6f0e8 80%));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-md);
}

.category-visual {
  min-height: 344px;
}

.category-tile-body {
  display: grid;
  gap: 18px;
}

.category-tile h3 {
  margin: 0;
  font-family: "Song Myung", serif;
  font-size: clamp(2.15rem, 3.2vw, 3rem);
  line-height: 1.06;
}

.category-subcopy {
  margin: 0;
  max-width: 28ch;
  font-size: 1.28rem;
  line-height: 1.82;
  font-weight: 700;
}

.category-tile-actions {
  display: flex;
}

.category-tile .button,
.tile-muted-action {
  width: 100%;
}

.tile-muted-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  border-radius: 999px;
  background: rgba(31, 28, 26, 0.08);
  color: rgba(31, 28, 26, 0.7);
  font-size: 1.08rem;
  font-weight: 700;
}

.category-tile.is-planned {
  opacity: 0.94;
}

@media (max-width: 1160px) {
  .hub-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hub-hero {
    min-height: auto;
  }

  .hero-board {
    justify-self: center;
    width: min(100%, 540px);
    min-height: 480px;
  }

  .hub-copy {
    max-width: 100%;
  }

  #hero-title {
    max-width: 12.4ch;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hub-hero {
    padding: 36px 0 34px;
  }

  .hub-copy {
    gap: 16px;
  }

  #hero-title {
    max-width: 100%;
    font-size: clamp(2.2rem, 8.5vw, 3.24rem);
    line-height: 1.12;
  }

  .hub-subcopy {
    max-width: 100%;
    font-size: 1.08rem;
    line-height: 1.72;
  }

  .hero-board {
    width: 100%;
    min-height: 320px;
  }

  .hero-board::before {
    inset: 20px 0 0 0;
  }

  .hero-poster {
    width: 42%;
    max-width: 172px;
  }

  .hero-poster-media {
    min-height: 168px;
  }

  .hero-poster-copy h3 {
    display: none;
  }

  .hero-poster-kicker,
  .category-name {
    font-size: 0.78rem;
  }

  .hero-poster-1 {
    left: 2%;
    top: 52%;
  }

  .hero-poster-2 {
    left: 28%;
    top: 2%;
  }

  .hero-poster-3 {
    right: 2%;
    top: 16%;
  }

  .category-visual {
    min-height: 246px;
  }

  .category-tile h3 {
    font-size: 2.08rem;
  }

  .category-subcopy {
    max-width: 100%;
    font-size: 1.16rem;
    line-height: 1.76;
  }
}
