/* ════════════════════════════════════════════════════════════════════
   THE GROUP — Premium Industrial Showcase
   Isolated, reusable component. Header reuses the site's existing
   .kicker / .section-head; the ambient background follows the same
   recipe as trusted-by-section.css / awards-gallery.css so all three
   light-themed showcases read as one continuous system.

   Carousel is the same coverflow architecture as the Beyond Steel
   slider (.bs3d): index-based, infinite via shortest-path modulo
   offsets, center card + two neighbors on each side visible (5 of the
   7 units at once) with the rest faded out. A static .grp-slot
   (carousel position) wraps the animated .grp-card so the two
   transform systems never fight over the same inline style.

   Motion contract: only transform / opacity / minimal filter are
   animated. Width, height, margin, left and top are never transitioned.
   ════════════════════════════════════════════════════════════════════ */

.grp {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  /* bottom trimmed from 6rem: with .grp-bg's bleed now fixed-px instead
     of scaling off this section's own (very tall) height, the old 6rem
     was leftover overhang no longer needed and just read as dead space
     below the "Know More" button. */
  padding: 5rem 1.75rem 3rem;
}

/* ── ambient background: mesh + blueprint + dot grid + glow + noise + shapes,
   all clipped to one rounded panel — same "floating card" recipe as the
   Quality / Our Process / Beyond Steel / Awards carousels' .qcc-bg / .pcc-bg
   / .bs3d-bg / .awx-bg, so this showcase reads as one continuous carousel
   system with the rest of the site instead of a flat, edge-to-edge tint.
   Fixed-px bleed, not %: .grp is one of the tallest sections on the page,
   so a percentage bottom inset (the old -4%) bled far enough past its own
   edge to overlap the Our Process section's heading right below it. ── */
.grp-bg {
  position: absolute;
  top: -32px;
  right: -2%;
  bottom: -32px;
  left: -2%;
  z-index: 0;
  pointer-events: none;
  border-radius: 2rem;
  overflow: hidden;
}

/* .section's own padding (styles.css) shrinks at these breakpoints, so
   the bleed above has to shrink in step or it eats into the Quality
   carousel's panel above / Our Process section's heading below (see
   .qcc-bg / .pcc-bg for the same fix applied elsewhere on this page). */
@media (max-width: 760px) {
  .grp-bg { top: -16px; bottom: -16px; }
}
@media (max-width: 480px) {
  .grp-bg { top: -12px; bottom: -12px; }
}

.grp-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 82% 18%, rgba(255, 145, 40, .05), transparent 60%),
    radial-gradient(ellipse 55% 50% at 16% 20%, rgba(241, 243, 246, .85), transparent 60%),
    radial-gradient(ellipse 60% 55% at 50% 100%, rgba(228, 231, 236, .5), transparent 65%),
    linear-gradient(180deg, #FCFCFD 0%, #F5F6F8 100%);
}

.grp-blueprint {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(15, 23, 42, .5) 0, rgba(15, 23, 42, .5) 1px, transparent 1px, transparent 42px),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, .5) 0, rgba(15, 23, 42, .5) 1px, transparent 1px, transparent 42px);
  opacity: .03;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 90%);
}

.grp-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, .06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 60%, #000 35%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 60%, #000 35%, transparent 95%);
}

.grp-glow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 65%;
  height: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 106, 31, .07), transparent 65%);
  filter: blur(46px);
}

/* floating ambient blobs — same recipe as the Quality / Our Process /
   Beyond Steel / Awards carousels' .qcc-shape / .pcc-shape / .bs3d-shape /
   .awx-shape. */
.grp-shape { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .35; pointer-events: none; }
.grp-shape.s1 { left: 6%; top: 18%; width: 130px; height: 130px; background: rgba(255, 106, 31, .16); animation: grpShapeFloat 13s ease-in-out infinite; }
.grp-shape.s2 { right: 8%; top: 55%; width: 90px; height: 90px; background: rgba(255, 194, 75, .18); animation: grpShapeFloat 16s ease-in-out infinite 2s; }
.grp-shape.s3 { left: 30%; bottom: 6%; width: 70px; height: 70px; background: rgba(255, 106, 31, .12); animation: grpShapeFloat 11s ease-in-out infinite 4s; }
@keyframes grpShapeFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -24px); }
}

.grp-noise {
  position: absolute;
  inset: 0;
  opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── header ── */
.grp-head {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.grp-kicker-glow {
  display: block;
  width: 56px;
  height: 2px;
  margin: -.7rem auto 1.2rem;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px 1px rgba(255, 106, 31, .55);
  border-radius: 2px;
  animation: grpUnderlinePulse 2.6s ease-in-out infinite;
}

@keyframes grpUnderlinePulse {

  0%,
  100% {
    opacity: .65;
    transform: scaleX(.82);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ── carousel viewport: coverflow recipe shared with Beyond Steel's
   .bs3d-viewport/.bs3d-stage — a fixed-height viewport holding a
   pointer-events:none stage, with each .grp-slot a static centering
   wrapper (never animated) and its .grp-card the only element the
   carousel logic moves (x / scale / opacity). ── */
.grp-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  margin-top: 3.5rem;
}

.grp-stage {
  position: absolute;
  inset: 0;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  transition: transform .5s cubic-bezier(.16, .84, .44, 1);
  pointer-events: none;
}

.grp-stage.dragging {
  cursor: grabbing;
  transition: none;
}

.grp-stage:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 106, 31, .35);
  border-radius: 1.75rem;
}

/* static positioning wrapper — carousel logic (x / scale / opacity) only
   ever touches the .grp-card inside it */
.grp-slot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--coverflow-card-w);
  height: 520px;
  margin: -260px 0 0 calc(var(--coverflow-card-w) / -2);
}

.grp-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #FFFFFF 0%, #FAFBFC 100%);
  border: 1px solid rgba(255, 106, 31, .15);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, .16), 0 10px 26px rgba(15, 23, 42, .07);
  will-change: transform, opacity;
  pointer-events: auto;
}

.grp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(15, 23, 42, .015);
}

.grp-slot.is-hovered .grp-card {
  border-color: rgba(255, 106, 31, .4);
  box-shadow: 0 52px 100px -20px rgba(15, 23, 42, .22), 0 0 40px rgba(255, 106, 31, .18);
}

.grp-slot.is-active .grp-card {
  border-color: rgba(255, 194, 75, .5);
  /* accent glow ring on the active card, same recipe as the Beyond Steel
     slider's .bs3d-card.is-center so the two carousels read as one system */
  box-shadow: 0 44px 92px -20px rgba(15, 23, 42, .22), 0 0 44px rgba(255, 106, 31, .16);
}

/* ── image: the hero of the card, ~65% of its height ── */
.grp-image-wrap {
  position: relative;
  flex-shrink: 0;
  height: 52%;
  overflow: hidden;
  background: #14161C;
}

.grp-image-wrap::before {
  /* orange ambient light around the image — follows the cursor via --mx/--my
     (set by group-showcase.js on .grp-card, inherits down), same spotlight
     technique as the Beyond Steel slider's .bs3d-shine */
  content: '';
  position: absolute;
  inset: -20% -20% 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 0%), rgba(255, 145, 40, .32), transparent 70%);
  opacity: 0;
  transition: opacity .5s ease;
}

.grp-slot.is-hovered .grp-image-wrap::before,
.grp-slot.is-active .grp-image-wrap::before {
  opacity: 1;
}

.grp-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.16, .84, .44, 1);
}

.grp-slot.is-hovered .grp-image-wrap img {
  transform: scale(1.08);
}

/* cinematic gradient crop + reflection band at the base of the image */
.grp-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10, 11, 14, .55) 0%, rgba(10, 11, 14, 0) 42%, rgba(10, 11, 14, .05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 30%);
}

/* ── interactive hotspot markers (pure CSS, keyboard accessible) ── */
.grp-hotspot {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 4px rgba(255, 106, 31, .22);
}

.grp-hotspot::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.grp-hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 194, 75, .65);
  animation: grpHotspotPing 2.4s ease-out infinite;
}

@keyframes grpHotspotPing {
  0% {
    transform: scale(.7);
    opacity: .9;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.grp-hotspot-tip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translate(-50%, 4px);
  white-space: nowrap;
  background: rgba(15, 17, 22, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .4rem .7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.16, .84, .44, 1);
}

@media (hover: hover) and (pointer: fine) {
  .grp-hotspot:hover .grp-hotspot-tip {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.grp-hotspot:focus-visible .grp-hotspot-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.grp-hotspot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── card body content ── */
.grp-body {
  position: relative;
  flex: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.35rem 1.3rem;
}

.grp-category {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--accent-ink);
  margin-bottom: .4rem;
}

.grp-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: none;
  color: #111;
  line-height: 1.25;
  margin-bottom: .25rem;
}

.grp-location {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .7rem;
}

.grp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}

.grp-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(15, 23, 42, .04);
  border: 1px solid rgba(15, 23, 42, .07);
  padding: .28rem .55rem;
  border-radius: 999px;
}

.grp-desc {
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: .85rem;
}

.grp-explore {
  appearance: none;
  -webkit-appearance: none;
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.16, .84, .44, 1), gap .3s ease, color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .grp-explore:hover {
    gap: .65rem;
    color: var(--accent);
    transform: translateY(-2px);
  }
}

.grp-explore:focus-visible {
  gap: .65rem;
  color: var(--accent);
  transform: translateY(-2px);
}

.grp-explore:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── nav arrows + pagination dots, same bottom control-bar recipe as the
   Beyond Steel slider's .bs3d-controls/.bs3d-dots ── */
.grp-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.grp-arrow {
  position: relative;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(15, 23, 42, .08);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .1);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.grp-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform .3s cubic-bezier(.16, .84, .44, 1);
}

@media (hover: hover) and (pointer: fine) {
  .grp-arrow:hover {
    background: var(--accent);
    color: #FFF;
    border-color: var(--accent);
    box-shadow: 0 14px 32px rgba(255, 106, 31, .35);
    transform: scale(1.08);
  }

  .grp-arrow.prev:hover svg {
    transform: translateX(-2px);
  }

  .grp-arrow.next:hover svg {
    transform: translateX(2px);
  }
}

.grp-arrow:active {
  transform: scale(.95);
}

.grp-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.grp-dots {
  display: flex;
  align-items: center;
  gap: .55rem;
}

/* visible dot stays 8px (26px pill when active) — padding + content-box
   clipping grows only the invisible tap target to the ~32px minimum. */
.grp-dot {
  appearance: none;
  -webkit-appearance: none;
  padding: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: var(--border);
  background-clip: content-box;
  cursor: pointer;
  transition: width .35s cubic-bezier(.16, .84, .44, 1), background .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .grp-dot:hover {
    background: var(--accent-hot);
  }
}

.grp-dot.active {
  width: 50px;
  background: linear-gradient(90deg, var(--accent-hot), var(--accent));
}

.grp-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.grp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── magnetic glass-orange CTA (shares the Hero's magnetic technique) ── */
.grp-cta-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 3rem;
}

.grp-cta {
  position: relative;
  overflow: hidden;
}

.grp-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transform: scale(0);
  opacity: .6;
  pointer-events: none;
  animation: grpRippleAnim .6s ease-out forwards;
}

@keyframes grpRippleAnim {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.grp-cta-arrow {
  display: inline-block;
  transition: transform .35s cubic-bezier(.16, .84, .44, 1);
}

@media (hover: hover) and (pointer: fine) {
  .grp-cta:hover .grp-cta-arrow {
    transform: translateX(5px);
  }
}

/* ── unit-jump timeline: one stop per unit, jumps the carousel straight
   to that card and stays in sync with whichever card is centered ── */
.grp-timeline {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}

.grp-timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 4px;
}

.grp-timeline-track::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: 9px;
  height: 1px;
  background: var(--border);
}

.grp-tl-item {
  position: relative;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
}

.grp-tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  transition: border-color .3s ease, background .3s ease, transform .3s cubic-bezier(.16, .84, .44, 1), box-shadow .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .grp-tl-item:hover .grp-tl-dot {
    border-color: var(--accent-hot);
    transform: scale(1.15);
  }
}

.grp-tl-item.active .grp-tl-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 106, 31, .16);
  animation: grpTlPulse 2.2s ease-in-out infinite;
}

@keyframes grpTlPulse {

  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(255, 106, 31, .16);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(255, 106, 31, .05);
  }
}

.grp-tl-label {
  position: relative;
  padding-bottom: .35rem;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--ink-dim);
  transition: color .3s ease;
}

.grp-tl-item.active .grp-tl-label {
  color: var(--accent);
  font-weight: 800;
}

.grp-tl-label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .3s cubic-bezier(.16, .84, .44, 1);
}

@media (hover: hover) and (pointer: fine) {
  .grp-tl-item:hover .grp-tl-label::after {
    width: 18px;
  }
}

.grp-tl-item:focus-visible .grp-tl-label::after {
  width: 18px;
}

.grp-tl-item:focus-visible {
  outline: none;
}

.grp-tl-item:focus-visible .grp-tl-dot {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── responsive: 5 / 3 / 1 visible units — same breakpoints and slot
   sizing recipe as the Beyond Steel slider's tablet/mobile overrides ── */
@media (max-width: 1022px) and (min-width: 641px) {
  .grp-viewport {
    height: 480px;
  }

  .grp-slot {
    height: 420px;
    margin-top: -210px;
  }
}

@media (max-width: 640px) {
  .grp-viewport {
    height: 480px;
  }

  .grp-slot {
    height: 420px;
    margin-top: -210px;
  }

  /* narrower horizontal padding gives the controls row more room to
     work with before anything needs to shrink */
  .grp {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .grp-controls {
    gap: .6rem;
  }

  /* at 48px + 8 pagination dots, the control bar was wider than an
     18:9 phone screen — centered flex overflow pushed the prev/next
     arrows almost entirely past the left/right edges instead of
     wrapping. Shrink the arrows, shrink the dots, and give the dot
     row itself a scroll fallback so the arrows are never the ones
     that get pushed off-screen, no matter how many stops this
     showcase ends up with. */
  .grp-arrow {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .grp-arrow svg {
    width: 15px;
    height: 15px;
  }

  .grp-dots {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 2px;
  }

  .grp-dots::-webkit-scrollbar {
    display: none;
  }

  .grp-dot {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    padding: 9px;
  }

  .grp-dot.active {
    width: 40px;
  }

  .grp-timeline {
    margin-top: 2.2rem;
  }

  .grp-timeline-track {
    max-width: 100%;
    justify-content: flex-start;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 1.2rem .4rem;
    scrollbar-width: none;
  }

  .grp-timeline-track::-webkit-scrollbar {
    display: none;
  }

  .grp-tl-item {
    flex-shrink: 0;
  }

  .grp-tl-dot {
    width: 14px;
    height: 14px;
  }

  .grp-timeline-track::before {
    top: 7px;
    left: 10px;
    right: 10px;
  }

  .grp-tl-label {
    font-size: .64rem;
  }

  .grp-shape { display: none; }
  .grp-arrow { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}

@media (prefers-reduced-motion: reduce) {

  .grp-kicker-glow,
  .grp-hotspot::after,
  .grp-tl-item.active .grp-tl-dot {
    animation: none;
  }

  .grp-stage,
  .grp-card,
  .grp-image-wrap img {
    transition: none;
  }
}

/* ══ DARK MODE ══ */
html[data-theme="dark"] .grp-mesh {
  background:
    radial-gradient(ellipse 55% 45% at 82% 18%, rgba(255, 145, 40, .07), transparent 60%),
    radial-gradient(ellipse 55% 50% at 16% 20%, rgba(32, 36, 44, .55), transparent 60%),
    radial-gradient(ellipse 60% 55% at 50% 100%, rgba(18, 21, 26, .55), transparent 65%),
    linear-gradient(180deg, #12151A 0%, #161A20 100%);
}

html[data-theme="dark"] .grp-card {
  background: linear-gradient(165deg, #1B1F26 0%, #20242C 100%);
}

html[data-theme="dark"] .grp-name {
  color: var(--ink);
}

html[data-theme="dark"] .grp-chip {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .1);
}

html[data-theme="dark"] .grp-arrow {
  background: rgba(32, 36, 44, .75);
  border-color: rgba(255, 255, 255, .1);
}

html[data-theme="dark"] .grp-slot.is-active .grp-card {
  box-shadow: 0 44px 92px -20px rgba(0, 0, 0, .5), 0 0 44px rgba(255, 106, 31, .2);
}
