/* The Work Christmas Party Pack landing page (2026-10-23). Loaded on that page only.
   The pack wears its own festive office skin (pine green, holly red, the brand gold) inside the site kit; the site brand is
   the small badge. Existing art only: the Office Party card pack poster, cropped above its title band, so no text sits on
   the picture. Phone first: at 375 by 667 the headline, who it is for, the no-downloads line and the whole sign-up fit
   above the fold. Taps are 44 px or more. No sideways scroll. Reduced motion: nothing moves. */
.wx {
  --wx-pine: #12352b;
  --wx-pine-2: #0b241d;
  --wx-holly: #c8423a;
  --wx-holly-ink: #f08a7e;
  --wx-cream: #f3ead6;
  overflow-x: clip;
}
.wx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero: the pack's own colours, with a ribbon of red, gold and green along the top edge */
.wx-hero { position: relative; background-image: var(--grain), radial-gradient(90% 70% at 85% 0%, #1d4a3c 0%, var(--wx-pine) 45%, var(--wx-pine-2) 100%);
  border-bottom: 1px solid #2c5446; }
.wx-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: repeating-linear-gradient(90deg, var(--wx-holly) 0 18px, var(--gold) 18px 24px, #2f7a5c 24px 42px, var(--gold) 42px 48px); }
.wx-hero-in { display: grid; gap: 1.25rem; padding-block: 0.9rem 1.5rem; }
.wx-hero-copy { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }

.wx-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin: 0; }
.wx-pack { font-family: var(--display-plain); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; line-height: 1;
  color: #fff7ea; background: var(--wx-holly); padding: 0.35rem 0.6rem; border-radius: 0.3rem; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.wx-parent { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: #d9cfb6; }
.wx-parent svg { width: 0.8rem; height: auto; flex: none; }

.wx-hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--wx-cream); line-height: 0.95; letter-spacing: 0.005em;
  font-size: clamp(2.05rem, 9.4vw, 3.9rem); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); max-width: 16ch; }
.wx-sub { margin: 0; font-size: 1rem; line-height: 1.4; color: #e6dcc4; max-width: 34rem; }
.wx-easy { display: flex; gap: 0.45rem; align-items: flex-start; margin: 0; font-weight: 700; font-size: 0.95rem; line-height: 1.35; color: var(--gold-ink); }
.wx-easy .d-icon { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.05rem; }

.wx-status { margin: 0; font-size: 0.9rem; line-height: 1.35; color: #d9cfb6; }

/* The sign-up: the site's launch-alert form, tightened to fit the fold */
.wx .wx-form { border-top: 0; padding: 0.85rem; margin: 0.15rem 0 0; gap: 0.5rem; background: rgba(6, 20, 16, 0.55); border: 1px solid #2f5a4b; border-radius: 0.6rem; max-width: 30rem; }
.wx .wx-form label.lbl { font-size: 0.78rem; color: #d9cfb6; }
.wx .wx-form .row { flex-wrap: nowrap; }
.wx .wx-form input[type="email"] { flex: 1 1 auto; width: 100%; min-height: 3rem; background: #0a1713; border-color: #3a6153; }
.wx .wx-form .news-box { font-size: 0.85rem; line-height: 1.35; color: #e6dcc4; min-height: 2.75rem; align-items: center; }
.wx .wx-form .news-box input { margin-top: 0; width: 1.3rem; height: 1.3rem; }
.wx .wx-go { width: 100%; min-height: 3rem; font-size: 1.05rem; }
.wx .wx-form .rc-note { margin: 0; font-size: 0.68rem; line-height: 1.35; color: #a9b8ac; }
.wx .wx-form .out { margin: 0; font-size: 0.92rem; }
.wx .wx-form .out:empty { display: none; }
.wx .wx-form .fine { margin: 0; font-size: 0.78rem; color: #a9b8ac; }
.wx .wx-form .fine a, .wx .wx-form .rc-note a { color: inherit; }

/* The art: the poster's painted top only (its title band is cropped off), framed like a card */
.wx-art { margin: 0; align-self: start; aspect-ratio: 896 / 720; overflow: hidden; border-radius: 0.6rem; border: 3px solid #e3c486;
  box-shadow: 0 0 0 1px #4b3a17, 0 18px 40px rgba(0, 0, 0, 0.45); background: #1a2a24; max-width: 34rem; width: 100%; }
.wx-art img { display: block; width: 100%; height: auto; }

@media (min-width: 900px) {
  .wx-hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 2.5rem; padding-block: 2.2rem 2.6rem; }
  .wx-hero-copy { gap: 0.85rem; }
  .wx-sub { font-size: 1.15rem; }
  .wx-easy { font-size: 1.02rem; }
  .wx-art-wrap { transform: rotate(1.2deg); justify-self: end; }
}

/* Body sections */
.wx-body { padding-bottom: 3rem; }
.wx-body > .crumbs { padding-top: 1rem; }
.wx-body > .crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; }
.wx-sec { margin-top: 2.6rem; }
.wx-sec > h2, .wx-sec > div > h2 { margin: 0.3rem 0 1rem; font-size: clamp(1.9rem, 6.4vw, 3rem); }
.wx-sec .eyebrow { margin: 0; color: var(--wx-holly-ink); }
.wx-lede { margin: -0.3rem 0 1.2rem; color: var(--muted); max-width: 40rem; }

.wx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.wx-step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; row-gap: 0.25rem; align-items: start;
  padding: 1rem 1rem 1.05rem; border-radius: 0.6rem; background-image: var(--grain), linear-gradient(170deg, #193f33, #10291f); border: 1px solid #2d5546; }
.wx-step-n { grid-row: span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; font-family: var(--display-plain); font-weight: 900;
  font-size: 1.35rem; color: var(--on-gold); background: linear-gradient(180deg, #f0c25a, #c98e1e); box-shadow: 0 2px 0 #6b4d10; }
.wx-step-ic { position: absolute; right: 0.9rem; top: 0.9rem; color: var(--wx-holly-ink); opacity: 0.9; }
.wx-step-ic .d-icon { width: 1.6rem; height: 1.6rem; }
.wx-step h3 { padding-right: 2.2rem; color: var(--wx-cream); font-size: 1.3rem; }
.wx-step p { margin: 0; color: #d6cdb7; font-size: 0.98rem; }

.wx-games { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.wx-game { padding: 1rem 1.05rem 1.1rem; border-radius: 0.5rem; color: var(--paper-ink); background-image: var(--grain), linear-gradient(175deg, #f5e7c2, #e6d3a3);
  border-top: 5px solid var(--wx-holly); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.wx-game-tag { display: inline-block; margin: 0 0 0.45rem; font-family: var(--mono); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #2a4d3f; background: #d7e4d5; border: 1px solid #9fbba6; padding: 0.15rem 0.45rem; border-radius: 0.25rem; }
.wx-game h3 { color: #1b1813; font-size: 1.35rem; margin-bottom: 0.35rem; }
.wx-game p { margin: 0; color: #4a4234; font-size: 0.98rem; }
/* Cards with a painting: the art on the left, the words beside it (2026-10-24) */
.wx-game.has-art { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.wx-game-art { display: block; width: 100%; height: auto; aspect-ratio: 600 / 804; object-fit: cover; border-radius: 0.35rem;
  border: 1px solid rgba(90, 64, 20, 0.45); box-shadow: 0 6px 14px rgba(40, 26, 6, 0.35); transform: rotate(-1.2deg); }
.wx-game:nth-child(even) .wx-game-art { transform: rotate(1deg); }
.wx-game-copy { min-width: 0; }
@media (max-width: 480px) { .wx-game.has-art .wx-game-tag { font-size: 0.64rem; letter-spacing: 0.05em; } }

.wx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.wx-fact { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 0.7rem; border-radius: 0.5rem; background: #121516; border: 1px solid var(--line);
  text-align: center; min-width: 0; }
.wx-fact b { font-family: var(--display-plain); font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, 5.4vw, 2rem); line-height: 1; color: var(--gold-ink); }
.wx-fact span { font-size: 0.82rem; line-height: 1.3; color: var(--muted); }

.wx-guide { display: grid; gap: 1rem; padding: 1.2rem; border-radius: 0.6rem; border: 1px dashed #4f5a52; background: rgba(18, 53, 43, 0.35); }
.wx-guide p { margin: 0; color: #d6cdb7; }
.wx-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.wx-ticks li { position: relative; padding-left: 1.7rem; color: var(--ink); }
.wx-ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 0.3rem; width: 0.75rem; height: 0.42rem; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }

.wx-sec.prose p { max-width: 44rem; color: #d6cdb7; }

.wx-try { display: grid; gap: 1rem; padding: 1.2rem; border-radius: 0.6rem; background-image: var(--grain), linear-gradient(170deg, #2b3133, #1c2022); border: 1px solid var(--line); }
.wx-try p { margin: 0; color: #d6cdb7; max-width: 42rem; }
.wx-try-go { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: center; }
.wx-up { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--gold-ink); }

@media (min-width: 760px) {
  .wx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wx-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wx-game.has-art { grid-template-columns: 10rem minmax(0, 1fr); gap: 1.1rem; }
  .wx-guide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; padding: 1.6rem; }
  .wx-try { grid-template-columns: minmax(0, 1.6fr) auto; align-items: end; padding: 1.6rem; }
  .wx-fact span { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wx-art { transform: none !important; }
  .wx * { transition: none !important; animation: none !important; }
}

/* Fairy lights round frames (2026-10-24): the hero photo, the bottom of the green band and each game card. Bulbs sit on the frame edge. */
.wx-art-wrap { position: relative; align-self: start; max-width: 34rem; width: 100%; }
.wx-art-wrap .wx-art { max-width: none; }
.xl-ring { position: absolute; inset: -9px; pointer-events: none; z-index: 3; }
.xl-ring > span { position: absolute; display: flex; justify-content: space-between; align-items: center; }
.xl-ring > span::before { content: ""; position: absolute; background: rgba(10, 24, 16, 0.85); }
.xl-t, .xl-b { left: 10px; right: 10px; height: 18px; }
.xl-t { top: 0; } .xl-b { bottom: 0; }
.xl-l, .xl-r { top: 18px; bottom: 18px; width: 18px; flex-direction: column; }
.xl-l { left: 0; } .xl-r { right: 0; }
.xl-t::before, .xl-b::before { left: -6px; right: -6px; top: 50%; height: 1.5px; }
.xl-l::before, .xl-r::before { top: -14px; bottom: -14px; left: 50%; width: 1.5px; }
.xl-ring i { position: relative; width: 7px; height: 10px; border-radius: 50% 50% 45% 45%; background: #fff4c8; box-shadow: 0 0 7px 2px rgba(255, 236, 170, 0.7); animation: kg-twinkle 2.6s ease-in-out infinite; }
.xl-ring i:nth-child(4n+2) { background: #ff5a4f; box-shadow: 0 0 7px 2px rgba(255, 90, 79, 0.65); animation-delay: -0.7s; }
.xl-ring i:nth-child(4n+3) { background: #4fe08a; box-shadow: 0 0 7px 2px rgba(79, 224, 138, 0.6); animation-delay: -1.4s; }
.xl-ring i:nth-child(4n) { background: #f6c64a; box-shadow: 0 0 7px 2px rgba(246, 198, 74, 0.7); animation-delay: -2s; }
.xl-b i, .xl-l i { animation-delay: -1.1s; }
.wx-game { position: relative; }
.wx-game .xl-ring { inset: -7px; }
.wx-game .xl-ring i { width: 6px; height: 8px; }
@media (max-width: 520px) { .wx-game .xl-t i:nth-child(n+8), .wx-game .xl-b i:nth-child(n+8) { display: none; } .xl-ring > .xl-t i:nth-child(n+10), .xl-ring > .xl-b i:nth-child(n+10) { display: none; } }
.kg-lights-bottom { top: auto; bottom: 0; transform: scaleY(-1); }
.wx-hero { padding-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .xl-ring i { animation: none; } }
.calm .xl-ring i, [data-calm=on] .xl-ring i { animation: none; }
