/* ============================================================
   NAMO MOTION & POLISH LAYER  (namo-motion.css)
   Loaded globally after namo-theme.css. Adds the modern/animated
   treatment across every page WITHOUT rewriting page markup:
   scroll-reveal, count-up, glass cards, hover lift/glow, animated
   buttons, ambient aurora, and the futuristic PDF panel styling.
   Everything is theme-aware via the existing --n-* tokens plus a
   few motion-specific tokens defined here.
   ============================================================ */

/* -- Motion tokens (light default) --------------------------- */
:root {
  --m-accent: var(--n-red);
  --m-accent-glow: rgba(192, 57, 43, 0.35);
  --m-card-lift: 0 14px 40px rgba(0, 0, 0, 0.12);
  --m-ease: cubic-bezier(.2, .7, .3, 1);
  --m-aurora-op: 0.14;
  --m-glass-bg: rgba(255, 255, 255, 0.72);
  --m-glass-bdr: rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  --m-accent-glow: rgba(255, 120, 110, 0.4);
  --m-card-lift: 0 14px 44px rgba(0, 0, 0, 0.5);
  --m-aurora-op: 0.42;
  --m-glass-bg: rgba(20, 24, 34, 0.6);
  --m-glass-bdr: rgba(255, 255, 255, 0.08);
}

/* Respect reduced motion globally */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important
  }

  .reveal-up,
  .reveal-fade,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important
  }
}

/* -- Scroll reveal ------------------------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--m-ease), transform .7s var(--m-ease)
}

.reveal-fade {
  opacity: 0;
  transition: opacity .8s var(--m-ease)
}

.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .6s var(--m-ease), transform .6s var(--m-ease)
}

.reveal-up.in,
.reveal-fade.in,
.reveal-scale.in {
  opacity: 1;
  transform: none
}

/* stagger helper */
.reveal-up[data-delay="1"] {
  transition-delay: .08s
}

.reveal-up[data-delay="2"] {
  transition-delay: .16s
}

.reveal-up[data-delay="3"] {
  transition-delay: .24s
}

.reveal-up[data-delay="4"] {
  transition-delay: .32s
}

.reveal-up[data-delay="5"] {
  transition-delay: .4s
}

/* -- Ambient aurora (opt-in via .namo-aurora on a container) -- */
.namo-aurora {
  position: relative;
  overflow: hidden
}

.namo-aurora>.namo-aurora-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden
}

.namo-aurora>.namo-aurora-fx span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--m-aurora-op);
  animation: namo-drift 22s ease-in-out infinite
}

.namo-aurora>.namo-aurora-fx span:nth-child(1) {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--m-accent), transparent 70%);
  top: -160px;
  left: -120px
}

.namo-aurora>.namo-aurora-fx span:nth-child(2) {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #00b4d8, transparent 70%);
  top: 80px;
  right: -140px;
  animation-delay: -7s
}

.namo-aurora>.namo-aurora-fx span:nth-child(3) {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #3a0ca3, transparent 70%);
  bottom: -140px;
  left: 35%;
  animation-delay: -14s
}

.namo-aurora>*:not(.namo-aurora-fx) {
  position: relative;
  z-index: 1
}

@keyframes namo-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  33% {
    transform: translate(60px, -40px) scale(1.12)
  }

  66% {
    transform: translate(-40px, 50px) scale(.92)
  }
}

/* -- Hover-lift + glow for content cards --------------------- */
/* Opt-in: add class .namo-lift to any card/box */
.namo-lift {
  transition: transform .3s var(--m-ease), box-shadow .3s var(--m-ease), border-color .3s !important;
  will-change: transform
}

.namo-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--m-card-lift) !important
}

/* Cursor-follow glow (opt-in: .namo-glow wrapper). JS sets --gx/--gy */
.namo-glow {
  position: relative;
  overflow: hidden
}

.namo-glow::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--m-accent-glow), transparent 70%);
  top: var(--gy, 50%);
  left: var(--gx, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 0
}

.namo-glow:hover::after {
  opacity: 1
}

.namo-glow>* {
  position: relative;
  z-index: 1
}

/* -- Animated primary buttons (opt-in: .namo-btn) ------------ */
.namo-btn {
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--m-ease), box-shadow .2s var(--m-ease) !important
}

.namo-btn:hover {
  transform: translateY(-3px)
}

.namo-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s
}

.namo-btn:hover::before {
  transform: translateX(120%)
}

/* -- Top-edge sweep for stat/metric tiles (opt-in: .namo-tile) - */
.namo-tile {
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--m-ease), border-color .3s !important
}

.namo-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--m-accent), transparent);
  transform: translateX(-100%);
  transition: transform .6s
}

.namo-tile:hover {
  transform: translateY(-6px)
}

.namo-tile:hover::before {
  transform: translateX(100%)
}

/* -- "Coming soon" pill (for the app/booking placeholder) ---- */
.namo-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--m-accent) !important;
  background: transparent !important;
  color: var(--n-text-2) !important;
  cursor: default !important;
  position: relative
}

.namo-soon .namo-soon-badge {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--m-accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 6px
}

/* -- Global micro-polish that is SAFE to apply broadly ------- */
/* Smooth theme transitions on the big surfaces */
body,
.header-1,
.header-top-info-bar,
[class*="footer"],
.team-section-5 {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}

/* Nicer focus ring for keyboard users (accessibility floor) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--m-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Custom slim scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--n-border) transparent
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px
}

*::-webkit-scrollbar-thumb {
  background: var(--n-border);
  border-radius: 8px
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--n-text-3)
}

/* Images inside cards get a subtle zoom on hover (opt-in: .namo-zoom) */
.namo-zoom {
  overflow: hidden
}

.namo-zoom img {
  transition: transform .5s var(--m-ease)
}

.namo-zoom:hover img {
  transform: scale(1.06)
}

/* ============================================================
   INSTITUTE PAGE — bold redesign (theme-aware, responsive)
   Uses --acc (per-institute accent) set inline on the section.
   ============================================================ */

/* Hero */
.inst-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 110px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(1200px 500px at 50% -10%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 70%),
    var(--n-bg)
}

[data-theme="dark"] .inst-hero {
  background:
    radial-gradient(1200px 500px at 50% -10%, color-mix(in srgb, var(--acc) 26%, transparent), transparent 70%),
    var(--n-bg)
}

.inst-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .10;
  transition: opacity 1s;
  z-index: 0
}

[data-theme="dark"] .inst-hero-photo {
  opacity: .16
}

.inst-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center
}

.inst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  border: 1px solid var(--n-border);
  border-radius: 100px;
  background: var(--n-bg-card);
  font-size: clamp(.68rem, 2.4vw, .76rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 22px;
  opacity: 0;
  animation: rise .7s .1s forwards
}

.inst-eyebrow i {
  font-size: .9em
}

.inst-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: blink 1.8s infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .35
  }
}

.inst-h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  font-size: clamp(2rem, 6.5vw, 4.2rem);
  margin: 0 0 16px;
  color: var(--n-text);
  opacity: 0;
  animation: rise .8s .22s forwards
}

.inst-h1 .grad {
  background: linear-gradient(120deg, var(--n-text) 10%, var(--acc) 55%, color-mix(in srgb, var(--acc) 55%, #ffffff) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

[data-theme="dark"] .inst-h1 .grad {
  background: linear-gradient(120deg, #fff 15%, var(--acc) 55%, color-mix(in srgb, var(--acc) 40%, #ffffff) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.inst-sub {
  color: var(--n-text-2);
  font-size: clamp(.95rem, 2.4vw, 1.18rem);
  max-width: 640px;
  margin: 0 auto 30px;
  opacity: 0;
  animation: rise .8s .34s forwards
}

.inst-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise .8s .46s forwards
}

.inst-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px clamp(18px, 4vw, 26px);
  border-radius: 12px;
  font-weight: 700;
  font-size: clamp(.86rem, 2.4vw, .95rem);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer
}

.inst-btn-primary {
  background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 60%, #7fd0ff));
  color: #fff;
  box-shadow: 0 8px 26px color-mix(in srgb, var(--acc) 40%, transparent)
}

.inst-btn-ghost {
  background: var(--n-bg-card);
  border-color: var(--n-border);
  color: var(--n-text)
}

.inst-btn-ghost:hover {
  border-color: var(--acc)
}

@media(max-width:420px) {
  .inst-cta .inst-btn {
    width: 100%
  }
}

/* heartbeat */
.inst-pulse {
  max-width: 760px;
  margin: clamp(28px, 5vw, 44px) auto 0;
  height: clamp(42px, 8vw, 60px);
  opacity: 0;
  animation: rise 1s .6s forwards
}

.inst-pulse svg {
  width: 100%;
  height: 100%;
  overflow: visible
}

.inst-pulse-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: trace 3s 1s ease-out forwards
}

@keyframes trace {
  to {
    stroke-dashoffset: 0
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* institutes strip */
.inst-strip {
  background: var(--n-bg-muted);
  border-top: 1px solid var(--n-border);
  border-bottom: 1px solid var(--n-border);
  padding: 10px 0
}

.inst-strip-in {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.inst-strip-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--n-text-3);
  margin-right: 4px
}

.inst-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--n-bg-card);
  border: 1px solid var(--n-border);
  color: var(--n-text-2);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s
}

.inst-chip i {
  color: var(--c)
}

.inst-chip:hover {
  border-color: var(--c);
  color: var(--c);
  transform: translateY(-2px)
}

/* stats */
.inst-stats-wrap {
  background: var(--n-bg);
  padding: clamp(28px, 5vw, 44px) 0
}

.inst-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 16px)
}

@media(max-width:640px) {
  .inst-stats {
    grid-template-columns: repeat(2, 1fr)
  }
}

.inst-stat {
  background: var(--n-bg-card);
  border: 1px solid var(--n-border);
  border-radius: 16px;
  padding: clamp(18px, 4vw, 28px) clamp(12px, 3vw, 18px);
  text-align: center;
  box-shadow: var(--n-shadow)
}

.inst-stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1;
  color: var(--acc)
}

.inst-stat-lbl {
  font-size: clamp(.72rem, 2vw, .82rem);
  color: var(--n-text-2);
  margin-top: 8px
}

/* quick nav */
.inst-nav {
  background: var(--n-bg-card);
  border-bottom: 1px solid var(--n-border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--n-shadow)
}

.inst-nav-in {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none
}

.inst-nav-in::-webkit-scrollbar {
  display: none
}

.inst-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--n-text-2);
  font-weight: 700;
  font-size: .82rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .2s
}

.inst-nav-link i {
  font-size: 13px
}

.inst-nav-link:hover {
  color: var(--acc);
  border-bottom-color: var(--acc)
}

/* body + cards */
.inst-body {
  background: var(--n-bg-alt);
  padding: clamp(32px, 5vw, 56px) 0
}

.inst-card {
  background: var(--n-bg-card);
  border: 1px solid var(--n-border);
  border-radius: 16px;
  padding: clamp(20px, 3.5vw, 30px);
  box-shadow: var(--n-shadow)
}

.inst-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--n-border-2)
}

.inst-card-bar {
  width: 4px;
  height: 26px;
  border-radius: 2px;
  background: var(--acc)
}

.inst-card-head h2 {
  margin: 0;
  font-weight: 800;
  color: var(--n-text);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  display: flex;
  align-items: center
}

.inst-p {
  color: var(--n-text-2);
  line-height: 1.82;
  margin-bottom: 14px;
  font-size: clamp(.86rem, 1.8vw, .96rem)
}

.inst-p strong {
  color: var(--n-text)
}

/* photos */
.inst-photo {
  border-radius: 10px;
  overflow: hidden;
  position: relative
}

.inst-photo img {
  width: 100%;
  height: clamp(90px, 14vw, 130px);
  object-fit: cover;
  display: block
}

.inst-photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  padding: 12px 8px 4px
}

/* sidebar */
.inst-side-head {
  padding: 13px 20px;
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
  display: flex;
  align-items: center;
  gap: 8px
}

.inst-side-head.soft {
  border-bottom: 1px solid var(--n-border)
}

.inst-fact {
  padding: 11px 0
}

.inst-fact-l {
  font-size: .65rem;
  color: var(--n-text-3);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px
}

.inst-fact-v {
  font-weight: 600;
  color: var(--n-text);
  font-size: .85rem;
  margin-top: 2px
}

.inst-prog {
  list-style: none;
  padding: 8px 0;
  margin: 0
}

.inst-prog li {
  padding: 9px 20px;
  border-bottom: 1px solid var(--n-border-2);
  display: flex;
  gap: 9px;
  align-items: flex-start
}

.inst-prog li:last-child {
  border-bottom: none
}

.inst-prog li i {
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0
}

.inst-prog li span {
  font-weight: 600;
  color: var(--n-text);
  font-size: .85rem;
  display: block
}

.inst-prog li em {
  color: var(--n-text-3);
  font-size: .73rem;
  font-style: normal
}

.inst-contact {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--n-text-2);
  text-decoration: none;
  margin-bottom: 9px;
  font-size: .85rem
}

.inst-contact i {
  flex-shrink: 0
}

.inst-contact:hover {
  color: var(--acc)
}

/* coming soon card */
.inst-soon {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--n-bg-card);
  border: 1px dashed var(--acc);
  border-radius: 16px;
  padding: 16px 18px
}

.inst-soon>i {
  font-size: 1.5rem;
  color: var(--acc);
  flex-shrink: 0
}

.inst-soon strong {
  display: block;
  color: var(--n-text);
  font-size: .9rem
}

.inst-soon span {
  color: var(--n-text-3);
  font-size: .76rem
}

.inst-soon>div {
  flex: 1
}

.inst-soon-badge {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--acc);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0
}

/* ============================================================
   HOMEPAGE HERO — elevated with aurora + heartbeat + gradient
   ============================================================ */
.home-hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden
}

.home-hero-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .4;
  animation: namo-drift 20s ease-in-out infinite
}

.home-hero-aurora span:nth-child(1) {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #c0392b, transparent 70%);
  top: -120px;
  left: -80px
}

.home-hero-aurora span:nth-child(2) {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #0070c0, transparent 70%);
  bottom: -140px;
  right: -100px;
  animation-delay: -9s
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  padding: 6px 15px;
  margin-bottom: clamp(12px, 2vw, 18px);
  opacity: 0;
  animation: rise .7s .1s forwards
}

.home-hero-badge span:last-child {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(.68rem, 1.8vw, .78rem);
  font-weight: 600
}

.home-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  flex-shrink: 0;
  animation: blink 1.8s infinite
}

.home-hero-title {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: clamp(8px, 1.5vw, 14px);
  letter-spacing: -.01em;
  animation: heroFade .7s ease
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.home-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(.9rem, 2.4vw, 1.24rem);
  margin-bottom: clamp(18px, 3vw, 28px);
  line-height: 1.55;
  opacity: 0;
  animation: rise .8s .3s forwards
}

.home-hero-btn {
  padding: clamp(11px, 1.8vw, 14px) clamp(20px, 3.5vw, 30px);
  border-radius: 12px;
  font-weight: 700;
  font-size: clamp(.8rem, 2vw, .94rem);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid transparent
}

.home-hero-btn-primary {
  background: linear-gradient(135deg, #c0392b, #e05a4d);
  color: #fff;
  box-shadow: 0 8px 26px rgba(192, 57, 43, .5)
}

.home-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff
}

.home-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22)
}

.home-hero-pulse {
  max-width: 620px;
  margin-top: clamp(22px, 3vw, 34px);
  height: clamp(36px, 6vw, 50px);
  opacity: 0;
  animation: rise 1s .6s forwards
}

.home-hero-pulse svg {
  width: 100%;
  height: 100%;
  overflow: visible
}

.home-hero-pulse-line {
  fill: none;
  stroke: url(#home-pg);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: trace 3s 1s ease-out forwards;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .4))
}

/* -- Institute data tables (faculty / fee structure) --------- */
.inst-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  min-width: 520px
}

.inst-table thead th {
  text-align: left;
  padding: 9px 12px;
  background: var(--n-bg-alt);
  color: var(--n-text-3);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--n-border)
}

.inst-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--n-border-2);
  color: var(--n-text-2)
}

.inst-table tbody tr:hover td {
  background: var(--n-bg-alt)
}

.inst-table tbody tr:last-child td {
  border-bottom: none
}

/* ============================================================
   POLISH LAYER v2 — extends the tokens/utilities above with a
   few more opt-in pieces (skeleton loading, glass panels, ripple
   buttons, gradient rings, pulse badges) for consistent use on
   any newly-added CMS-driven section.
   ============================================================ */

/* -- Skeleton shimmer (opt-in: .namo-skeleton) — replaces bare
   spinners for card/grid loading states ----------------------- */
.namo-skeleton {
  position: relative;
  overflow: hidden;
  background: var(--n-bg-alt);
  border-radius: var(--n-radius-sm, 8px)
}

.namo-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--n-text) 6%, transparent), transparent);
  transform: translateX(-100%);
  animation: namo-shimmer 1.6s ease-in-out infinite
}

[data-theme="dark"] .namo-skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent)
}

@keyframes namo-shimmer {
  to {
    transform: translateX(100%)
  }
}

@media (prefers-reduced-motion: reduce) {
  .namo-skeleton::after {
    animation: none;
    display: none
  }
}

/* -- Glass panel (opt-in: .namo-glass) — frosted card, used for
   overlays/modals/floating chrome ---------------------------- */
.namo-glass {
  background: var(--m-glass-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--m-glass-bdr)
}

/* -- Ripple click feedback (opt-in: .namo-ripple, requires
   position:relative + overflow:hidden on the element; JS adds
   .is-rippling with --rx/--ry set to the click point) --------- */
.namo-ripple {
  position: relative;
  overflow: hidden
}

.namo-ripple::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%);
  opacity: 0;
  pointer-events: none
}

.namo-ripple.is-rippling::after {
  animation: namo-ripple .55s var(--m-ease)
}

@keyframes namo-ripple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: .9
  }

  100% {
    transform: translate(-50%, -50%) scale(22);
    opacity: 0
  }
}

/* -- Gradient avatar ring (opt-in: .namo-ring) — for leader/doctor
   photos, ties into the accent token -------------------------- */
.namo-ring {
  position: relative;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--m-accent), color-mix(in srgb, var(--m-accent) 40%, #7fd0ff))
}

.namo-ring>img,
.namo-ring>div {
  display: block;
  border-radius: 50%;
  border: 2px solid var(--n-bg-card)
}

/* -- Pulse badge dot (opt-in: .namo-pulse-dot) — live/active status -- */
.namo-pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0
}

.namo-pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  opacity: .6;
  animation: namo-pulse-ring 1.8s ease-out infinite
}

@keyframes namo-pulse-ring {
  0% {
    transform: scale(.6);
    opacity: .7
  }

  100% {
    transform: scale(1.8);
    opacity: 0
  }
}

/* -- Empty-state icon float (opt-in: .namo-float) -------------- */
.namo-float {
  animation: namo-float 3.2s ease-in-out infinite
}

@keyframes namo-float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

/* -- Fade-in image (opt-in: .namo-img-fade, pairs with onLoad
   toggling .is-loaded from a component) ----------------------- */
.namo-img-fade {
  opacity: 0;
  transition: opacity .5s var(--m-ease)
}

.namo-img-fade.is-loaded {
  opacity: 1
}

/* -- Appear-on-mount (opt-in: .namo-appear) — a pure-CSS fade+rise
   that plays automatically the instant the element is painted, no
   IntersectionObserver/JS involved. Use this (instead of .reveal-up)
   for content that only exists in the DOM after an async fetch
   resolves — .reveal-up relies on MotionRuntime spotting the new
   node and toggling .in, which is one more moving part than content
   that's already meant to be visible on arrival needs. ----------- */
.namo-appear {
  opacity: 0;
  animation: rise .55s var(--m-ease) forwards
}

.namo-appear[data-delay="1"] {
  animation-delay: .08s
}

.namo-appear[data-delay="2"] {
  animation-delay: .16s
}

@media (prefers-reduced-motion: reduce) {
  .namo-appear {
    opacity: 1 !important;
    animation: none !important
  }
}

/* -- Fullscreen coverflow lightbox (PhotoLightbox.js) — Swiper's
   effect-coverflow handles the 3D scale/depth transform per slide;
   this just sizes the cards and fades/blurs whichever ones aren't
   centred. -------------------------------------------------------- */
.namo-lightbox-swiper {
  width: 100%;
  padding: 12px 0 46px
}

.namo-lightbox-swiper .swiper-slide {
  width: auto;
  max-width: min(90vw, 900px);
  height: clamp(320px, 70vh, 720px);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #0a0d16;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s, filter .4s
}

.namo-lightbox-swiper .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block
}

.namo-lightbox-swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: .55;
  filter: blur(2px)
}

.namo-lightbox-cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(6, 10, 20, .85) 0%, transparent 55%);
  pointer-events: none
}

.namo-lightbox-cap-title {
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.3
}

.namo-lightbox-cap-sub {
  color: rgba(255, 255, 255, .75);
  font-size: .74rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px
}

.namo-lightbox-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, .5);
  opacity: 1
}

.namo-lightbox-swiper .swiper-pagination-bullet-active {
  background: #fff
}

.namo-lightbox-swiper .swiper-button-next,
.namo-lightbox-swiper .swiper-button-prev {
  color: #fff;
  --swiper-navigation-size: 15px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: background .2s ease, transform .2s ease, border-color .2s ease
}

.namo-lightbox-swiper .swiper-button-next:hover,
.namo-lightbox-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .32);
  transform: scale(1.07)
}

.namo-lightbox-swiper .swiper-button-next:after,
.namo-lightbox-swiper .swiper-button-prev:after {
  font-weight: 700
}

@media(max-width:480px) {

  .namo-lightbox-swiper .swiper-button-next,
  .namo-lightbox-swiper .swiper-button-prev {
    display: none
  }
}