/* ==========================================================================
   "YOU ARE HERE" — the left menu shows the current page unmistakably (loaded last).
   • Services / Explore plates: the current plate becomes a lit COPPER INLAY inside its steel frame, with a white
     label + white icon (same language as the UPLOAD button — copper is the site's accent, so it reads as "active").
   • HOME (black plate) on the home page: copper glow around the plate + copper label + copper inner light.
   • ALL SERVICES / first plates keep their chamfers and rivets (the inlay sits under the rivets).
   Hover / pressed on the current plate only brighten / darken the copper a little.
   ========================================================================== */

/* ---- services + explore plates ---- */
.plate.is-current::after, .plate.is-current:hover::after, .plate.is-current:active::after {
  inset: 1px 1px 1px 2px; z-index: 0; border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255,240,220,.30) 0, rgba(255,240,220,.10) 36%, rgba(255,240,220,0) 40%, rgba(0,0,0,0) 68%, rgba(0,0,0,.14) 100%),
    var(--blotch) 0 var(--po) / 420px 420px,
    linear-gradient(90deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,0) 65%),
    linear-gradient(180deg, #d19257 0%, #c5834a 30%, #b5733a 62%, #a1622f 100%);
  background-blend-mode: normal, multiply, normal, normal;
  box-shadow:
    inset 0 1px 0 rgba(255,235,210,.55), inset 0 -1px 0 rgba(60,30,10,.55),
    inset -1px 0 0 rgba(255,235,210,.35), inset 1px 0 0 rgba(60,30,10,.35),
    0 0 0 1px rgba(90,50,20,.45);                       /* dark seam between the copper inlay and the steel frame */
  transition: none;
}
.plate.is-current:hover::after  { filter: brightness(1.06); }
.plate.is-current:active::after { filter: brightness(.94); box-shadow: inset 0 2px 4px rgba(60,30,10,.55), inset 0 -1px 0 rgba(255,235,210,.25), 0 0 0 1px rgba(90,50,20,.45); }
.plate.is-current::before { z-index: 1; }               /* corner rivets stay on top of the inlay */
.plate.is-current span, .plate.is-current > img, .plate.is-current > .ic-v { z-index: 1; }
.plate.is-current span { color: #fff7ea; text-shadow: 0 1px 0 rgba(70,35,10,.6), 0 0 6px rgba(70,35,10,.25); }
.plate.is-current > img { filter: brightness(0) invert(1) drop-shadow(0 1px 0 rgba(70,35,10,.45)); opacity: .96; }

/* explore plates: thinner steel rim */
.explore .plate.is-current::after, .explore .plate.is-current:hover::after, .explore .plate.is-current:active::after { inset: 1px; }

/* first services plate: keep the lit chamfer lines on the copper */
.services .plate:first-child.is-current::after, .services .plate:first-child.is-current:hover::after, .services .plate:first-child.is-current:active::after {
  background:
    linear-gradient(135deg, rgba(255,240,220,0) 6.2px, rgba(255,240,220,.60) 6.2px, rgba(255,240,220,.60) 7.6px, rgba(255,240,220,0) 7.6px) 0 0 / 14px 14px no-repeat,
    linear-gradient(225deg, rgba(255,240,220,0) 5px, rgba(255,240,220,.60) 5px, rgba(255,240,220,.60) 6.4px, rgba(255,240,220,0) 6.4px) 100% 0 / 12px 12px no-repeat,
    linear-gradient(180deg, rgba(255,240,220,.30) 0, rgba(255,240,220,.10) 36%, rgba(255,240,220,0) 40%, rgba(0,0,0,0) 68%, rgba(0,0,0,.14) 100%),
    var(--blotch) 0 var(--po) / 420px 420px,
    linear-gradient(90deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,0) 65%),
    linear-gradient(180deg, #d19257 0%, #c5834a 30%, #b5733a 62%, #a1622f 100%);
  background-blend-mode: normal, normal, normal, multiply, normal, normal;
}
/* ALL SERVICES: its left rivet + bottom-left chamfer line ride on top of the copper */
.plate-all.is-current::after, .plate-all.is-current:hover::after, .plate-all.is-current:active::after {
  background:
    radial-gradient(circle at 7.5px 4.5px, #fff6ea 0 1px, rgba(255,255,255,0) 2px) 1px 25px / 12px 12px no-repeat,
    radial-gradient(circle at 6px 6px, #2a2823 0 2.6px, #3a3731 3.6px, #56524a 4.3px, rgba(0,0,0,0) 4.9px) 1px 25px / 12px 12px no-repeat,
    radial-gradient(circle at 5px 7px, rgba(255,255,255,0) 4.2px, rgba(255,240,220,.65) 4.6px, rgba(255,240,220,.65) 5.6px, rgba(255,255,255,0) 6.2px) 1px 25px / 12px 12px no-repeat,
    linear-gradient(45deg, rgba(255,240,220,0) 4.4px, rgba(255,240,220,.5) 4.4px, rgba(255,240,220,.5) 5.8px, rgba(255,240,220,0) 5.8px) 0 100% / 12px 12px no-repeat,
    linear-gradient(180deg, rgba(255,240,220,.30) 0, rgba(255,240,220,.10) 36%, rgba(255,240,220,0) 40%, rgba(0,0,0,0) 68%, rgba(0,0,0,.14) 100%),
    var(--blotch) 0 var(--po) / 420px 420px,
    linear-gradient(90deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,0) 65%),
    linear-gradient(180deg, #d19257 0%, #c5834a 30%, #b5733a 62%, #a1622f 100%);
  background-blend-mode: normal, normal, normal, normal, normal, multiply, normal, normal;
}
.plate-all.is-current .plus { filter: brightness(0) invert(1) drop-shadow(0 1px 0 rgba(70,35,10,.45)); z-index: 1; }

/* ---- HOME on the home page: lit copper ---- */
.plate-dark.home.is-current, .tex .plate-dark.home.is-current {
  filter: drop-shadow(0 0 2.5px rgba(242,164,86,.95)) drop-shadow(0 0 9px rgba(242,150,70,.50)) !important;
}
.plate-dark.home.is-current::before { box-shadow: inset 0 0 20px rgba(242,160,80,.22), inset 0 0 0 1px rgba(242,164,86,.35); }
.plate-dark.home.is-current:active::before { box-shadow: inset 0 2px 4px rgba(0,0,0,.6), inset 0 0 20px rgba(242,160,80,.22), inset 0 0 0 1px rgba(242,164,86,.35); }
.plate-dark.home.is-current span { color: #f6c893; text-shadow: 0 0 8px rgba(242,160,80,.65), 0 1px 0 rgba(0,0,0,.75); }

/* keyboard focus on the current plate stays visible on copper */
.plate.is-current:focus-visible { outline-color: #fff2dc; box-shadow: 0 0 0 4px rgba(255,220,180,.35); }
