/* ==================== HOLIDAY MOVIE NIGHT: "TICKETS TO WONDER" ====================
   Used by events/index.asp (the page) and index.asp (the thin home-page strip,
   which switches itself off after Dec 9, 2026 -- see HolidayStripOn in
   includes/constants.inc). Site font and brand tokens from style.css; only two
   holiday additions: warm bulb gold (--hw-gold) and a ticket-paper cream.
   Signature: the movie-ticket card. Everything else stays quiet.
   Delete this file after the event if you like: nothing else depends on it. */

:root {
  --hw-gold: #FFC857;
  --hw-night: #00264d;
  --hw-paper: #FFF4DC;
  --hw-ink: #1d2b3a;
  --hw-mono: 'Courier Prime', 'Courier New', monospace;
}

/* ---- String lights (inline SVG tiles, two layers that take turns glowing) ---- */
.hw-lights { position: absolute; left: 0; right: 0; top: 0; height: 56px; pointer-events: none; overflow: hidden; }
.hw-lights::before,
.hw-lights::after {
  content: ""; position: absolute; inset: 0;
  background-repeat: repeat-x; background-size: 160px 44px; background-position: 0 0;
}
.hw-lights::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' viewBox='0 0 160 44'%3E%3Cpath d='M0 6Q80 30 160 6' fill='none' stroke='%23587a9c' stroke-width='1.5'/%3E%3Ccircle cx='20' cy='18' r='10' fill='%23FFC857' opacity='.22'/%3E%3Crect x='18' y='9' width='4' height='4' fill='%23587a9c'/%3E%3Cellipse cx='20' cy='19' rx='4' ry='6' fill='%23FFC857'/%3E%3Ccircle cx='100' cy='24' r='10' fill='%23FF7A33' opacity='.22'/%3E%3Crect x='98' y='15' width='4' height='4' fill='%23587a9c'/%3E%3Cellipse cx='100' cy='25' rx='4' ry='6' fill='%23FF7A33'/%3E%3C/svg%3E");
}
.hw-lights::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' viewBox='0 0 160 44'%3E%3Ccircle cx='60' cy='24' r='10' fill='%2300CCFF' opacity='.22'/%3E%3Crect x='58' y='15' width='4' height='4' fill='%23587a9c'/%3E%3Cellipse cx='60' cy='25' rx='4' ry='6' fill='%2300CCFF'/%3E%3Ccircle cx='140' cy='18' r='10' fill='%23ffffff' opacity='.2'/%3E%3Crect x='138' y='9' width='4' height='4' fill='%23587a9c'/%3E%3Cellipse cx='140' cy='19' rx='4' ry='6' fill='%23ffffff'/%3E%3C/svg%3E");
  animation: hw-twinkle 3.2s ease-in-out infinite alternate;
}
@keyframes hw-twinkle { from { opacity: 1; } to { opacity: .35; } }

/* ---- Hero ---- */
main > section.hw-hero {
  position: relative; overflow: hidden; text-align: left;
  padding: 120px 24px 96px;
  background:
    radial-gradient(1.5px 1.5px at 22px 38px, rgba(255,255,255,.75), transparent),
    radial-gradient(2px 2px at 118px 92px, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 190px 24px, rgba(255,255,255,.6), transparent),
    radial-gradient(2px 2px at 64px 168px, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 214px 150px, rgba(255,255,255,.7), transparent),
    linear-gradient(180deg, var(--hw-night) 0%, var(--color-navy) 100%);
  background-size: 240px 200px, 240px 200px, 240px 200px, 240px 200px, 240px 200px, 100% 100%;
  color: #fff;
}
.hw-hero-inner {
  position: relative; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center;
}
.hw-eyebrow { font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--color-accent-sky); margin: 0 0 16px; }
.hw-hero h1 {
  font-size: 5rem; line-height: 1.04; font-weight: 700; font-style: italic;
  margin: 0; color: #fff; letter-spacing: -.01em;
}
.hw-hero h1 em { color: var(--hw-gold); font-style: italic; display: block; }
.hw-lead { font-size: 1.35rem; line-height: 1.7; margin: 26px 0 0; max-width: 34ch; }
.hw-fine { font-size: 1rem; margin: 14px 0 0; opacity: .85; }
.hw-hero .hw-cta { margin-top: 32px; }
.hw-hero .btn { font-size: 1.3rem; padding: 18px 40px; }
.hw-thanks { font-size: 1.25rem; font-style: italic; margin: 32px 0 0; color: var(--hw-gold); }

/* ---- The ticket (signature) ---- */
.hw-ticket-wrap { position: relative; filter: drop-shadow(0 22px 34px rgba(0,0,0,.4)); transform: rotate(1.6deg); max-width: 500px; justify-self: center; width: 100%; }
/* The film's DVD cover overlaps the ticket's empty top-right corner (desktop); sits above it on small screens. */
.hw-cover { position: absolute; z-index: 2; right: -52px; top: -116px; width: 190px; height: auto; border-radius: 6px; transform: rotate(7deg); box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.hw-ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) 62px;
  background: var(--hw-paper); color: var(--hw-ink); border-radius: 14px; text-align: left;
  font-family: var(--hw-mono);
  -webkit-mask:
    radial-gradient(circle 13px at calc(100% - 62px) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 13px at calc(100% - 62px) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 13px at calc(100% - 62px) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 13px at calc(100% - 62px) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.hw-ticket-main { padding: 28px 26px 26px 30px; }
.hw-t-kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0; color: var(--color-orange); }
.hw-t-film { font-family: var(--font-body); font-weight: 700; font-style: italic; font-size: 4.2rem; line-height: 1; margin: 6px 0 0; color: var(--color-navy); }
.hw-t-sub { font-size: .95rem; margin: 6px 0 0; }
.hw-t-grid { display: grid; grid-template-columns: repeat(3, auto); gap: 16px 22px; justify-content: start; margin: 22px 0 0; padding-top: 20px; border-top: 2px solid rgba(0,51,102,.18); }
.hw-t-grid div { margin: 0; }
.hw-t-grid .hw-wide { grid-column: 1 / -1; }
.hw-t-grid dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-orange); font-weight: 700; margin: 0; }
.hw-t-grid dd { font-size: 1.1rem; font-weight: 700; margin: 2px 0 0; line-height: 1.35; }
main > section a.hw-link { color: var(--color-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
main > section a.hw-link:hover { color: var(--color-orange); }
.hw-t-price { margin: 22px 0 0; font-size: .95rem; background: rgba(0,51,102,.07); border-radius: 8px; padding: 10px 14px; }
.hw-ticket-stub {
  border-left: 2px dashed rgba(0,51,102,.35); display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg);
  font-size: .9rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--color-navy);
}

/* ---- Sections below the hero ---- */
main > section.hw-section { padding: 90px 24px; }
.hw-wrap { max-width: 1040px; margin: 0 auto; }
main > section.hw-section h2 { font-size: 2.8rem; line-height: 1.15; margin: 0 0 14px; }
.hw-intro { font-size: 1.3rem; line-height: 1.7; max-width: 720px; margin: 0 auto; }

.hw-steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; counter-reset: step; }
.hw-steps li { counter-increment: step; background: var(--color-bg); border-top: 4px solid var(--color-accent-sky); border-radius: 10px; padding: 26px 24px 28px; }
.hw-steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-navy); color: var(--hw-gold); font-family: var(--hw-mono); font-weight: 700; font-size: 1.4rem; }
.hw-steps h3 { font-weight: 700; font-size: 1.45rem; line-height: 1.3; margin: 16px 0 8px; color: var(--color-navy); }
.hw-steps p { font-size: 1.12rem; line-height: 1.6; margin: 0; }

.hw-poster { display: block; width: 100%; max-width: 940px; height: auto; margin: 0 auto 44px; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,51,102,.22); }
.hw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; text-align: left; max-width: 940px; margin: 0 auto; }
.hw-card { background: #fff; border-left: 6px solid var(--color-orange); border-radius: 10px; box-shadow: 0 6px 24px rgba(0,51,102,.08); padding: 32px 34px; }
.hw-card h3 { font-weight: 700; font-size: 1.7rem; margin: 0 0 10px; color: var(--color-navy); }
.hw-card p { font-size: 1.15rem; line-height: 1.7; margin: 0; }

.hw-why p { font-size: 1.3rem; line-height: 1.75; max-width: 760px; margin: 0 auto; }
.hw-btn-row { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

main > section.hw-final {
  position: relative; overflow: hidden; padding: 110px 24px 84px; color: #fff;
  background: linear-gradient(180deg, var(--hw-night) 0%, var(--color-navy) 100%);
}
.hw-final h2 { position: relative; font-style: italic; }
.hw-final p { position: relative; font-size: 1.3rem; max-width: 640px; margin: 0 auto; }
.hw-final .btn { position: relative; margin-top: 30px; font-size: 1.3rem; padding: 18px 44px; }

.hw-more { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 940px; margin: 40px auto 0; text-align: left; }
.hw-more .hw-card { display: flex; gap: 22px; align-items: center; border-left-color: var(--color-accent-sky); }
.hw-more img { flex: none; width: 128px; height: 128px; border-radius: 10px; object-fit: cover; }
.hw-more .hw-tag { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--color-orange); margin: 0 0 4px; }
.hw-more h3 { font-size: 1.35rem; }
.hw-more p { font-size: 1.05rem; line-height: 1.6; }

/* ---- Thin home-page strip (index.asp, through Dec 9 only) ---- */
.hw-strip {
  position: relative; background: linear-gradient(90deg, var(--hw-night), var(--color-navy));
  border-bottom: 3px solid var(--hw-gold); color: #fff; text-align: center;
  padding: 26px 16px 10px;
}
.hw-strip .hw-lights { height: 24px; }
.hw-strip .hw-lights::before, .hw-strip .hw-lights::after { background-size: 120px 33px; }
.hw-strip-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; max-width: 1100px; margin: 0 auto; }
.hw-strip-text { margin: 0; font-size: 1.02rem; line-height: 1.4; color: #fff; }
.hw-strip-text strong { color: var(--hw-gold); }
.hw-strip-btn {
  display: inline-block; background: var(--color-accent-sky); color: var(--color-navy); font-weight: 700; font-size: .95rem;
  padding: 6px 18px; border-radius: var(--radius-pill); text-decoration: none; transition: background .2s, transform .2s;
}
.hw-strip-btn:hover { background: #fff; color: var(--color-navy); transform: translateY(-1px); }
.hw-strip-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---- Small screens ---- */
@media (max-width: 992px) {
  .hw-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  main > section.hw-hero { text-align: center; padding: 110px 20px 72px; }
  .hw-lead { margin-left: auto; margin-right: auto; }
  .hw-cover { position: static; display: block; z-index: auto; width: 150px; margin: 0 auto 26px; transform: rotate(-3deg); }
  .hw-hero h1 { font-size: 4rem; }
  .hw-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hw-two, .hw-more { grid-template-columns: 1fr; }
  main > section.hw-section { padding: 64px 18px; }
  main > section.hw-section h2 { font-size: 2.2rem; }
}
@media (max-width: 520px) {
  .hw-hero h1 { font-size: 3.1rem; }
  .hw-lead { font-size: 1.2rem; }
  .hw-hero .btn, .hw-final .btn { display: block; width: 100%; font-size: 1.15rem; padding: 16px 20px; }
  .hw-ticket-wrap { transform: rotate(0.8deg); }
  .hw-ticket { grid-template-columns: minmax(0, 1fr) 46px; }
  .hw-ticket { -webkit-mask: radial-gradient(circle 11px at calc(100% - 46px) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - 46px) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
                       mask: radial-gradient(circle 11px at calc(100% - 46px) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - 46px) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
  .hw-ticket-main { padding: 22px 16px 20px 20px; }
  .hw-t-film { font-size: 3.2rem; }
  .hw-t-grid { gap: 14px 16px; }
  .hw-t-grid dd { font-size: .95rem; }
  .hw-ticket-stub { font-size: .75rem; letter-spacing: .22em; }
  .hw-card { padding: 24px 22px; }
  .hw-more .hw-card { flex-direction: column; align-items: flex-start; }
  .hw-strip-text { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hw-lights::after { animation: none; opacity: .8; }
  .hw-strip-btn { transition: none; }
}
