/* cugate.com/advent/?greet=N: the greeting page. Campaign palette: night blue, cream, vermilion, brass.
   Phone first: on a 390 x 844 screen the film, the line and the three buttons fit above the fold. */
.adv-gp { --gp-night: #0f213a; --gp-cream: #eee4ce; --gp-red: #c4342c; --gp-red-dark: #a3271f; --gp-brass: #e2c480; }
.adv-gp-stage { background: var(--gp-night); color: var(--gp-cream); padding: 14px 0 34px; }
.adv-gp-wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; text-align: center; }
.adv-gp-kicker { text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; font-size: 0.72rem; color: var(--gp-brass); margin: 0 0 10px; }
.adv-gp-kicker a { color: inherit; text-decoration: none; }
.adv-gp-kicker a:hover { text-decoration: underline; }

.adv-gp-film { position: relative; margin: 0 auto; aspect-ratio: 4 / 5; height: clamp(300px, calc(100svh - 380px), 620px); max-width: 100%;
  border-radius: 10px; overflow: hidden; background: #0b1a2e; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.adv-gp-film video, .adv-gp-film img { display: block; width: 100%; height: 100%; object-fit: cover; }
.adv-gp-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; padding: 0; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 3px solid var(--gp-cream); background: rgba(196, 52, 44, 0.92); cursor: pointer; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }
/* the triangle sits a third of its width right of centre, so it looks centred (its weight is on the left) */
.adv-gp-play span { display: block; width: 0; height: 0; margin-left: 8px; border-style: solid; border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent var(--gp-cream); }
.adv-gp-play:hover, .adv-gp-play:focus-visible { background: var(--gp-red-dark); outline: 3px solid var(--gp-brass); outline-offset: 3px; }
.adv-gp-play[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .adv-gp-play { animation: adv-gp-pulse 2.4s ease-in-out infinite; }
  .adv-gp-send.is-nudge { animation: adv-gp-pulse 1.6s ease-in-out 2; }
}
@keyframes adv-gp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 196, 128, 0.55); } 50% { box-shadow: 0 0 0 12px rgba(226, 196, 128, 0); } }

.adv .adv-gp-line, .adv .adv-gp-title { font-family: var(--nx-head, 'Montserrat', sans-serif); font-weight: 300; color: var(--gp-cream);
  font-size: clamp(1.35rem, 5vw, 2rem); line-height: 1.2; margin: 14px 0 12px; }
.adv .adv-gp-title { font-weight: 600; }
.adv-gp-lead { color: rgba(238, 228, 206, 0.85); margin: 0 0 14px; line-height: 1.5; }

.adv-gp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 10px; }
.adv-gp-actions > :first-child { grid-column: 1 / -1; }
.adv-gp-actions-row { display: flex; justify-content: center; }
.adv-gp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 16px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-decoration: none !important; cursor: pointer;
  border: 2px solid var(--gp-cream); background: transparent; color: var(--gp-cream) !important; }
.adv-gp-btn:focus-visible { outline: 3px solid var(--gp-brass); outline-offset: 3px; }
.adv-gp-primary { background: var(--gp-red); border-color: var(--gp-red); color: #fff !important; min-height: 56px; font-size: 1.05rem; }
.adv-gp-primary:hover { background: var(--gp-red-dark); border-color: var(--gp-red-dark); }
.adv-gp-send { background: var(--gp-cream); color: var(--gp-night) !important; }
.adv-gp-send:hover { background: #fff; border-color: #fff; }
.adv-gp-ghost:hover { background: rgba(238, 228, 206, 0.12); }
.adv-gp-fallback { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 12px; }
.adv-gp-fallback[hidden] { display: none; }
.adv-gp-fallback .adv-gp-btn { min-height: 48px; }
.adv-gp-status { flex-basis: 100%; min-height: 1.3em; color: var(--gp-brass); font-size: 0.9rem; }
.adv-gp-credit { font-size: 0.78rem; color: rgba(238, 228, 206, 0.7); margin: 12px 0 8px; line-height: 1.45; }
.adv-gp-yt { font-size: 0.9rem; margin: 14px 0 0; line-height: 1.6; }
.adv-gp-yt span:first-child { display: block; color: rgba(238, 228, 206, 0.75); }
.adv-gp-yt a { color: var(--gp-brass); font-weight: 700; }
.adv-gp-dot { color: rgba(238, 228, 206, 0.5); margin: 0 4px; }

.adv-gp-gallery { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; }
.adv-gp-gallery a { display: block; color: var(--gp-cream); text-decoration: none; }
.adv-gp-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 8px; display: block; transition: transform 0.2s; }
.adv-gp-gallery a:hover img, .adv-gp-gallery a:focus-visible img { transform: translateY(-3px); }
.adv-gp-gday { display: block; margin-top: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gp-brass); }
.adv-gp-gline { display: block; font-size: 0.95rem; line-height: 1.35; }
@media (min-width: 760px) {
  .adv-gp-stage { padding: 28px 0 48px; }
  .adv-gp-wrap:has(.adv-gp-gallery) { max-width: 1000px; }
  .adv-gp-gallery { grid-template-columns: repeat(4, 1fr); }
}
