/* Upcoming sessions */
.upcoming { background: #0a0f18; color: #e8eef6; }

/* Hero: page-specific touches on the shared course hero */
.up-hero { background: radial-gradient(ellipse at 76% 45%, rgba(252, 219, 102, .12), transparent 45%), radial-gradient(at 100% 0%, rgba(44, 132, 200, .4), transparent 60%), #0a0f18; }
.up-hero h1 span { font-size: .42em; line-height: 1.45; }
.up-hero .course-hero__facts li:nth-child(3):last-child { grid-column: 1 / -1; }
.up-hero__stack { position: relative; display: grid; place-items: center; min-height: 560px; }
.up-hero__stack::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border: 1px solid rgba(252, 219, 102, .16); border-radius: 50%; background: radial-gradient(circle, rgba(252, 219, 102, .12), transparent 68%); box-shadow: 0 0 0 40px rgba(252, 219, 102, .025), 0 0 0 80px rgba(252, 219, 102, .015); }
.up-hero__stack img { position: absolute; width: 46%; border-radius: 16px; box-shadow: 0 26px 50px rgba(0, 0, 0, .55); }
.up-hero__stack img:nth-child(1) { transform: translateX(-52%) rotate(-9deg) scale(.88); opacity: .75; }
.up-hero__stack img:nth-child(2) { transform: translateX(52%) rotate(8deg) scale(.88); opacity: .75; }
.up-hero__stack img:nth-child(3) { position: relative; z-index: 1; width: 50%; border: 1px solid rgba(252, 219, 102, .35); }

/* Summit stats */
.up-stats { padding: 0 24px; }
.up-stats ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; margin: -44px auto 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: linear-gradient(135deg, #16213a, #111a2c); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); position: relative; z-index: 2; }
.up-stats li { display: flex; flex-direction: column; gap: 6px; padding: 28px 30px; }
.up-stats li + li { border-left: 1px solid rgba(255, 255, 255, .08); }
.up-stats strong { color: #fcdb66; font: 600 44px/1 var(--font-heading); letter-spacing: -1.5px; }
.up-stats span { color: #9fb0c3; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* Sessions */
.up-sessions { max-width: 1280px; margin-inline: auto; padding: 96px 24px 40px; }
.up-heading { margin-bottom: 48px; text-align: center; }
.up-eyebrow { margin-bottom: 12px; color: #77e5d1; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.up-heading h2 { color: #fff; font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; line-height: 1.15; letter-spacing: -1.5px; }
.up-heading > p:last-child { margin-top: 12px; color: #8fa3b8; }
.up-group + .up-group { margin-top: 28px; }
.up-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.up-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.up-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); border-radius: 22px; background: linear-gradient(160deg, #162034, #0f1726); transition: transform .3s, border-color .3s, box-shadow .3s; }
.up-card:hover { border-color: rgba(119, 229, 209, .45); box-shadow: 0 24px 48px rgba(0, 0, 0, .4); transform: translateY(-6px); }
.up-card__poster { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: #0b111c; }
.up-card__poster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.up-card__poster::after { content: "View poster"; position: absolute; right: 14px; bottom: 14px; padding: 7px 14px; border-radius: 20px; background: rgba(10, 15, 24, .78); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.up-card:hover .up-card__poster img { transform: scale(1.04); }
.up-card:hover .up-card__poster::after, .up-card__poster:focus-visible::after { opacity: 1; transform: none; }
.up-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.up-card__tag { align-self: flex-start; margin-bottom: 12px; padding: 4px 11px; border-radius: 20px; background: rgba(252, 219, 102, .12); color: #fcdb66; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.up-card h4 { color: #fff; font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.3px; }
.up-card__summary { margin-top: 8px; color: #a9b8c8; font-size: 15px; line-height: 1.6; }
.up-card__speaker { margin-top: auto; padding-top: 18px; color: #8fa3b8; font-size: 13px; line-height: 1.5; }
.up-card__speaker strong { display: block; margin-bottom: 2px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); color: #97e9d4; font-size: 17px; font-weight: 700; }

.up-card--featured { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.up-card--featured .up-card__poster { aspect-ratio: auto; min-height: 100%; }
.up-card--featured .up-card__body { justify-content: center; padding: 30px; }
.up-card--featured h4 { font-size: 24px; }

/* Registration */
.up-register { padding: 40px 24px 110px; }
.up-register__card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; max-width: 1280px; margin-inline: auto; padding: 40px 44px; border: 1px solid rgba(252, 219, 102, .25); border-radius: 26px; background: radial-gradient(ellipse at 100% 0%, rgba(252, 219, 102, .14), transparent 55%), linear-gradient(135deg, #16213a, #0f1726); }
.up-register h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -1px; }
.up-register__card > div:first-child p:last-child { margin-top: 8px; color: #a9b8c8; }

@media (max-width: 1100px) {
  .up-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .up-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .up-hero h1 span { font-size: .5em; }
  .up-hero__stack { min-height: 340px; margin-bottom: 10px; order: -1; }
  .up-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -28px; }
  .up-stats li { padding: 20px; }
  .up-stats li:nth-child(3) { border-left: 0; }
  .up-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .up-stats strong { font-size: 34px; }
  .up-stats span { font-size: 12px; }
  .up-sessions { padding: 64px 20px 24px; }
  .up-heading { margin-bottom: 36px; }
  .up-group + .up-group { margin-top: 22px; }
  .up-card--featured { grid-template-columns: 1fr; }
  .up-card--featured .up-card__poster { aspect-ratio: 3 / 4; }
  .up-card--featured .up-card__body { padding: 22px; }
  .up-card--featured h4 { font-size: 21px; }
  .up-register { padding: 32px 20px 80px; }
  .up-register__card { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .up-grid--four { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .up-card, .up-card__poster img, .up-card__poster::after { transition: none; }
  .up-card:hover, .up-card:hover .up-card__poster img { transform: none; }
}
