/* =========================================================================
   The Witching Hour — Halloween contest series 2026
   Home-page promo strip + /halloween page. Flat Halloween styling only:
   a moon and a few bats. Palette per the LBZ brief (section 6).
   ========================================================================= */
:root {
  --wh-navy: #13233F;
  --wh-blue: #1666C6;
  --wh-orange: #F08A2E;
  --wh-cream: #FBF6EE;
  --wh-text: #1B1F2A;
  --wh-muted: #4A5160;
}

/* ---- Shared: orange button (navy text on orange passes AA) ------------- */
.wh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--wh-orange); color: var(--wh-navy);
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  border: 2px solid var(--wh-orange);
  transition: background var(--ease), box-shadow var(--ease);
}
.wh-btn:hover, .wh-btn:focus-visible { background: #F7A55C; color: var(--wh-navy); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.wh-btn:focus-visible { outline: 3px solid var(--wh-cream); outline-offset: 3px; }
.wh-btn[aria-disabled="true"] { background: var(--wh-cream); border-color: var(--wh-navy); cursor: default; box-shadow: none; }

/* ===================== HOME PAGE PROMO STRIP (brief §1) ================ */
.wh-promo { background: var(--wh-navy); color: var(--wh-cream); }
.wh-promo__inner {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 14px;
  padding-top: 22px; padding-bottom: 22px;
}
.wh-promo__eyebrow { font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; color: var(--wh-orange); margin: 0 0 4px; }
.wh-promo h2 { color: var(--wh-cream); font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 6px; }
.wh-promo__sub { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.wh-promo__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.wh-promo__small { margin: 0; font-size: 13px; opacity: .92; }
.wh-promo__art { display: none; }
/* Mobile: whole block is clickable via the button's stretched hit area. */
@media (max-width: 819px) {
  .wh-promo__btn::after { content: ""; position: absolute; inset: 0; }
}
@media (min-width: 820px) {
  .wh-promo__inner { grid-template-columns: 3fr 2fr; align-items: center; gap: 32px; }
  .wh-promo__art { display: flex; justify-content: center; align-items: center; height: 150px; }
  .wh-promo__art svg { width: auto; height: 100%; }
}

/* ===================== /halloween PAGE (brief §2) ====================== */
.wh-page { background: var(--wh-cream); color: var(--wh-text); }
.wh-page main { padding-top: var(--nav-h); }
.wh-page h2 { color: var(--wh-navy); }
.wh-page h3 { color: var(--wh-text); }
.wh-section { padding: 56px 0; }
.wh-section + .wh-section { border-top: 1px solid rgba(19,35,63,.1); }
.wh-lede { color: var(--wh-muted); font-size: 17px; max-width: 680px; }

/* Hero */
.wh-hero { background: var(--wh-navy); color: var(--wh-cream); padding: 48px 0 56px; }
.wh-hero__grid { display: grid; gap: 24px; align-items: center; }
.wh-hero__brand { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; font-size: 13px; color: var(--wh-orange); margin: 0 0 8px; }
.wh-hero h1 { color: var(--wh-cream); font-size: clamp(34px, 7vw, 56px); margin: 0 0 12px; }
.wh-hero h1 .wh-free { color: var(--wh-orange); }
.wh-hero__sub { font-size: 18px; max-width: 560px; margin: 0 0 20px; }
.wh-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wh-pills li { border: 2px solid var(--wh-cream); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
.wh-hero__art { max-width: 140px; justify-self: center; }
.wh-hero__art svg { width: 100%; height: auto; }
@media (min-width: 820px) {
  .wh-hero { padding: 72px 0 80px; }
  .wh-hero__grid { grid-template-columns: 3fr 2fr; }
  .wh-hero__art { max-width: 300px; }
}

/* Key dates */
.wh-dates { display: grid; gap: 16px; }
.wh-date { background: var(--wh-navy); color: var(--wh-cream); border-radius: 14px; padding: 22px; }
.wh-date__label { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; font-size: 13px; color: var(--wh-orange); margin: 0 0 6px; }
.wh-date__main { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.wh-date p:last-child { margin: 0; }
@media (min-width: 820px) { .wh-dates { grid-template-columns: repeat(3, 1fr); } }

/* How to enter */
.wh-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.wh-steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.wh-steps li::before {
  content: counter(step); flex: 0 0 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wh-navy); color: var(--wh-cream);
  font-family: var(--font-head); font-weight: 700;
}
.wh-cta__note { font-size: 14px; color: var(--wh-muted); margin: 10px 0 0; }

/* Contest cards */
.wh-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .wh-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wh-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.wh-card {
  background: #fff; border: 2px solid var(--wh-blue); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.wh-card h3 { margin: 0; font-size: 20px; }
.wh-card__grades { margin: 0; font-weight: 700; color: var(--wh-blue); font-size: 14px; letter-spacing: .02em; }
.wh-card__desc { margin: 0 0 8px; color: var(--wh-muted); flex: 1; }
.wh-card__tag { align-self: flex-start; margin: 0; background: var(--wh-navy); color: var(--wh-cream);
  font-size: 13px; font-weight: 600; border-radius: 999px; padding: 4px 12px; }
.wh-card__dl { display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--wh-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wh-card__dl:hover { color: var(--wh-navy); }

/* Prizes + rules */
.wh-list { padding-left: 1.2em; margin: 0; font-size: 17px; }
.wh-list li { margin-bottom: 8px; }

/* Closing CTA */
.wh-close { background: var(--wh-navy); color: var(--wh-cream); text-align: center; }
.wh-close h2 { color: var(--wh-cream); }
.wh-close .wh-cta__note { color: var(--wh-cream); opacity: .9; }
.wh-close a:not(.wh-btn) { color: var(--wh-cream); text-decoration: underline; }
.wh-flyer { margin: 28px 0 0; }

/* Links stay hidden until the supplied files and form URL arrive */
[hidden] { display: none !important; }
