/* =========================================================
   SANTA'S WISHLIST: THE CAMPAIGN LANDING PAGE ("Option D")
   (his ask, 2026-11-20)

   Loads after base-web-style.css and ../css/gift-guide-skin.css.
   Base supplies the structure (sections, container, split, grids,
   sub-nav, accordion, cards, buttons); the skin supplies the
   campaign font, type and buttons. This sheet adds only what the
   landing page needs on top: the colorways and the shapes base
   has no component for (the letter, the gift box, the ornament
   tags, the stockings, the postcards, the snow).

   Its own file, so the Wishlist app never downloads it. Nothing
   here changes the skin or the app.

   Every rule is scoped to .gg-landing, which sits on the same
   <main> as .gg-skin:
     <main id="gg-pine" class="gg-skin gg-landing">
   The id picks the colorway: gg-pine (the default), gg-midnight
   or gg-cranberry. Change that one id and the whole page
   recolours. Every rule below reads only the tokens.
   ========================================================= */

/* ---------------------------------------------------------
   Colorways
--------------------------------------------------------- */
.gg-landing,
#gg-pine.gg-landing {
  --gg-ground: #133835;        /* nav, hero, stocking stuffers, gift guides */
  --gg-ground-deep: #0C2624;   /* Ball of the Year, closing strip */
  --gg-on-ground-muted: #D9E6E3;
  --gg-on-ground-quiet: #B9CFCB;
  --gg-on-ground-accent: var(--gg-gold);  /* small gold text: eyebrows, prices */
  --lp-frost: var(--gg-pine-frost);       /* the hero's falling snow (the app's own frost) */
  --gg-box: #BD2C34;           /* the gift box */
  --gg-box-lid: #A62C32;
  --gg-stocking-a: #BD2C34;    /* every other stocking */
  --gg-stocking-a-heel: #942126;
  --gg-ink-button: #133835;    /* dark buttons on cream and white */
}

#gg-midnight.gg-landing {
  --gg-ground: #343463;
  --gg-ground-deep: #23234A;
  --gg-on-ground-muted: #DCDCF0;
  --gg-on-ground-quiet: #C9C9E6;
  --gg-on-ground-accent: var(--gg-gold);
  --lp-frost: color-mix(in srgb, var(--gg-ground), white 12%);
  --gg-box: #BD2C34;
  --gg-box-lid: #A62C32;
  --gg-stocking-a: #BD2C34;
  --gg-stocking-a-heel: #942126;
  --gg-ink-button: #343463;
}

#gg-cranberry.gg-landing {
  --gg-ground: #BD2C34;
  --gg-ground-deep: #8E1F26;
  --gg-on-ground-muted: #FFE3E4;
  --gg-on-ground-quiet: #FFE3E4;
  /* Gold text measures 3.36:1 on this red, under the 4.5:1 that
     small text needs, so it goes paler here (4.67:1). The gold
     buttons stay gold: their text is pine. */
  --gg-on-ground-accent: #FAE3B0;
  --lp-frost: color-mix(in srgb, var(--gg-ground), white 12%);
  --gg-box: #133835;           /* a red box would vanish on red */
  --gg-box-lid: #20514C;
  --gg-stocking-a: #133835;
  --gg-stocking-a-heel: #0C2624;
  --gg-ink-button: #BD2C34;
}

/* The same in every colorway. Gold, teal and the cranberry red
   already come from the skin (--gg-gold, --gg-teal,
   --gg-cranberry), as does the ink on light grounds (--gg-pine,
   --gg-ink-soft); these are the ones it doesn't have. */
.gg-landing {
  --gg-gold-shade: #C9963A;    /* the ribbon edges, the mantel's lower edge */
  --gg-cream: #FBF6EC;         /* Weekly Picks, Sign it, postcards, stockings */
  --gg-cream-heel: #E3D6BC;
  --lp-snow: rgba(255, 255, 255, 0.08);   /* the snowflake pattern */
  --lp-shadow: 0 24px 48px rgba(0, 0, 0, 0.32), 0 6px 14px rgba(0, 0, 0, 0.18);

  /* Text on the colorway's ground (the skin's own are pine-only) */
  --gg-text-2: var(--gg-on-ground-muted);
  --gg-muted: var(--gg-on-ground-quiet);
  --gg-eyebrow: var(--gg-on-ground-accent);
  --gg-link: var(--gg-on-ground-accent);

  background: var(--gg-ground);
}

/* Over-scroll on a phone shows the page behind <main>. The skin
   paints it pine; on the other two it's their own ground. */
body:has(> #gg-midnight.gg-landing) { background: #343463; }
body:has(> #gg-cranberry.gg-landing) { background: #BD2C34; }

/* Cream and white sections: dark text, red eyebrows and links,
   and a pine focus ring (gold doesn't show on cream). */
.gg-landing .lp-light {
  --gg-text: var(--gg-pine);
  --gg-text-2: var(--gg-ink-soft);
  --gg-muted: var(--gg-ink-muted);
  --gg-eyebrow: var(--gg-cranberry);
  --gg-link: var(--gg-cranberry);
  --spi-accent: var(--gg-pine);
  color: var(--gg-text);
}

/* The skin's buttons set display, which beats the browser's
   [hidden]; landing.js hides and shows buttons with it. */
.gg-landing [hidden] {
  display: none !important;
}

/* ---------------------------------------------------------
   Section grounds
--------------------------------------------------------- */
.gg-landing .lp-hero,
.gg-landing .lp-stockings,
.gg-landing .lp-guides {
  background: var(--gg-ground);
}

.gg-landing .lp-boty,
.gg-landing .lp-closing {
  background: var(--gg-ground-deep);
}

.gg-landing .lp-picks,
.gg-landing .lp-sign {
  background: var(--gg-cream);
}

.gg-landing .lp-faq {
  background: var(--gg-snow);
}

/* The snowflake pattern on the hero, the gift guides and the
   closing strip: his nine flake drawings (../../assets, the same
   files the app's snow uses, already on the CDN), repeated in a
   400px tile. #svgView sets how big each flake is inside its
   tile, so one file can repeat with space round it; the
   mask-position places it in the tile. White at 8%, so the same
   pattern works on all three grounds. */
.gg-landing .lp-snowy {
  position: relative;
  isolation: isolate;
}

.gg-landing .lp-snowy::before {
  --lp-flakes:
    url("../../assets/flake-1.svg#svgView(viewBox(0,0,1126,1126))") 30px 40px / 400px 400px repeat,
    url("../../assets/flake-4.svg#svgView(viewBox(0,0,1802,1802))") 250px 20px / 400px 400px repeat,
    url("../../assets/flake-6.svg#svgView(viewBox(0,0,1386,1386))") 160px 150px / 400px 400px repeat,
    url("../../assets/flake-9.svg#svgView(viewBox(0,0,1638,1638))") 335px 105px / 400px 400px repeat,
    url("../../assets/flake-2.svg#svgView(viewBox(0,0,2002,2002))") 320px 225px / 400px 400px repeat,
    url("../../assets/flake-8.svg#svgView(viewBox(0,0,1243,1243))") 50px 265px / 400px 400px repeat,
    url("../../assets/flake-5.svg#svgView(viewBox(0,0,2403,2403))") 225px 335px / 400px 400px repeat;
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--lp-snow);
  -webkit-mask: var(--lp-flakes);
  mask: var(--lp-flakes);
}

/* The hero's falling snow: the Wishlist app's own (js/snow.js,
   started by landing.js; the skin draws and moves the flakes).
   Its flakes take this colorway's frost. snow.js stops them by
   adding .is-snow-still to the element it snows in; the skin only
   pauses them when that's the skin's <main>, so the hero needs
   the same rule. Once the snow is in, the hero's still pattern
   steps aside (it stays if the snow can't load). */
.gg-landing .gg-flake > span {
  background: var(--lp-frost);
}

.gg-landing .lp-hero.is-snow-still .gg-flake,
.gg-landing .lp-hero.is-snow-still .gg-flake > span {
  animation-play-state: paused;
}

.gg-landing .lp-snowy:has(> .gg-snow)::before {
  display: none;
}

/* ---------------------------------------------------------
   Type and shared bits
--------------------------------------------------------- */
.gg-landing .spi-eyebrow {
  margin: 0;
  font-size: 11px;
  color: var(--gg-eyebrow);
}

.gg-landing .spi-h2,
.gg-landing .spi-h3 {
  margin: 0;
}

/* The skin centres every section header; here most sit left, and
   .is-center centres the ones the design centres. */
.gg-landing .spi-section-header {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 40px;
  text-align: left;
}

.gg-landing .spi-section-header.is-center {
  align-items: center;
  text-align: center;
}

.gg-landing .spi-section-header .spi-body {
  margin: 4px 0 0;
}

.gg-landing .lp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.gg-landing .lp-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* The dark pill for cream and white sections */
.gg-landing .btn.lp-btn-ink {
  border-color: var(--gg-ink-button);
  background: var(--gg-ink-button);
  color: var(--gg-snow);
}

.gg-landing .btn.lp-btn-ink:hover {
  border-color: var(--gg-ground-deep);
  background: var(--gg-ground-deep);
  color: var(--gg-snow);
}

/* A quiet text button (Wrap it back up) */
.gg-landing .lp-text-button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  font-family: var(--gg-font-text);
  font-size: 15px;
  font-weight: 600;
  color: var(--gg-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.gg-landing .lp-text-button:hover {
  color: var(--gg-snow);
}

.gg-landing .lp-text-button:focus-visible,
.gg-landing a.lp-stocking:focus-visible,
.gg-landing a.lp-postcard:focus-visible {
  outline: 2px solid var(--spi-accent);
  outline-offset: 4px;
}

.gg-landing .lp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Words for screen readers only ("Shop Stormopoly", not just "Shop") */
.gg-landing .lp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------
   0. Nav bar (base .spi-subnav)
--------------------------------------------------------- */
.gg-landing .lp-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--gg-ground);
}

.gg-landing .lp-nav .spi-subnav-inner {
  gap: 24px;
  min-height: 64px;
}

.gg-landing .lp-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--gg-font-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--gg-text);
}

.gg-landing .lp-nav a:not(.btn):hover {
  color: var(--gg-on-ground-accent);
}

.gg-landing .lp-nav a.lp-nav-brand {
  margin-right: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gg-landing .lp-nav .btn.lp-nav-cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 20px !important;
  font-size: 13px !important;
  text-transform: none;
}

/* Keyboard focus on the pill (audit S-13). Base's sub-nav swaps every link's
   outline for a ring drawn on ::before, sized for text links; the pill
   covered most of it. So the pill gets the ring every .btn has (base
   .btn:focus-visible), which fits in the strip: 2px + 2px offset inside
   the 10px above and below the 44px pill. */
.gg-landing .lp-nav .btn.lp-nav-cta:focus-visible {
  outline: 2px solid var(--spi-accent);
  outline-offset: 2px;
}

.gg-landing .lp-nav .btn.lp-nav-cta:focus-visible::before {
  content: none;
}

/* On phones the strip scrolls sideways and the pill is its last item, so it
   started off-screen and the page's main action vanished once the hero
   scrolled away (audit S-12). Pinned to the strip's right edge, it stays in
   view while the links slide under it. Where everything fits (wider than
   about 860px, measured), it is already at the end and nothing changes. */
.gg-landing .lp-nav .btn.lp-nav-cta {
  position: sticky;
  right: 0;
  z-index: 1;
}

/* Where the strip scrolls: a solid band in the ground's colour round the pill
   hides the links passing under it, including in the strip's right padding
   (16-32px here), and a soft one fades them out on its left. !important only
   because base sets .btn.default { box-shadow: none !important } (matching
   the store theme); here the shadow is a mask, not a decoration. */
@media (max-width: 860px) {
  .gg-landing .lp-nav .btn.lp-nav-cta {
    box-shadow: 0 0 0 32px var(--gg-ground), -40px 0 16px 0 var(--gg-ground) !important;
  }
}

/* ---------------------------------------------------------
   1. Hero
--------------------------------------------------------- */
.gg-landing .lp-hero .spi-split {
  gap: 56px;
}

.gg-landing .lp-hero-title {
  margin: 14px 0 20px;
  font-size: clamp(56px, 7.5vw, 104px);
  line-height: 0.95;
}

.gg-landing .lp-lead {
  max-width: 34em;
  margin: 0;
  font-size: 17px;
  color: var(--gg-text-2);
}

.gg-landing .lp-lead strong {
  font-weight: 700;
  color: var(--gg-text);
}

.gg-landing .lp-hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gg-muted);
}

/* The "Dear Santa," letter: white, ruled, a little crooked */
.gg-landing .lp-hero-art {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 0 0 auto;
  /* Room under the letter for Santa, who overlaps only its sign-off
     line, where the right-hand side is empty */
  padding: 12px 0 130px;
}

.gg-landing .lp-letter {
  position: relative;
  padding: 26px 34px 30px;
  border-radius: 4px;
  /* The ruled lines sit in the text area only, one every 44px
     (the letter's line height), just under each line of words */
  background:
    repeating-linear-gradient(to bottom, transparent 0 43px, var(--gg-rule-on-paper) 43px 44px)
      0 -10px / 100% auto content-box,
    var(--gg-snow);
  box-shadow: var(--lp-shadow);
  color: var(--gg-pine);
  transform: rotate(-1.5deg);
}

.gg-landing .lp-letter p {
  margin: 0;
  font-family: var(--gg-font-text);
  font-size: 15px;
  line-height: 44px;
  color: var(--gg-ink-soft);
  /* On a phone, no lone "is..." or "my list." on a line of its own */
  text-wrap: pretty;
}

.gg-landing .lp-letter .lp-letter-greeting {
  font-family: var(--gg-font-display);
  font-size: 40px;
  color: var(--gg-pine);
}

.gg-landing .lp-letter strong {
  font-weight: 700;
  color: var(--gg-pine);
  text-decoration: underline 2px var(--gg-cranberry);
  text-underline-offset: 5px;
}

.gg-landing .lp-letter .lp-letter-signoff {
  font-family: var(--gg-font-display);
  font-size: 30px;
  color: var(--gg-cranberry);
}

/* A blank still to fill in: their name (as in the app until they
   sign) and the ball (Santa's pick, kept for the app) */
.gg-landing .lp-blank {
  display: inline-block;
  width: 5.5em;
  border-bottom: 2px solid currentColor;
}

.gg-landing .lp-letter-signoff .lp-blank {
  width: 4.5em;
}

/* Santa's note and its arrow, under the letter's lower left */
.gg-landing .lp-santa-note {
  position: absolute;
  left: 8px;
  bottom: 60px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gg-text);
}

.gg-landing .lp-note-arrow {
  flex: 0 0 auto;
  width: 46px;
  height: 40px;
}

.gg-landing .lp-note-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gg-landing .lp-hero-santa {
  position: absolute;
  right: -28px;
  bottom: 0;
  width: 230px;
  height: auto;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.35));
}

/* ---------------------------------------------------------
   2. Santa's Ball of the Year: the gift box
--------------------------------------------------------- */
.gg-landing .lp-boty .spi-split {
  gap: 48px;
}

.gg-landing .lp-boty-copy .spi-body {
  margin: 16px 0 0;
}

.gg-landing .lp-reveal-title {
  margin: 20px 0 0;
  font-family: var(--gg-font-display);
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.1;
  color: var(--gg-on-ground-accent);
}

.gg-landing .lp-reveal-title:focus {
  outline: none;
}

/* The Bionic, unwrapped: its category, 15 lb core and five reaction rows,
   as the Wishlist's ball card gives them (a test keeps the two equal).
   Traction and hook timing carry the card's 3-segment meter. */
.gg-landing .lp-ball-facts {
  max-width: 480px;
  margin-top: 24px;
}

.gg-landing .lp-ball-chip {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gg-on-ground-accent);
  font-size: 12px;
  font-weight: 700;
  color: var(--gg-pine);
}

.gg-landing .lp-ball-core-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gg-muted);
}

.gg-landing .lp-ball-core {
  display: flex;
  gap: 28px;
  margin: 0 0 18px;
}

.gg-landing .lp-ball-core div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.gg-landing .lp-ball-core dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--gg-muted);
}

.gg-landing .lp-ball-core dd {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gg-text);
}

.gg-landing .lp-ball-metrics {
  margin: 0;
  border-top: 1px solid var(--gg-line);
}

.gg-landing .lp-ball-metrics div {
  display: grid;
  grid-template-columns: minmax(120px, 40%) 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--gg-line);
}

.gg-landing .lp-ball-metrics dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg-muted);
}

.gg-landing .lp-ball-metrics dd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gg-text);
}

.gg-landing .lp-meter {
  display: inline-flex;
  flex: none;
  gap: 3px;
}

.gg-landing .lp-meter span {
  width: 14px;
  height: 6px;
  border-radius: 3px;
  background: var(--gg-line);
}

.gg-landing .lp-meter .is-on {
  background: var(--gg-on-ground-accent);
}

.gg-landing .lp-gift {
  position: relative;
  width: min(420px, 84vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.gg-landing .gw-glow,
.gg-landing .gw-ball,
.gg-landing .gw-box,
.gg-landing .gw-base,
.gg-landing .gw-lid,
.gg-landing .gw-spark {
  position: absolute;
}

.gg-landing .gw-glow {
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--gg-gold) 70%, transparent) 0%,
    color-mix(in srgb, var(--gg-gold) 22%, transparent) 42%,
    transparent 70%);
}

/* Ten 4-point sparkles (assets/sparkle.svg, from the CDN), burst
   from the middle. Each sets its own --dx/--dy in the HTML. */
.gg-landing .gw-spark {
  --s: 30px;
  top: 50%;
  left: 50%;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background: var(--gg-gold);
  -webkit-mask: url("../../assets/sparkle.svg") center / contain no-repeat;
  mask: url("../../assets/sparkle.svg") center / contain no-repeat;
}

.gg-landing .gw-spark:nth-of-type(3n+2) { --s: 20px; background: var(--gg-snow); }
.gg-landing .gw-spark:nth-of-type(3n) { --s: 14px; }

.gg-landing .gw-ball {
  top: 16%;
  left: 19%;
  width: 62%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4));
}

.gg-landing .gw-box {
  inset: 0;
  transform-origin: 50% 90%;
}

.gg-landing .gw-base {
  top: 34%;
  right: 9%;
  bottom: 3%;
  left: 9%;
  overflow: hidden;
  border-radius: 6px;
  background: var(--gg-box);
  box-shadow: inset 0 -16px 0 rgba(0, 0, 0, 0.14), 0 26px 40px rgba(0, 0, 0, 0.35);
}

.gg-landing .gw-lid {
  top: 20%;
  right: 5%;
  left: 5%;
  height: 17%;
  border-radius: 6px;
  background: var(--gg-box-lid);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.22);
  transform-origin: 30% 100%;
}

.gg-landing .gw-rib-v,
.gg-landing .gw-rib-h {
  position: absolute;
  background: var(--gg-gold);
}

.gg-landing .gw-rib-v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 52px;
  margin-left: -26px;
  box-shadow: inset 5px 0 0 var(--gg-gold-shade), inset -5px 0 0 var(--gg-gold-shade);
}

.gg-landing .gw-lid .gw-rib-v {
  width: 56px;
  margin-left: -28px;
}

.gg-landing .gw-rib-h {
  top: 50%;
  right: 0;
  left: 0;
  height: 52px;
  margin-top: -26px;
  box-shadow: inset 0 5px 0 var(--gg-gold-shade), inset 0 -5px 0 var(--gg-gold-shade);
}

/* The bow, its knot on the lid's top edge. margin-top is a share
   of the lid's WIDTH, as the bow's height is: it lifts the bow so
   the knot (78% of the way down the drawing) sits on the edge. */
.gg-landing .gw-bow {
  position: absolute;
  top: 0;
  left: 30%;
  width: 40%;
  height: auto;
  margin-top: -19.5%;
  overflow: visible;
}

.gg-landing .gw-bow .gw-bow-loop { fill: var(--gg-gold); stroke: var(--gg-gold-shade); stroke-width: 3; }
.gg-landing .gw-bow .gw-bow-tail { fill: var(--gg-gold-shade); }
.gg-landing .gw-bow .gw-bow-knot { fill: var(--gg-gold); stroke: var(--gg-gold-shade); stroke-width: 3; }

/* The unwrap (his spec's timing, about two seconds; transforms
   and opacity only) */
.gg-landing .gw-ball  { opacity: 0; transform: translateY(40px) scale(.4); }
.gg-landing .gw-glow  { opacity: 0; transform: scale(0); }
.gg-landing .gw-spark { opacity: 0; }
.gg-landing .is-open .gw-box   { animation: gw-shake .45s ease-in-out both; }
.gg-landing .is-open .gw-bow   { animation: gw-bow .6s .35s cubic-bezier(.5,0,.7,.4) both; }
.gg-landing .is-open .gw-rib-h { animation: gw-untie-x .35s .55s ease-in both; }
.gg-landing .is-open .gw-rib-v { animation: gw-untie-y .35s .55s ease-in both; }
.gg-landing .is-open .gw-lid   { animation: gw-lid .75s .75s cubic-bezier(.4,0,.8,.6) both; }
.gg-landing .is-open .gw-base  { animation: gw-base .5s 1.2s ease-in both; }
.gg-landing .is-open .gw-glow  { animation: gw-glow 1s 1.15s ease-out both; }
.gg-landing .is-open .gw-spark { animation: gw-spark .9s 1.2s cubic-bezier(.1,.7,.3,1) both; }
.gg-landing .is-open .gw-ball  { animation: gw-ball .8s 1.3s cubic-bezier(.2,1.5,.4,1) both; }
.gg-landing .gw-reveal { animation: gw-fade .5s 1.7s ease-out both; }
@keyframes gw-shake { 0%,100%{transform:rotate(0)} 20%{transform:rotate(-3deg)} 40%{transform:rotate(3deg)} 60%{transform:rotate(-2deg)} 80%{transform:rotate(1deg)} }
@keyframes gw-bow { 0%{transform:translate(0,0) rotate(0) scale(1);opacity:1} 30%{transform:translate(0,-14px) rotate(-8deg) scale(1.15);opacity:1} 100%{transform:translate(170px,-280px) rotate(220deg) scale(.5);opacity:0} }
@keyframes gw-untie-x { to{transform:scaleX(0)} }
@keyframes gw-untie-y { to{transform:scaleY(0)} }
@keyframes gw-lid { 0%{transform:translate(0,0) rotate(0);opacity:1} 35%{transform:translate(0,-46px) rotate(-6deg);opacity:1} 100%{transform:translate(-200px,-340px) rotate(-40deg);opacity:0} }
@keyframes gw-base { to{transform:translateY(70px) scale(.92);opacity:0} }
@keyframes gw-glow { 0%{opacity:0;transform:scale(0)} 50%{opacity:1;transform:scale(1.25)} 100%{opacity:.65;transform:scale(1)} }
@keyframes gw-spark { 0%{opacity:1;transform:translate(0,0) scale(.3)} 70%{opacity:1} 100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1) rotate(90deg)} }
@keyframes gw-ball { 0%{opacity:0;transform:translateY(40px) scale(.4)} 100%{opacity:1;transform:translateY(0) scale(1)} }
@keyframes gw-fade { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:none} }
@media (prefers-reduced-motion: reduce) {
  .gg-landing .is-open *, .gg-landing .gw-reveal { animation-duration: 1ms !important; animation-delay: 0ms !important; }
}

/* ---------------------------------------------------------
   3. Santa's Weekly Picks: gift tags on a string
   Each cell carries its own piece of the string, run half a
   gap past each side, so a row reads as one string at every
   width (4, 2 or 1 across). The tag swings from the point
   where its thread meets the string.
--------------------------------------------------------- */
.gg-landing .lp-tags {
  row-gap: 48px;
}

.gg-landing .lp-tag {
  position: relative;
  padding-top: 44px;
}

.gg-landing .lp-tag::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(var(--spi-gap) / -2);
  left: calc(var(--spi-gap) / -2);
  height: 2px;
  background: var(--gg-cranberry);
}

.gg-landing .lp-tag-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 18px 22px;
  border: 2px solid var(--gg-pine);
  border-radius: 16px;
  background: var(--gg-snow);
  box-shadow: 0 16px 30px rgba(19, 56, 53, 0.14);
  text-align: center;
  transform-origin: 50% -44px;
}

/* The thread, from the string to the hole */
.gg-landing .lp-tag-card::before {
  content: "";
  position: absolute;
  top: -46px;
  left: 50%;
  width: 2px;
  height: 66px;
  margin-left: -1px;
  background: var(--gg-cranberry);
}

/* The hole */
.gg-landing .lp-tag-card::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border: 2px solid var(--gg-pine);
  border-radius: 50%;
  background: var(--gg-cream);
}

.gg-landing .lp-tag:nth-child(4n+1) .lp-tag-card { transform: rotate(-2deg); }
.gg-landing .lp-tag:nth-child(4n+2) .lp-tag-card { transform: rotate(1.5deg); }
.gg-landing .lp-tag:nth-child(4n+3) .lp-tag-card { transform: rotate(-1deg); }
.gg-landing .lp-tag:nth-child(4n+4) .lp-tag-card { transform: rotate(2deg); }

.gg-landing .lp-tag-to {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gg-cranberry);
}

.gg-landing .lp-tag-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 14px 0 16px;
  overflow: hidden;
}

/* The product squares, the Portal's included: the same cream as the ball's
   placeholder (his call, 2026-11-23; the Portal's square, not a circle, 2026-11-24) */
.gg-landing .lp-tag-img.is-boxed {
  border-radius: 14px;
  background: var(--gg-cream-heel);
}

.gg-landing .lp-tag-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* A photo still to come: the frame, with its label in it */
.gg-landing .lp-tag-img.is-todo {
  font-size: 12px;
  font-weight: 700;
  color: var(--gg-text);
}

.gg-landing .lp-tag .spi-h3 {
  font-size: 17px;
}

.gg-landing .lp-tag .spi-body {
  margin: 6px 0 18px;
  font-size: 13px;
  line-height: 1.5;
}

.gg-landing .lp-tag .btn {
  margin-top: auto;
  padding: 0 20px !important;
  font-size: 13px !important;
}

/* ---------------------------------------------------------
   4. Santa's Stocking Stuffers: stockings on the mantel
   Each cell carries its own piece of the mantel rail, like the
   tags' string, so every row has one on a phone (2 across).
--------------------------------------------------------- */
.gg-landing .lp-stockings-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: 40px;
}

.gg-landing .lp-stockings-head .spi-section-header {
  margin-bottom: 0;
}

.gg-landing .lp-stockings-head > .spi-body {
  max-width: 340px;
  margin: 0;
}

.gg-landing .lp-stocking-row {
  row-gap: 40px;
}

.gg-landing .lp-stocking-row > li {
  position: relative;
  padding-top: 14px;
}

.gg-landing .lp-stocking-row > li::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(var(--spi-gap) / -2);
  left: calc(var(--spi-gap) / -2);
  height: 14px;
  border-bottom: 4px solid var(--gg-gold-shade);
  background: var(--gg-gold);
  box-shadow: 0 10px 12px -4px rgba(0, 0, 0, 0.3);
}

.gg-landing .lp-stocking-row > li:nth-child(odd) {
  --stocking-body: var(--gg-stocking-a);
  --stocking-heel: var(--gg-stocking-a-heel);
}

.gg-landing .lp-stocking-row > li:nth-child(even) {
  --stocking-body: var(--gg-cream);
  --stocking-heel: var(--gg-cream-heel);
}

.gg-landing a.lp-stocking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--gg-text);
  text-decoration: none;
}

.gg-landing a.lp-stocking:hover {
  color: var(--gg-text);
}

.gg-landing .lp-stocking-art {
  position: relative;
  display: block;
  width: min(180px, 100%);
  aspect-ratio: 180 / 284;
  margin-bottom: 8px;
  transform-origin: 41% 0;
  transition: transform 0.25s ease;
}

.gg-landing .lp-stocking-row > li:nth-child(6n+1) .lp-stocking-art { transform: rotate(-3deg); }
.gg-landing .lp-stocking-row > li:nth-child(6n+2) .lp-stocking-art { transform: rotate(2deg); }
.gg-landing .lp-stocking-row > li:nth-child(6n+3) .lp-stocking-art { transform: rotate(-1.5deg); }
.gg-landing .lp-stocking-row > li:nth-child(6n+4) .lp-stocking-art { transform: rotate(2.5deg); }
.gg-landing .lp-stocking-row > li:nth-child(6n+5) .lp-stocking-art { transform: rotate(-2deg); }
.gg-landing .lp-stocking-row > li:nth-child(6n+6) .lp-stocking-art { transform: rotate(1.5deg); }

.gg-landing a.lp-stocking:hover .lp-stocking-art {
  transform: rotate(0);
}

.gg-landing .lp-stocking-art svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gg-landing .lp-stocking-art .lp-hook { stroke: var(--gg-gold); stroke-width: 2; }
.gg-landing .lp-stocking-art .lp-body { fill: var(--stocking-body); }
.gg-landing .lp-stocking-art .lp-heel { fill: var(--stocking-heel); }
.gg-landing .lp-stocking-art .lp-cuff { fill: var(--gg-snow); }
.gg-landing .lp-stocking-art .lp-cuff-edge { fill: #E6EEF4; }

/* The product name on the cuff, and its photo in a circle on the
   leg, placed in the drawing's own units (180 x 284). */
.gg-landing .lp-stocking-cuff {
  position: absolute;
  top: 8.45%;
  left: 6.67%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68.9%;
  height: 18.66%; /* 53 of the drawing's 284: three lines of a product title fit at 12px */
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--gg-pine);
}

.gg-landing .lp-stocking-photo {
  position: absolute;
  top: 35%;
  left: 14.4%;
  width: 53.3%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  /* His storm background (the gift guide's pine and snowflakes, 2026-11-23),
     drawn about the size the guide pages show it, behind the product photos.
     Its flakes run round the edges and the middle is plain, so each circle
     shows its snowy bottom-left corner. */
  /* A soft light in the middle, so dark products (the black shammy, the grey
     pads) stand out from the pine (audit F-18, 2026-11-24) */
  background:
    radial-gradient(closest-side, rgba(251, 246, 236, 0.38), rgba(251, 246, 236, 0)),
    var(--gg-ground) url("../img/Storm_OfficialSantaBook-2026-23.svg") -8px -699px / 640px auto no-repeat;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* The store photos have different amounts of space round each product, so
   each photo carries its own fit (in landing.html): --fit scales it so the
   whole product shows at a similar size, --fit-x / --fit-y centre it. */
.gg-landing .lp-stocking-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--fit, 1)) translate(var(--fit-x, 0), var(--fit-y, 0));
}

.gg-landing .lp-stocking-price,
.gg-landing .lp-stocking-shop {
  font-size: 13px;
  font-weight: 800;
  color: var(--gg-on-ground-accent);
}

.gg-landing .lp-stocking-shop {
  font-size: 12px;
  font-weight: 700;
}

/* ---------------------------------------------------------
   5. Santa's Gift Guides: postcards on a cream mat
--------------------------------------------------------- */
.gg-landing .lp-postcards {
  row-gap: 32px;
}

.gg-landing a.lp-postcard {
  --gg-text: var(--gg-pine);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 18px;
  background: var(--gg-cream);
  box-shadow: var(--lp-shadow);
  color: var(--gg-pine);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.gg-landing .lp-postcards > li:nth-child(5n+1) .lp-postcard { transform: rotate(-2deg); }
.gg-landing .lp-postcards > li:nth-child(5n+2) .lp-postcard { transform: rotate(1.5deg); }
.gg-landing .lp-postcards > li:nth-child(5n+3) .lp-postcard { transform: rotate(-1deg); }
.gg-landing .lp-postcards > li:nth-child(5n+4) .lp-postcard { transform: rotate(2deg); }
.gg-landing .lp-postcards > li:nth-child(5n+5) .lp-postcard { transform: rotate(-1.5deg); }

.gg-landing a.lp-postcard:hover {
  color: var(--gg-pine);
  transform: rotate(0) translateY(-4px);
}

.gg-landing .lp-postcard img {
  width: 100%;
  height: auto;
  aspect-ratio: 466 / 520;
  object-fit: cover;
  object-position: top;
}

.gg-landing .lp-postcard-label {
  margin: 14px 4px 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gg-cranberry);
}

.gg-landing .lp-postcard .spi-h3 {
  margin: 4px 4px 0;
  font-size: 16px;
  color: var(--gg-pine);
}

.gg-landing .lp-postcard-text {
  margin: 6px 4px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gg-ink-soft);
}

.gg-landing .lp-postcard-cta {
  margin: auto 4px 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--gg-pine);
}

/* The order-by line, and the lookbook button under it */
.gg-landing .lp-order {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 44px 0 0;
  text-align: center;
}

.gg-landing .lp-order .spi-meta {
  margin: 0;
  font-size: 13px;
  color: var(--gg-muted);
}

/* ---------------------------------------------------------
   6. Sign it. Send it. Get it.
--------------------------------------------------------- */
.gg-landing .lp-sign-santa {
  width: 280px;
  max-width: 80%;
  height: auto;
  margin-bottom: 8px;
}

.gg-landing .lp-sign-steps .ui-card {
  border-color: rgba(19, 56, 53, 0.12);
  box-shadow: 0 10px 24px rgba(19, 56, 53, 0.08);
}

.gg-landing .lp-step-num {
  display: block;
  font-family: var(--gg-font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--gg-cranberry);
}

.gg-landing .lp-sign-steps .spi-h3 {
  margin-top: 12px;
  font-size: 18px;
}

.gg-landing .lp-sign-steps .spi-body {
  margin: 8px 0 0;
  font-size: 14px;
}

/* ---------------------------------------------------------
   7. Santa's quick answers (base .spi-accordion)
--------------------------------------------------------- */
.gg-landing .lp-faq .spi-split {
  gap: 48px;
}

.gg-landing .lp-faq-list.spi-accordion {
  gap: 0;
  max-width: none;
  margin: 0;
  border-top: 2px solid var(--gg-pine);
}

.gg-landing .lp-faq-list details {
  border-bottom: 1px solid rgba(19, 56, 53, 0.2);
}

.gg-landing .lp-faq-list summary {
  min-height: 64px;
  padding: 12px 0;
  font-family: var(--gg-font-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gg-pine);
}

.gg-landing .lp-faq-list summary:hover {
  color: var(--gg-cranberry);
}

/* Base's chevron becomes a round + / − */
.gg-landing .lp-faq-list summary::after {
  width: 28px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  transform: none;
}

.gg-landing .lp-faq-list details[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat;
  transform: none;
}

.gg-landing .lp-faq-list .spi-accordion-body {
  padding: 0 44px 22px 0;
}

.gg-landing .lp-faq-list .spi-body {
  font-size: 15px;
}

/* ---------------------------------------------------------
   8. Closing strip: Santa's sleigh on the snow
--------------------------------------------------------- */
.gg-landing .lp-closing {
  padding-bottom: 0;
}

.gg-landing .lp-closing .spi-split {
  position: relative;
  z-index: 1;
  align-items: flex-end;
  gap: 48px;
}

.gg-landing .lp-closing-art img {
  display: block;
  width: 420px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 14px;
}

.gg-landing .lp-closing-copy {
  padding-bottom: 96px;
}

.gg-landing .lp-closing-title {
  font-size: clamp(36px, 5vw, 52px);
}

.gg-landing .lp-closing-copy .spi-body {
  max-width: 30em;
  margin: 14px 0 0;
}

.gg-landing .lp-snow-ground {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 48px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--gg-snow);
}

/* ---------------------------------------------------------
   Tablets and phones
--------------------------------------------------------- */
@media (min-width: 769px) {
  .gg-landing .lp-faq .spi-split > :first-child {
    flex: 0 1 34%;
  }
}

@media (max-width: 768px) {
  .gg-landing .lp-hero-art {
    margin: 8px auto 0;
  }

  .gg-landing .lp-boty .spi-split,
  .gg-landing .lp-closing .spi-split {
    gap: 32px;
  }

  /* The sleigh sits under the copy, still on the snow */
  .gg-landing .lp-closing-copy {
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .gg-landing .spi-section-header,
  .gg-landing .lp-stockings-head {
    margin-bottom: 28px;
  }

  .gg-landing .lp-nav .spi-subnav-inner {
    gap: 20px;
  }

  .gg-landing .lp-hero-art {
    padding-bottom: 92px;
  }

  .gg-landing .lp-letter {
    padding: 20px 20px 22px;
  }

  .gg-landing .lp-letter .lp-letter-greeting {
    font-size: 34px;
  }

  .gg-landing .lp-letter .lp-letter-signoff {
    font-size: 26px;
  }

  .gg-landing .lp-hero-santa {
    right: -6px;
    width: 168px;
  }

  .gg-landing .lp-santa-note {
    bottom: 26px;
  }

  /* No tilts on a phone: the cards are the full width.
     :nth-child(n) matches every item, and matches the tilt
     rules' weight so this one wins. */
  .gg-landing .lp-tag:nth-child(n) .lp-tag-card,
  .gg-landing .lp-postcards > li:nth-child(n) .lp-postcard,
  .gg-landing .lp-stocking-row > li:nth-child(n) .lp-stocking-art {
    transform: none;
  }

  .gg-landing .lp-stocking-cuff {
    font-size: 11px;
  }
}

/* ---------------------------------------------------------
   THE COLORWAY SWITCHER (his ask, 2026-11-24). Base's .spi-toggle in a
   dark pill, fixed to the bottom right so it's in reach from any section
   without covering the nav or its "Write my letter". On every page,
   production included (his call).
   --------------------------------------------------------- */
.gg-landing .lp-colorways {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  padding: 5px;
  border-radius: 999px;
  background: rgba(8, 18, 18, 0.86);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.gg-landing .lp-colorways .spi-toggle {
  flex-wrap: nowrap;
  gap: 4px;
}

.gg-landing .lp-colorways .spi-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px 6px 8px;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.82);
}

.gg-landing .lp-colorways .spi-toggle button:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

.gg-landing .lp-colorways .spi-toggle button.active {
  border-color: #FFFFFF;
  background: #FFFFFF;
  color: #10201E;
}

/* Each swatch is its colorway's ground (the --gg-ground values above) */
.gg-landing .lp-swatch {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.gg-landing [data-colorway="gg-pine"] .lp-swatch { background: #133835; }
.gg-landing [data-colorway="gg-midnight"] .lp-swatch { background: #343463; }
.gg-landing [data-colorway="gg-cranberry"] .lp-swatch { background: #BD2C34; }

/* Phones: swatches only (the names stay for screen readers) */
@media (max-width: 600px) {
  .gg-landing .lp-colorways .spi-toggle button {
    justify-content: center;
    min-width: 44px;
    padding: 6px 9px;
  }

  .gg-landing .lp-colorway-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* =========================================================
   THE SUB-PAGES (his ask, 2026-11-24): the five gift guides and the
   stocking stuffers, each a product list. Same <main> and colorways
   as the landing page, the same nav, hero snow and closing strip;
   these rules add the framed ground, the guide's hero and the
   product cards.
   ========================================================= */

/* The nav: base's sub-nav marks the page you're on (.is-active, an
   underline in the accent); here in the ground's gold, like a hover. */
.gg-landing .lp-nav a.is-active:not(.btn) {
  color: var(--gg-on-ground-accent);
}

.gg-landing .lp-nav a.is-active:not(.btn)::after {
  bottom: 6px;
  background: var(--gg-on-ground-accent);
}

/* Six links instead of four: everything fits from about 1212px wide
   (measured), so the pill's mask (see the nav, above) runs that far. */
@media (max-width: 1220px) {
  .gg-landing .lp-nav-wide .btn.lp-nav-cta {
    box-shadow: 0 0 0 32px var(--gg-ground), -40px 0 16px 0 var(--gg-ground) !important;
  }
}

/* His storm background (Storm_OfficialSantaBook-2026-23.svg): the
   gift guide's snowflake frame, down both sides of the hero and the
   products. img/storm-flakes-frame.svg is its flakes without the
   pine page, used as a mask, so they take each colorway's frost
   (on Pine, the drawing's own two greens). The frame is 612 x 792;
   it fills the width (at least 960px, so on a phone the flakes stay
   their size and run off the edges) and repeats down the page. */
.gg-landing .lp-framed {
  position: relative;
  isolation: isolate;
  background: var(--gg-ground);
}

.gg-landing .lp-framed::before {
  --lp-frame: url("../img/storm-flakes-frame.svg") center top / max(100%, 960px) auto repeat-y;
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--lp-frost);
  -webkit-mask: var(--lp-frame);
  mask: var(--lp-frame);
}

/* The hero: the falling snow lives here (landing.js), over the frame */
.gg-landing .lp-framed .lp-guide-hero {
  position: relative;
  isolation: isolate;
  padding-bottom: 40px;
  background: none;
}

.gg-landing .lp-guide-hero .lp-hero-title {
  margin: 12px 0 18px;
  font-size: clamp(48px, 6.5vw, 88px);
}

.gg-landing .lp-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gg-text-2);
  text-decoration: none;
}

.gg-landing .lp-back:hover {
  color: var(--gg-on-ground-accent);
}

/* The guide's postcard (the same art as on the landing page), on its
   cream mat; the stocking stuffers' Santa stands on his own. */
.gg-landing .lp-guide-art {
  display: flex;
  justify-content: center;
}

.gg-landing .lp-guide-art img {
  display: block;
  width: 340px;
  max-width: 100%;
  height: auto;
  padding: 10px;
  background: var(--gg-cream);
  box-shadow: var(--lp-shadow);
  transform: rotate(2deg);
}

.gg-landing .lp-guide-art.is-plain img {
  width: 420px;
  padding: 0;
  background: none;
  box-shadow: none;
  transform: none;
}

/* The products: base's grid (four across, two on a tablet). On a
   phone base goes to one; a product list keeps two, as shops do. */
.gg-landing .lp-directory {
  padding-top: 24px;
  background: none;
}

.gg-landing .lp-products {
  row-gap: 28px;
}

.gg-landing .lp-products[aria-busy="true"] {
  min-height: 360px;
}

.gg-landing a.lp-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 16px;
  border-radius: 16px;
  background: var(--gg-cream);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  color: var(--gg-pine);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.gg-landing a.lp-product:hover {
  color: var(--gg-pine);
  transform: translateY(-4px);
}

.gg-landing a.lp-product:focus-visible {
  outline: 2px solid var(--spi-accent);
  outline-offset: 4px;
}

/* The photo square: the cream of the Weekly Picks squares (his call) */
.gg-landing .lp-product-photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gg-cream-heel);
}

.gg-landing .lp-product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6%;
  object-fit: contain;
}

.gg-landing .lp-product-name {
  margin: 14px 4px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.gg-landing .lp-product-price {
  margin: 6px 4px 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--gg-cranberry);
}

.gg-landing .lp-product-shop {
  margin: auto 4px 0;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 800;
}

/* Still being filled, or didn't load: a line (and a button) where the
   cards go. Empty, it takes no room. */
.gg-landing .lp-products-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  max-width: 34em;
  color: var(--gg-text-2);
  text-align: center;
}

.gg-landing .lp-products-status:empty {
  display: none;
}

@media (max-width: 768px) {
  /* Stacked: less room round the art, so the products start sooner */
  .gg-landing .lp-guide-hero .spi-split {
    gap: 24px;
  }

  .gg-landing .lp-framed .lp-guide-hero {
    padding-bottom: 16px;
  }

  .gg-landing .lp-guide-art img {
    width: 260px;
  }

  .gg-landing .lp-guide-art.is-plain img {
    width: 300px;
  }
}

@media (max-width: 600px) {
  .gg-landing .lp-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .gg-landing a.lp-product {
    padding: 8px 8px 12px;
    border-radius: 12px;
  }

  .gg-landing .lp-product-name {
    margin-top: 10px;
    font-size: 13px;
  }

  .gg-landing .lp-product-price {
    font-size: 13px;
  }

  .gg-landing .lp-product-shop {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gg-landing a.lp-product {
    transition: none;
  }
}

/* Skip past the nav (audit F-16, 2026-11-24): hidden until a keyboard
   reaches it, then a gold pill at the top left of the screen. */
.gg-landing .lp-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.gg-landing .lp-skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 13px 20px;
  overflow: visible;
  clip-path: none;
  border-radius: 999px;
  background: var(--gg-gold);
  color: var(--gg-pine);
  font-family: var(--gg-font-text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  outline: 2px solid var(--gg-snow);
  outline-offset: 2px;
}

/* The products' fallback line (audit F-13): invisible while guide.js has a
   chance to run (it empties it at once), shown after 5 seconds if it never
   does: a blocked script, or JavaScript off. */
.gg-landing .lp-products-fallback {
  visibility: hidden;
  animation: lp-fallback-show 0s 5s forwards;
}

@keyframes lp-fallback-show {
  to { visibility: visible; }
}
