/* =========================================================================
   J3 University · Black Week 2026 homepage variant
   Loads AFTER /modern/styles.css and /assets/css/black-week.css.
   Only Black Week additions live here: header offset under the sticky bar,
   the Black Week hero, the #sale section, and the price chips on the
   existing Courses and Programs blocks.
   ========================================================================= */

/* ---- header sits under the sticky Black Week bar ---- */
.site-header { top: var(--bw-bar-h, 0px); }
.mobile-menu.open { inset: calc(84px + var(--bw-bar-h, 0px)) 0 0; }
#sale, #all-access { scroll-margin-top: calc(var(--bw-bar-h, 44px) + 90px); }

/* ---- hero ---- */
.bw-hero::before { background: radial-gradient(circle, rgba(211,30,3,.2), transparent 62%); }
.bw-hero h1 { margin: 20px 0 18px; }
.bw-hero .sub { margin-bottom: 22px; max-width: 520px; }
.bw-hero .bw-eyebrow::before { display: none; }
.hero-count { justify-content: flex-start; margin: 0 0 30px; }
.hero-count .lab { text-align: left; }
.bw-hero .btn-stack .b-sub { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.55); }
.bw-sticker { position: absolute; top: -18px; left: -18px; z-index: 2; width: 104px; height: 104px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-content: center; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; line-height: 1.05;
  box-shadow: 0 16px 34px -12px rgba(211,30,3,.6); border: 4px solid #fff; transform: rotate(-10deg); }
.bw-sticker b { display: block; font-size: 1.9rem; letter-spacing: -.02em; font-weight: 700; }

/* ---- #sale section (dark Black Week band) ---- */
.bw-sale { background: #0b0b0d; position: relative; overflow: hidden; }
.bw-sale::before { content: ""; position: absolute; top: -260px; left: 50%; transform: translateX(-50%); width: 1100px; height: 620px;
  background: radial-gradient(ellipse, rgba(211,30,3,.28), transparent 65%); pointer-events: none; }
.bw-sale .wrap { position: relative; }
.bw-sale .section-head h2 { color: #fff; }
.bw-sale .section-head h2 .accent { color: #ff4a33; }
.bw-sale .section-head p { color: #c2c6cc; }
.bw-sale .section-head .eyebrow { background: rgba(255,255,255,.1); color: #ff9c8c; }
.bw-sale .section-head .eyebrow::before { background: #ff9c8c; }

.bwc-kind { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.bwc-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--font-head); margin: 0 0 22px; }
.bwc-price .was { text-decoration: line-through; color: #5f646c; font-size: 1.1rem; font-weight: 600; }
.bwc-price .now { color: var(--red); font-size: 2rem; font-weight: 700; line-height: 1; }

/* featured Level 1 */
.bw-feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(26px,3.5vw,56px); align-items: center;
  background: #fff; border-radius: 30px; padding: clamp(22px,3vw,44px); box-shadow: 0 40px 90px -40px rgba(211,30,3,.55);
  border: 2px solid var(--red); }
.bwf-media { position: relative; }
.bwf-media img { width: 100%; border-radius: 20px; aspect-ratio: 1024/884; object-fit: cover; }
.bwf-media .bw-ribbon { position: absolute; top: 16px; left: 16px; box-shadow: var(--shadow-sm); }
.bwf-copy h3 { font-size: clamp(1.6rem,1rem + 1.7vw,2.3rem); }
.bwf-copy .uline { margin: 14px 0 18px; }
.bwf-lead { color: #34373d; font-size: 1.04rem; margin: 0 0 20px; }
.bwf-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 12px; }
.bwf-list li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--ink-2); }
.bwf-list li .ck { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
.bwf-price { justify-content: flex-start; margin: 24px 0 0; }
.bwf-plan { margin: 8px 0 24px; font-family: var(--font-head); font-weight: 500; color: #34373d; }

/* All Access strip */
.bw-aa { display: grid; grid-template-columns: 1.3fr auto auto; gap: 18px 36px; align-items: center; margin-top: 28px;
  background: linear-gradient(125deg, #15171c 0%, #2a0c07 60%, #6e1306 120%); border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px; padding: clamp(22px,3vw,34px) clamp(22px,3vw,40px); }
.bw-aa .bwc-kind { color: #ff9c8c; }
.bw-aa h3 { color: #fff; font-size: clamp(1.4rem,1rem + 1vw,1.8rem); }
.bw-aa p { color: #c9ccd2; margin: 8px 0 0; font-size: 1rem; max-width: 460px; }
.bwa-price .bwc-price { margin: 0; }
.bwa-price .was { color: #a3a8b0; }
.bwa-price .now { color: #ff5a43; }
.bwa-renew { display: block; color: #c9ccd2; font-size: .9rem; margin-top: 6px; }

/* product grid */
.bw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.bw-card { background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bw-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(211,30,3,.6); }
.bwc-ph { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.bwc-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s var(--ease); }
.bw-card:hover .bwc-ph img { transform: scale(1.06); }
.bwc-ph .bw-ribbon { position: absolute; top: 12px; left: 12px; }
.bwc-bd { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.bwc-bd h3 { font-size: 1.15rem; line-height: 1.2; }
.bwc-bd .uline { width: 44px; height: 3px; margin: 12px 0 12px; }
.bwc-bd p { color: #4a4f57; font-size: .93rem; margin: 0 0 18px; }
.bwc-bd .bwc-price { margin-top: auto; margin-bottom: 18px; }
.bwc-bd .bwc-price .now { font-size: 1.7rem; }
.bwc-bd .btn { margin-top: auto; align-self: flex-start; font-size: .94rem; padding-left: 22px; }

/* ---- price chips on the existing Courses + Programs blocks ---- */
.cb-bw { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; font-family: var(--font-head); }
.cb-bw .was { text-decoration: line-through; color: #5f646c; font-weight: 600; font-size: 1.05rem; }
.cb-bw .now { color: var(--red); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.course-box.dark .cb-bw .was { color: #a3a8b0; }
.course-box.dark .cb-bw .now { color: #ff5a43; }
.course-box.dark .cb-bw .bw-ribbon { background: var(--red); color: #fff; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .bw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .bw-feature { grid-template-columns: 1fr; }
  .bw-aa { grid-template-columns: 1fr; text-align: left; }
  .bw-aa .btn { justify-self: start; }
  .prog-copy .cb-bw { justify-content: center; }
  .bw-sticker { left: auto; right: -6px; top: -14px; }
}
@media (max-width: 600px) {
  .bw-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .bw-sticker { width: 84px; height: 84px; font-size: .7rem; }
  .bw-sticker b { font-size: 1.5rem; }
  .bwf-copy .btn-lg { width: 100%; padding-left: 22px; font-size: 1rem; }
  .bw-aa .btn { width: 100%; }
  .bwc-bd .btn { align-self: stretch; }
  .hero-count { gap: 6px; }
}
.nowrap { white-space: nowrap; }
.bw-sale .section-head { max-width: 820px; }
.hero-proof .avatars { flex-shrink: 0; }
/* brighter red on black for AA contrast (theme red-bright #e02817 is 4.2:1 on the bar black) */
.bw-eyebrow b, .bw-seg small { color: #ff4a33; }
