/* FPG light effects (v1.19, Trevor 2026-11-12: "the illumination effect of the reference I sent" = the Commercial
   Schedule Assistant). Copied from its CSS (read only): no pointer-following light, no glowing text.
   - Bevel: glass panels catch light in their corners and along the top/bottom inner edge (its .lg-bevel).
   - Hover: the primary button brightens a little with a stronger gloss (.btn-primary:hover); glass buttons turn a
     little more solid (.round-btn:hover / .btn-secondary:hover); tabs and list items get a soft fill (.step:hover).
   Shared by the public pages (site_base.html) and Team Members (team.html). */
:root { --fill: rgba(118, 118, 128, .12); --fill2: rgba(118, 118, 128, .20); --bevel-a: .10; --bevel-b: .06; }

/* --- bevel: light caught in the corners and along the top / bottom inner edge of every glass panel */
.glass, .tint, .live { position: relative; }
.glass::after, .tint::after, .live::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(60px 60px at 0 0, rgba(255,255,255,var(--bevel-a)), transparent 70%),
              radial-gradient(60px 60px at 100% 0, rgba(255,255,255,var(--bevel-a)), transparent 70%),
              radial-gradient(70px 70px at 0 100%, rgba(255,255,255,var(--bevel-b)), transparent 70%),
              radial-gradient(70px 70px at 100% 100%, rgba(255,255,255,var(--bevel-b)), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 10px 18px -12px rgba(255,255,255,.18),
              inset 0 -10px 18px -12px rgba(255,255,255,.10);
}
/* keep the content above the bevel layer */
.glass > *, .tint > *, .live > * { position: relative; z-index: 1; }
dialog.viewer.glass { position: fixed; }                      /* the catalog viewer keeps the browser's centring */

/* --- hover */
@media (hover: hover) {
  /* primary button: a little brighter, stronger gloss */
  .cta:hover, .arrow:hover, .go:hover { filter: brightness(1.06);
    background-image: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%); }
  /* glass buttons: a little more solid */
  .round:hover, .capsule:hover, .gbtn:hover { background-color: rgba(255,255,255,.72); filter: brightness(1.03); }
  /* tabs: a soft fill */
  nav.tabs a:not([aria-current="page"]):hover { background: var(--fill2); }
  /* glass cards: the material thickens */
  a.card:hover, a.ccard:hover, a.ftile:hover { background-color: rgba(255,255,255,.72); }
}

.cta, .arrow, .go, .round, .capsule, .gbtn, nav.tabs a, a.card, a.ccard, a.ftile { transition: transform .5s cubic-bezier(.3,1.32,.45,1), background .15s, filter .15s, box-shadow .15s; }

/* --- pills (v1.21, Trevor: "change the illumination and glow effect when someone hovers over a pill to be similar to
   the logo's shimmer, but just a brighter blue shimmering over the navy one time"). The current tab's text is navy
   (dark mode: light blue) with a faint glow; on hover, one band of brighter blue sweeps across the letters, left to
   right, like the logo (same 2.4 s easing curve, shortened to 1.1 s for small text). Needs <span class="t"> inside. */
:root { --pill-glow: rgba(31, 52, 135, .30); --shim-base: #1f3487; --shim-hi: #5b8cff; }

nav.tabs a[aria-current="page"] { color: var(--accent-text, #1f3487); text-shadow: 0 0 8px var(--pill-glow), 0 0 1px var(--pill-glow); }
.t { display: inline-block; }
@media (hover: hover) {
  nav.tabs a:hover .t, .capsule:hover .t {
    background-image: linear-gradient(100deg, var(--shim-base) 0%, var(--shim-base) 40%, var(--shim-hi) 50%, var(--shim-base) 60%, var(--shim-base) 100%);
    background-size: 300% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    text-shadow: none; animation: pill-shimmer 1.1s cubic-bezier(.42, 0, .58, 1) 1 both;
  }
  nav.tabs a:hover, .capsule:hover { text-shadow: none; }
}
@keyframes pill-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  nav.tabs a:hover .t, .capsule:hover .t { animation: none; background: none; -webkit-text-fill-color: var(--shim-base); color: var(--shim-base); }
}
nav.tabs a, .capsule { transition: transform .5s cubic-bezier(.3,1.32,.45,1), background .15s, filter .15s, box-shadow .15s, color .15s, text-shadow .2s; }
