/* GoBolt site v2. The highlight card: one product's words column with its real highlight player, the picture of
   "Hear the product" on the home page (index.html, home.js) and on the features page (features.html, features.js).
   One markup, one look (MKT-039, owner 2026-11-02: the features page shows the home page's product tile, not a
   window onto the product page), so the rules live here, loaded by both pages before their own css. Tokens are the
   kit's --k-*. The markup:
     <div class="hl-card" data-hl-card>
       <div data-clip="highlight" aria-hidden="true"></div>     the page's script mounts the kit's product mock here, with a blank
                                                                 image folder, so the photo it never shows is never fetched
       <p class="hl-hint" aria-hidden="true"><svg>…</svg><span data-i18n="highlight.hint">Press play to hear it</span></p>
     </div> */

/* ── hear the product: the words column alone, and the player is the one thing to press ──
   The product mock is built whole (kit), and here only its words column shows: the product's type, name and price,
   the audio label and the real player. The browser frame, the photo, the colour row (owner, 2026-10-29: "the colour,
   moss, is taking too much attention"), the one-line description and Add to cart are left out. The card is the
   site's sheet. Until the clip has played once (the page's script adds .is-played) the button carries a soft ring that
   breathes outward, and a small ink hint hangs off the card's corner; both go once it plays. */
.hl-card {
  position: relative; width: min(440px, 100%); padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) clamp(24px, 3vw, 34px);
  border-radius: var(--k-r-sheet); background: var(--k-surface); border: 1px solid rgba(30, 29, 26, 0.06); box-shadow: var(--k-shadow-sheet);
}
.hl-card .k-browser { width: 100%; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.hl-card .k-browser-bar, .hl-card .k-pp-nav, .hl-card .k-pp-gallery, .hl-card .k-pp-line, .hl-card .k-pp-colour, .hl-card .k-pp-add { display: none; }
.hl-card .k-pp { background: transparent; overflow: visible; }
.hl-card .k-pp-main { display: block; padding: 0; }
.hl-card .k-pp-info { padding: 0; }
.hl-card .k-pp-type { font-size: 12.5px; }
.hl-card .k-pp-info h3 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 4px; }
.hl-card .k-pp-price { font-size: 16px; margin-top: 6px; }
.hl-card .k-audio-label { margin-top: 24px; font-size: 12px; }
.hl-card .k-ui .k-audio--live { margin-top: 8px; padding: 14px 16px 14px 14px; gap: 14px; }
.hl-card .k-ui .k-audio--live .player-btn { position: relative; width: 56px; height: 56px; }
.hl-card .k-ui .k-audio--live .player-btn svg { width: 22px; height: 22px; }
.hl-card .k-ui .k-audio--live .player-title { font-size: 14px; }
/* the player is the picture here, so its waveform gets the room to move: a taller strip, so the live bars (scaled
   from the real audio by components.js, eased) swing across a height that reads while it plays */
.hl-card .k-ui .k-audio--live .player-wave { height: 36px; }
.hl-card .k-ui .k-audio--live .player-time { margin-top: 6px; }
/* the ring: two breaths out of the button, until the first play */
.js:not(.still) .hl-card:not(.is-played) .player-btn::before, .js:not(.still) .hl-card:not(.is-played) .player-btn::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--k-ink); opacity: 0; pointer-events: none;
  animation: hl-ring 2600ms ease-out infinite;
}
.js:not(.still) .hl-card:not(.is-played) .player-btn::after { animation-delay: 900ms; }
@keyframes hl-ring { 0% { transform: scale(0.9); opacity: 0.5; } 70% { transform: scale(1.55); opacity: 0; } 100% { transform: scale(1.55); opacity: 0; } }
.hl-hint {
  position: absolute; left: clamp(22px, 3vw, 32px); bottom: -18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; border-radius: var(--k-r-pill);
  background: var(--k-ink); color: var(--k-surface); font-family: var(--k-font-ui); font-size: 12.5px; font-weight: 500; line-height: 1; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(30, 29, 26, 0.12), 0 10px 24px rgba(30, 29, 26, 0.18);
  transition: opacity 420ms ease, transform 420ms var(--k-ease), visibility 0s linear 0s;
}
.hl-hint svg { width: 16px; height: 16px; }
.js:not(.still) .hl-hint { animation: hl-bob 2600ms ease-in-out infinite; }
@keyframes hl-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.hl-card.is-played .hl-hint { opacity: 0; visibility: hidden; transform: translateY(8px); animation: none; transition-delay: 0s, 0s, 420ms; }
html:not(.js) .hl-hint { display: none; }
@media (prefers-reduced-motion: reduce) { .hl-card .player-btn::before, .hl-card .player-btn::after, .hl-hint { animation: none !important; } }
