/* Celebration packages hub. Works with home.css (header, nav, footer). Scoped to body.hub */
body.hub { --gold: #c9a45c; --bur: #7a1f14; --dk: #5a1710; }
html { scroll-behavior: smooth; }
body.hub { overflow-x: clip; }
body.hub .hb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
body.hub .hb-hero { position: relative; height: clamp(300px, 44vw, 520px); overflow: hidden; display: flex; align-items: flex-end; background: #1a0f0d; }
body.hub .hb-hero picture, body.hub .hb-hero img.bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: center 60%; will-change: transform; display: block; }
body.hub .hb-hero:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,6,6,.86), rgba(10,6,6,.3) 55%, rgba(10,6,6,0)); }
body.hub .hb-tx { position: relative; z-index: 2; padding: 0 8% 34px; max-width: 800px; }
body.hub .hb-tx h1 { color: #fff; font-size: clamp(30px, 5vw, 56px); line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
body.hub .hb-tx p { color: #f3e6c9; margin: 10px 0 0; font-size: 18px; line-height: 1.5; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
body.hub .hb-btn { display: inline-block; background: linear-gradient(180deg, #9a2a1c, #6f180e); color: #fff !important; font: 700 13px Arial, Helvetica, sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 11px 18px; border: 1px solid var(--gold); border-radius: 3px; text-decoration: none; cursor: pointer; }
body.hub .hb-btn:hover { filter: brightness(1.12); }
body.hub .hb-btn.ghost { background: transparent; color: var(--bur) !important; }
body.hub .hb-season { background: #f1e6cb; text-align: center; font: 600 14px Arial, Helvetica, sans-serif; letter-spacing: .06em; padding: 10px 14px; color: var(--dk); }
body.hub .hb-season b { color: var(--bur); }
body.hub .hb-season a { color: var(--bur); }
body.hub h2.hb-sec { font-size: clamp(28px, 3.6vw, 40px); text-align: center; margin: 46px 0 6px; line-height: 1.15; }
body.hub .hb-rule { display: flex; align-items: center; gap: 10px; max-width: 320px; margin: 6px auto 22px; }
body.hub .hb-rule i { flex: 1; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .9s ease; }
body.hub .hb-rule b { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
body.hub .hb-rule.in i { transform: scaleX(1); }
body.hub .hb-lead { text-align: center; max-width: 720px; margin: 0 auto 22px; color: #5a4a40; }
body.hub .hb-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 26px; }
body.hub .hb-tabs button { font: 600 13px Arial, Helvetica, sans-serif; letter-spacing: .06em; border: 1px solid var(--gold); background: #fff; color: var(--dk); padding: 9px 14px; border-radius: 30px; cursor: pointer; }
body.hub .hb-tabs button.on { background: var(--bur); color: #fff; }
body.hub .hb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
body.hub .hb-card { background: #fffdf7; border: 1px solid #e3d3ac; box-shadow: 0 6px 18px rgba(80,40,10,.1); display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 20px; }
body.hub .hb-card.hide { display: none; }
body.hub .hb-ph { height: 210px; overflow: hidden; background: #222; }
body.hub .hb-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
body.hub .hb-card:hover .hb-ph img { transform: scale(1.07); }
body.hub .hb-cb { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
body.hub .hb-cb h3 { font-size: 24px; line-height: 1.2; }
body.hub .hb-cb p { margin: 0; font-size: 16px; line-height: 1.55; }
body.hub .hb-tag { font: 700 11px Arial, Helvetica, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8a6a2a; }
body.hub .hb-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
body.hub details.hb-more { margin-top: 4px; }
body.hub details.hb-more summary { cursor: pointer; font: 700 13px Arial, Helvetica, sans-serif; letter-spacing: .06em; color: var(--bur); text-transform: uppercase; }
body.hub details.hb-more > div { padding-top: 10px; font-size: 15.5px; line-height: 1.55; }
body.hub details.hb-more h4 { margin: 10px 0 4px; font: 700 15px Georgia, serif; color: var(--dk); }
body.hub details.hb-more ul { margin: 0 0 8px; padding-left: 20px; }
body.hub details.hb-more li { margin: 2px 0; }
body.hub details.hb-more .hb-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
body.hub details.hb-more .hb-gal img { width: 100%; height: 110px; object-fit: cover; display: block; border: 1px solid #e3d3ac; }
body.hub .hb-band { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin: 54px 0; }
body.hub .hb-band .im { overflow: hidden; border: 1px solid #e3d3ac; box-shadow: 0 8px 24px rgba(80,40,10,.15); }
body.hub .hb-band img { width: 100%; display: block; height: auto; }
body.hub .hb-band.flip .im { order: 2; }
body.hub .hb-band h2 { text-align: left; font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
body.hub .hb-tl { border-left: 2px solid var(--gold); margin: 12px 0 0 6px; padding-left: 18px; }
body.hub .hb-tl div { margin: 0 0 12px; position: relative; }
body.hub .hb-tl div:before { content: ""; position: absolute; left: -25px; top: 8px; width: 10px; height: 10px; background: var(--bur); border: 2px solid var(--gold); border-radius: 50%; }
body.hub .hb-tl b { color: var(--bur); }
body.hub .hb-faq details { background: #fff; border: 1px solid #e3d3ac; margin: 0 0 10px; padding: 12px 16px; }
body.hub .hb-faq summary { cursor: pointer; font-weight: 700; color: var(--dk); }
body.hub .hb-faq p { margin: 8px 0 0; }
body.hub .hb-areas { text-align: center; font: 15px/1.9 Arial, Helvetica, sans-serif; color: #5a4a40; margin: 8px 0 40px; }
body.hub .hb-areas a { color: var(--bur); margin: 0 8px; white-space: nowrap; }
/* quiz */
body.hub .hb-quiz { background: linear-gradient(180deg, #8d2417, #5a1710); color: #fbf6ea; margin: 56px 0 0; padding: 44px 0 50px; }
body.hub .hb-quiz h2 { color: #fff; }
body.hub .hb-quiz .hb-lead { color: #f0dfc0; }
body.hub .hb-qbox { max-width: 760px; margin: 0 auto; background: rgba(255,255,255,.07); border: 1px solid var(--gold); padding: 24px 22px 26px; min-height: 260px; }
body.hub .qstep { display: none; }
body.hub .qstep.on { display: block; animation: hbfade .45s ease; }
@keyframes hbfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body.hub .hb-qbar { height: 4px; background: rgba(255,255,255,.2); margin: 0 0 16px; }
body.hub .hb-qbar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .4s; }
body.hub .qq { font: 700 26px Georgia, serif; margin: 0 0 14px; color: #fff; }
body.hub .opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
body.hub .opt { background: #fffdf7; color: var(--dk); border: 2px solid transparent; padding: 13px 14px; font: 600 16px Georgia, serif; text-align: left; cursor: pointer; border-radius: 3px; }
body.hub .opt:hover, body.hub .opt:focus-visible { border-color: var(--gold); }
body.hub .hb-skip { display: block; margin-top: 14px; text-align: center; color: #f0dfc0 !important; font: 14px Arial, Helvetica, sans-serif; }
body.hub .res { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.hub .res h3 { color: #fff; font-size: 26px; grid-column: 1/-1; margin: 0; }
body.hub .res .hb-card { color: #2b211c; }
body.hub .res .hb-ph { height: 150px; }
body.hub .hb-again { background: none; border: 0; color: #f0dfc0; text-decoration: underline; cursor: pointer; margin-top: 12px; font: 14px Arial, Helvetica, sans-serif; }
/* scroll reveal */
body.hub .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
body.hub .reveal.in { opacity: 1; transform: none; }
body.hub .slide-l { opacity: 0; transform: translateX(-60px); transition: opacity .8s ease, transform .8s ease; }
body.hub .slide-r { opacity: 0; transform: translateX(60px); transition: opacity .8s ease, transform .8s ease; }
body.hub .slide-l.in, body.hub .slide-r.in { opacity: 1; transform: none; }
@media (max-width: 900px) { body.hub .hb-grid { grid-template-columns: repeat(2, 1fr); } body.hub .hb-band { grid-template-columns: 1fr; } body.hub .hb-band.flip .im { order: 0; } }
@media (max-width: 600px) { body.hub .hb-grid, body.hub .opts, body.hub .res { grid-template-columns: 1fr; } body.hub .hb-tx { padding: 0 6% 22px; } body.hub .hb-tx p { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
  body.hub .reveal, body.hub .slide-l, body.hub .slide-r { opacity: 1 !important; transform: none !important; transition: none !important; }
  body.hub .hb-hero picture, body.hub .hb-hero img.bg { transform: none !important; }
  body.hub .hb-rule i { transform: none !important; transition: none; }
  body.hub .qstep.on { animation: none; }
  body.hub .hb-card:hover .hb-ph img { transform: none; }
}
