/* --------------------------------------------- six-feature grid */
.gsix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.gcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .25s, transform .25s;
}
.gcard:hover { border-color: var(--line-2); box-shadow: 0 14px 34px rgba(51,51,51,.09); transform: translateY(-3px); }
.gsix.armed .gcard { opacity: 0; transform: translateY(16px); }
.gsix.armed .gcard.in { opacity: 1; transform: none; transition: opacity .55s ease var(--d), transform .55s cubic-bezier(.2,.75,.3,1) var(--d), border-color .2s, box-shadow .25s; }
.gsix.armed .gcard.in:hover { transform: translateY(-3px); transition: border-color .2s, box-shadow .25s, transform .25s; }
.gvis { height: 208px; background: #f7f6f4; border-bottom: 1px solid var(--line); padding: 16px; position: relative; overflow: hidden; }
.gvis.flush { padding: 0; }
.gtimer { margin-left: auto; font-family: var(--sans); font-size: 11px; font-weight: 400; background: var(--brand-tint); color: var(--brand-deep); padding: 3px 9px; border-radius: var(--r-full); font-variant-numeric: tabular-nums; }
.gbody { padding: 20px; }
.gbody h3 { font-size: 18.5px; }
.gbody p { margin-top: 7px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.gpan { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gcard.live .gpan { will-change: transform; animation: gdrift 16s ease-in-out infinite alternate; }
@keyframes gdrift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, -2%); } }
.gcursor { position: absolute; left: 34%; top: 56%; width: 13px; height: 13px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(110,4,189,.22); opacity: 0; }
.gcard.live .gcursor { animation: gmove 6s ease-in-out infinite; }
@keyframes gmove {
  0% { opacity: 0; transform: translate(0, 18px); }
  14% { opacity: 1; transform: translate(0, 0); }
  46% { opacity: 1; transform: translate(72px, -22px); }
  52% { opacity: 1; transform: translate(72px, -22px) scale(.7); }
  58% { opacity: 1; transform: translate(72px, -22px); }
  86% { opacity: 1; transform: translate(18px, 30px); }
  100% { opacity: 0; transform: translate(18px, 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .gsix.armed .gcard { opacity: 1; transform: none; }
  .gcard.live .gpan, .gcard.live .gcursor { animation: none; }

  .gcard.live .gcursor { opacity: 0; }
}
@container pg (max-width: 1000px) { .gsix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container pg (max-width: 660px) { .gsix { grid-template-columns: minmax(0, 1fr); } }
.gpan.whole { object-fit: contain; padding: 8px; }
.gtimer.gfloat { position: absolute; top: 12px; right: 12px; margin: 0; box-shadow: 0 2px 8px rgba(51,51,51,.18); }
