/* =====================================================================
   Halloween Photoshoot 2026 (/halloween-photoshoot) + the home page band
   ---------------------------------------------------------------------
   Palette taken from the supplied poster: night brown, pumpkin orange,
   candle gold, cream and moss green. Ornaments (#hw-bat, #hw-pumpkin,
   #hw-ghost, #hw-web) are an inline SVG sprite in halloween-photoshoot.php.

   Page rules are scoped to .halloween-page. The home band rules
   (.hw-band) are the only ones used outside it — index.php links this
   sheet only while the event is live.
   ===================================================================== */

.halloween-page,
.hw-band {
    --hw-night: #1E120D;
    --hw-night-2: #33200F;
    --hw-pumpkin: #F2771F;
    --hw-pumpkin-deep: #C9500C;
    --hw-candle: #FFC56B;
    --hw-cream: #FCEBD2;
    --hw-moss: #3D4A2A;
    --hw-line: rgba(252, 235, 210, .18);
}

.halloween-page .sec-title {
    margin-bottom: 12px;
}

.halloween-page .sub-title.style3 {
    color: var(--hw-pumpkin-deep);
}

.halloween-page .sub-title.style3:after {
    background: linear-gradient(0deg, transparent 0%, var(--hw-pumpkin) 100%) border-box;
}

/* ---------- Buttons ----------
   Primary: pumpkin, fills night-brown on hover. Ghost: the theme's outline
   button, recoloured cream on dark panels and pumpkin on light ones. */
.halloween-page .th-btn.hw-btn-primary,
.hw-band .hw-band-btn {
    background: var(--hw-pumpkin);
    color: #fff;
    font-weight: 600;
}

.halloween-page .th-btn.hw-btn-primary::before,
.halloween-page .th-btn.hw-btn-primary::after {
    background: var(--hw-night);
}

.halloween-page .th-btn.hw-btn-primary:hover,
.halloween-page .th-btn.hw-btn-primary:focus-visible {
    background: var(--hw-night);
    color: var(--hw-candle);
}

.halloween-page .th-btn.style3.style-border2.hw-btn-ghost {
    background: transparent;
    border: 1.5px solid var(--hw-pumpkin);
    color: var(--hw-pumpkin-deep);
}

.halloween-page .th-btn.style3.style-border2.hw-btn-ghost::before,
.halloween-page .th-btn.style3.style-border2.hw-btn-ghost::after {
    background: var(--hw-pumpkin);
}

.halloween-page .th-btn.style3.style-border2.hw-btn-ghost:hover,
.halloween-page .th-btn.style3.style-border2.hw-btn-ghost:focus-visible {
    background: var(--hw-pumpkin);
    border-color: var(--hw-pumpkin);
    color: #fff;
}

.halloween-page .hw-hero .th-btn.style3.style-border2.hw-btn-ghost,
.halloween-page .hw-venue .th-btn.style3.style-border2.hw-btn-ghost {
    border-color: var(--hw-cream);
    color: var(--hw-cream);
}

.halloween-page .hw-hero .th-btn.style3.style-border2.hw-btn-ghost::before,
.halloween-page .hw-hero .th-btn.style3.style-border2.hw-btn-ghost::after,
.halloween-page .hw-venue .th-btn.style3.style-border2.hw-btn-ghost::before,
.halloween-page .hw-venue .th-btn.style3.style-border2.hw-btn-ghost::after {
    background: var(--hw-cream);
}

.halloween-page .hw-hero .th-btn.style3.style-border2.hw-btn-ghost:hover,
.halloween-page .hw-venue .th-btn.style3.style-border2.hw-btn-ghost:hover {
    background: var(--hw-cream);
    border-color: var(--hw-cream);
    color: var(--hw-night);
}

/* ---------- Banner (breadcrumb) ---------- */
.hw-banner .breadcumb-bg-thumb {
    background:
        radial-gradient(circle at 78% 30%, rgba(255, 197, 107, .32) 0%, transparent 32%),
        linear-gradient(180deg, #2A1810 0%, var(--hw-night) 70%, #120A07 100%);
}

.hw-banner .breadcumb-title {
    color: var(--hw-cream);
    text-shadow: 0 0 24px rgba(242, 119, 31, .55), 0 2px 10px rgba(0, 0, 0, .5);
}

.hw-moon {
    position: absolute;
    top: 14%;
    right: 16%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 36%, #FFE3A8 0%, #F6B860 55%, #D98A2E 100%);
    box-shadow: 0 0 60px 18px rgba(246, 184, 96, .35);
    opacity: .9;
}

.hw-web-corner {
    position: absolute;
    top: 0;
    width: 190px;
    height: 190px;
    color: var(--hw-cream);
    opacity: .28;
}

.hw-web-left {
    left: 0;
}

.hw-web-right {
    right: 0;
    transform: scaleX(-1);
}

/* Bats (hw_bat_svg): the whole bat drifts; each wing flaps about the
   shoulder line (y=17 in the 100x44 viewBox) while the body stays put.
   A faint candle-glow outline keeps the silhouette readable on dark brown. */
.hw-bat {
    position: absolute;
    height: auto;
    aspect-ratio: 100 / 44;
    color: #0B0604;
    filter: drop-shadow(0 0 5px rgba(255, 197, 107, .35));
    animation: hwFly 7s ease-in-out infinite;
}

.hw-bat .hw-wing {
    transform-box: view-box;
    transform-origin: 50px 17px;
    animation: hwFlap .42s ease-in-out infinite alternate;
}

.hw-bat-1 {
    top: 20%;
    left: 16%;
    width: 84px;
}

.hw-bat-2 {
    top: 10%;
    right: 27%;
    width: 56px;
    animation-delay: -2s;
}

.hw-bat-2 .hw-wing {
    animation-duration: .36s;
    animation-delay: -.15s;
}

.hw-bat-3 {
    top: 33%;
    right: 8%;
    width: 44px;
    animation-delay: -4s;
}

.hw-bat-3 .hw-wing {
    animation-duration: .32s;
    animation-delay: -.25s;
}

.hw-banner-pumpkin {
    position: absolute;
    bottom: 18%;
    width: 78px;
    height: 74px;
    filter: drop-shadow(0 0 18px rgba(242, 119, 31, .6));
    animation: hwGlow 3s ease-in-out infinite;
}

.hw-bp-1 {
    left: 10%;
}

.hw-bp-2 {
    right: 10%;
    width: 60px;
    height: 56px;
    animation-delay: 1.4s;
}

/* ---------- Hero ----------
   A dark inset panel (matching the breadcrumb's inset card) so the poster
   sits on its own night sky. */
.hw-hero {
    margin: 50px 32px 0;
    border-radius: 32px;
    color: var(--hw-cream);
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 197, 107, .16) 0%, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(242, 119, 31, .14) 0%, transparent 40%),
        linear-gradient(160deg, var(--hw-night-2) 0%, var(--hw-night) 60%);
}

.hw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.hw-poster {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 0 0 1.5px rgba(242, 119, 31, .55), 0 24px 60px rgba(0, 0, 0, .55), 0 0 80px rgba(242, 119, 31, .18);
}

.hw-poster img {
    width: 100%;
    height: auto;
    transition: transform .6s ease;
}

.hw-poster:hover img {
    transform: scale(1.03);
}

.hw-poster-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(20, 12, 8, .72);
    color: var(--hw-cream);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.hw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin-bottom: 18px;
    border-radius: 30px;
    background: rgba(242, 119, 31, .16);
    border: 1px solid rgba(242, 119, 31, .5);
    color: var(--hw-candle);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hw-title {
    color: var(--hw-cream);
    font-size: clamp(32px, 3.8vw, 52px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.hw-title em {
    font-style: normal;
    color: var(--hw-pumpkin);
    text-shadow: 0 0 22px rgba(242, 119, 31, .45);
}

.hw-sub {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(252, 235, 210, .82);
    margin-bottom: 26px;
}

.hw-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hw-facts li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(252, 235, 210, .06);
    border: 1px solid var(--hw-line);
}

.hw-facts i {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--hw-pumpkin);
    color: #fff;
    font-size: 16px;
}

.hw-facts span {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    color: var(--hw-cream);
    line-height: 1.3;
}

.hw-facts small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(252, 235, 210, .6);
}

.hw-countdown {
    margin-bottom: 22px;
    font-size: 15px;
    color: rgba(252, 235, 210, .8);
}

.hw-countdown strong {
    color: var(--hw-candle);
}

.hw-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hw-ended {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(252, 235, 210, .08);
    border: 1px dashed rgba(252, 235, 210, .35);
}

.hw-ended i {
    font-size: 26px;
    color: var(--hw-candle);
}

.hw-ended p {
    margin: 0;
    color: rgba(252, 235, 210, .85);
}

.hw-ended strong {
    color: var(--hw-cream);
}

/* ---------- What to know ---------- */
.hw-know-sec {
    padding-top: 100px;
}

.hw-know {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* Four identical cards: icon badge, title, text. The two house rules carry
   a small tag rather than a different background, so the row stays even. */
.hw-know-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 38px 24px 30px;
    background: #fff;
    border: 1px solid #F1DEC4;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(51, 32, 15, .05);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.hw-know-card:hover {
    transform: translateY(-6px);
    border-color: #F6C9A0;
    box-shadow: 0 18px 36px rgba(242, 119, 31, .14);
}

.hw-know-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 9px;
    border-radius: 20px;
    background: var(--hw-night);
    color: var(--hw-candle);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hw-know-badge {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--hw-pumpkin) 0%, var(--hw-pumpkin-deep) 100%);
    color: #fff;
    font-size: 27px;
    box-shadow: 0 0 0 7px #FFF1E3, 0 10px 22px rgba(242, 119, 31, .32);
}

.hw-know-badge i {
    line-height: 1;
}

.hw-know-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.hw-know-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
}

/* ---------- Register ---------- */
.hw-register-sec {
    position: relative;
    overflow: clip;
    margin: 0 32px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 15% 20%, rgba(242, 119, 31, .08) 0%, transparent 40%),
        linear-gradient(180deg, #FFF6EA 0%, #FCEBD2 100%);
    border: 1px solid #F1DEC4;
    scroll-margin-top: 120px;
}

.hw-register-sec>.container {
    position: relative;
    z-index: 1;
}

.hw-sec-web {
    position: absolute;
    width: 220px;
    height: 220px;
    color: var(--hw-night);
    opacity: .1;
}

.hw-sec-web-tl {
    top: 0;
    left: 0;
}

.hw-sec-web-br {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

/* Registration (Google Form) card + "Questions? Call us" card, side by side
   at equal height. */
.hw-register-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
}

.hw-way-card {
    position: relative;
    background: #fff;
    border: 1px solid #F1DEC4;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(51, 32, 15, .06);
}

/* Shared card header: icon badge, then a small label over the title. */
.hw-way-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.hw-way-badge {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--hw-pumpkin) 0%, var(--hw-pumpkin-deep) 100%);
    color: #fff;
    font-size: 21px;
    box-shadow: 0 0 0 5px #FFF1E3, 0 8px 18px rgba(242, 119, 31, .28);
}

.hw-way-badge i {
    line-height: 1;
}

.hw-way-card h3 {
    font-size: 21px;
    line-height: 1.25;
    margin: 4px 0 0;
}

.hw-way {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hw-pumpkin-deep);
}

/* Main card: the Google Form. A warm top edge marks it as the primary action. */
.hw-way-main {
    border-color: #F6C9A0;
    box-shadow: 0 0 0 1px #F6C9A0, 0 16px 36px rgba(242, 119, 31, .12);
}

.hw-way-main h3 {
    font-size: 23px;
}

.hw-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hw-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #FFF6EA;
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    line-height: 1.35;
}

.hw-checklist i {
    flex: 0 0 auto;
    color: var(--hw-pumpkin-deep);
    font-size: 16px;
}

.hw-way-note {
    margin: 10px 0 0 !important;
    font-size: 12.5px !important;
    text-align: center;
    color: var(--body-color);
}

.hw-way-card {
    padding: 26px 26px 24px;
    display: flex;
    flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.hw-way-card:hover {
    transform: translateY(-4px);
    border-color: #F6C9A0;
    box-shadow: 0 16px 34px rgba(242, 119, 31, .13);
}

.hw-way-card p {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* Full-width, full-height buttons (not th-btn-sm): the slim outline ones
   read as an afterthought next to the form's solid submit button. */
.halloween-page .th-btn.hw-way-btn {
    width: 100%;
    margin-top: auto;
    justify-content: center;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
}

/* ---------- Venue ---------- */
.hw-venue {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 34px 40px;
    border-radius: 26px;
    color: var(--hw-cream);
    background:
        radial-gradient(circle at 0% 50%, rgba(242, 119, 31, .22) 0%, transparent 40%),
        linear-gradient(120deg, var(--hw-night-2) 0%, var(--hw-night) 100%);
}

.hw-venue-pumpkin {
    flex: 0 0 auto;
    width: 92px;
    height: 86px;
    filter: drop-shadow(0 0 20px rgba(242, 119, 31, .55));
    animation: hwGlow 3s ease-in-out infinite;
}

.hw-venue-copy {
    flex: 1 1 auto;
}

.hw-venue-copy .hw-eyebrow {
    margin-bottom: 10px;
}

.hw-venue-title {
    color: var(--hw-cream);
    font-size: 26px;
    margin-bottom: 6px;
}

.hw-venue-copy p {
    margin: 0;
    color: rgba(252, 235, 210, .8);
}

.hw-venue-date {
    margin-top: 8px !important;
    color: var(--hw-candle) !important;
    font-weight: 700;
}

.hw-venue-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---------- FAQ ---------- */
.halloween-page .home-faq-item {
    border-color: #F1DEC4;
    border-left: 3px solid var(--hw-pumpkin);
    background: #FFFAF3;
}

/* ---------- Poster lightbox ---------- */
.hw-poster-mfp img.mfp-img {
    max-height: 88vh !important;
}

/* =====================================================================
   HOME PAGE BAND (index.php) — modifier on the sitewide .home-offer-band
   ===================================================================== */
.hw-band.home-offer-band {
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 197, 107, .2) 0%, transparent 35%),
        linear-gradient(120deg, var(--hw-night-2) 0%, var(--hw-night) 100%);
    border-color: rgba(242, 119, 31, .45);
}

/* Show the whole poster, uncropped: the art column takes the poster's own
   2:3 ratio at a fixed width, and the copy centres beside it. (The sitewide
   band gives the art a fixed 34% width and lets it crop to fit.) */
.hw-band .home-offer-art {
    position: relative;
    flex: 0 0 auto;
    width: clamp(240px, 26%, 320px);
    max-width: none;
    aspect-ratio: 2 / 3;
}

.hw-band .home-offer-art img {
    position: absolute;
    inset: 0;
}

.hw-band.home-offer-band:hover .home-offer-art img {
    transform: none;
}

.hw-band .home-offer-copy {
    justify-content: center;
}

/* Stacked layout (sitewide band switches to a column below 992px): poster
   sits centred at its natural size above the copy, not a 16:9 crop. */
@media (max-width: 991px) {
    .hw-band .home-offer-art {
        width: 100%;
        aspect-ratio: auto;
        padding: 22px 22px 0;
        display: flex;
        justify-content: center;
    }

    .hw-band .home-offer-art img {
        position: static;
        width: min(100%, 300px);
        height: auto;
        border-radius: 16px;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
    }
}

.hw-band .home-offer-eyebrow {
    background: rgba(242, 119, 31, .18);
    color: var(--hw-candle);
    border: 1px solid rgba(242, 119, 31, .5);
}

.hw-band .home-offer-title {
    color: var(--hw-cream);
}

.hw-band .home-offer-title em {
    font-style: normal;
    color: var(--hw-pumpkin);
}

.hw-band .home-offer-text,
.hw-band .home-offer-meta {
    color: rgba(252, 235, 210, .82);
}

.hw-band .home-offer-text strong,
.hw-band .home-offer-meta i {
    color: var(--hw-candle);
}

.hw-band .home-offer-btn {
    background: var(--hw-pumpkin);
}

.hw-band.home-offer-band:hover .home-offer-btn {
    background: var(--hw-cream);
    color: var(--hw-night);
}

.hw-band .home-offer-shape {
    opacity: .55;
    color: #0B0604;
}

.hw-band .home-offer-shape-1 {
    width: 110px;
    height: 48px;
    top: 22px;
    right: 6%;
    transform: rotate(-8deg);
}

.hw-band .home-offer-shape svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(255, 197, 107, .3));
}

/* ---------- Motion ---------- */
@keyframes hwFly {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 18px -12px;
    }
}

/* Wing beat: up (resting arch) to folded down past the shoulder line. */
@keyframes hwFlap {
    from {
        transform: scaleY(1);
    }

    to {
        transform: scaleY(-.4);
    }
}

@keyframes hwGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 12px rgba(242, 119, 31, .45));
    }

    50% {
        filter: drop-shadow(0 0 24px rgba(242, 119, 31, .85));
    }
}

@media (prefers-reduced-motion: reduce) {

    .hw-bat,
    .hw-bat .hw-wing,
    .hw-banner-pumpkin,
    .hw-venue-pumpkin {
        animation: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1299px) {

    .hw-hero,
    .hw-register-sec {
        margin-left: 16px;
        margin-right: 16px;
        border-radius: 26px;
    }
}

@media (max-width: 1199px) {
    .hw-know {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .hw-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hw-poster {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .hw-register-grid {
        grid-template-columns: 1fr;
    }

    .hw-venue {
        flex-direction: column;
        text-align: center;
    }

    .hw-venue-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hw-moon {
        width: 80px;
        height: 80px;
        right: 10%;
    }

    .hw-banner-pumpkin,
    .hw-bat-3 {
        display: none;
    }
}

@media (max-width: 575px) {

    .hw-hero,
    .hw-register-sec {
        margin-left: 8px;
        margin-right: 8px;
        border-radius: 20px;
    }

    .hw-web-corner {
        width: 110px;
        height: 110px;
    }

    .hw-facts {
        grid-template-columns: 1fr;
    }

    .hw-cta .th-btn {
        width: 100%;
        justify-content: center;
    }

    .hw-know {
        grid-template-columns: 1fr;
    }

    .hw-know-sec {
        padding-top: 70px;
    }

    .hw-checklist {
        grid-template-columns: 1fr;
    }

    .hw-venue {
        padding: 28px 20px;
    }
}
