/* Extracted from style.css — page-specific rules for tm */



/* ----------------------------------------------------------
   CEO HERO BANNER
   ---------------------------------------------------------- */
.tm-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(122, 204, 13, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #09102e 0%, #0b1436 60%, #0d1a4a 100%);
  color: #fff;
  isolation: isolate;
}


.tm-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}


.tm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  animation: tm-orb-float 18s ease-in-out infinite;
}


.tm-orb-a {
  width: 420px; height: 420px;
  background: #7ACC0D;
  top: -150px; left: -120px;
  opacity: 0.25;
}


.tm-orb-b {
  width: 360px; height: 360px;
  background: #3b82f6;
  bottom: -140px; right: -100px;
  opacity: 0.2;
  animation-delay: -6s;
}


.tm-orb-c {
  width: 260px; height: 260px;
  background: #7ACC0D;
  top: 40%; right: 30%;
  opacity: 0.15;
  animation-delay: -12s;
}


.tm-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 204, 13, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 204, 13, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
}


.tm-star {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #fff, 0 0 12px rgba(122, 204, 13, 0.5);
  animation: tm-twinkle 3s ease-in-out infinite;
}


.tm-star-1 { top: 12%; left: 8%; animation-delay: 0s; }


.tm-star-2 { top: 22%; left: 38%; width: 2px; height: 2px; animation-delay: -0.5s; }


.tm-star-3 { top: 18%; right: 18%; animation-delay: -1.2s; }


.tm-star-4 { bottom: 30%; left: 18%; width: 2px; height: 2px; animation-delay: -1.8s; }


.tm-star-5 { top: 65%; left: 48%; animation-delay: -0.8s; }


.tm-star-6 { bottom: 22%; right: 8%; width: 4px; height: 4px; animation-delay: -2.4s; }



.tm-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}



/* LEFT content */
.tm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(122, 204, 13, 0.12);
  border: 1px solid rgba(122, 204, 13, 0.35);
  color: #7ACC0D;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  margin-bottom: 22px;
}


.tm-eye-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7ACC0D;
  box-shadow: 0 0 0 4px rgba(122, 204, 13, 0.25);
  animation: tm-pulse 1.8s ease-in-out infinite;
}



.tm-hero-name {
  font-family: 'Publico Banner', 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(40px, 5.8vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.32px;
  color: #fff;
  margin: 0 0 14px;
}


.tm-script {
  display: block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 7.2px;
  color: #7ACC0D;
  letter-spacing: 0;
  margin-bottom: -4px;
  transform: rotate(-2deg);
  transform-origin: left center;
}



.tm-hero-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
}


.tm-hero-role i { color: #7ACC0D; }


.tm-hero-role strong { color: #fff; font-weight: 600; }



.tm-hero-bio {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 32px;
  max-width: 560px;
}


.tm-hero-bio em {
  color: #7ACC0D;
  font-style: italic;
}


.tm-hero-bio strong { color: #fff; }



.tm-hero-stats {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.tm-stat {
  flex: 1;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}


.tm-stat:first-child { padding-left: 0; }


.tm-stat:last-child { border-right: none; }


.tm-stat-num {
  display: block;
  font-family: 'Publico Banner', 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1;
  color: #7ACC0D;
  margin-bottom: 6px;
}


.tm-stat-num small { font-size: 8.8px; }


.tm-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
  font-weight: 500;
}



.tm-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}


.tm-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}


.tm-hero-btn-primary {
  background: #7ACC0D;
  color: #09102e;
  box-shadow: 0 14px 34px -10px rgba(122, 204, 13, 0.5);
}


.tm-hero-btn-primary:hover {
  background: #8ee012;
  color: #09102e;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(122, 204, 13, 0.65);
}


.tm-hero-btn-primary i { transition: transform 0.25s ease; }


.tm-hero-btn-primary:hover i { transform: translateX(4px); }



.tm-hero-socials {
  display: flex;
  gap: 10px;
}


.tm-hero-socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}


.tm-hero-socials a:hover {
  background: #7ACC0D;
  color: #09102e;
  border-color: #7ACC0D;
  transform: translateY(-2px);
}



/* RIGHT — CEO cutout with floating badges */
.tm-hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 620px;
}


.tm-ceo-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 40px;
  padding-bottom: 70px;
}


.tm-ceo-glow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(122, 204, 13, 0.4) 0%, rgba(122, 204, 13, 0.15) 40%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  animation: tm-glow-pulse 5s ease-in-out infinite;
}


.tm-ceo-ring {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 90%);
  aspect-ratio: 1;
  border: 2px dashed rgba(122, 204, 13, 0.3);
  border-radius: 50%;
  animation: tm-rotate 40s linear infinite;
  z-index: 0;
}


.tm-ceo-ring::before {
  content: '';
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7ACC0D;
  box-shadow: 0 0 12px #7ACC0D;
}


.tm-ceo-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 580px;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
  animation: tm-ceo-float 6s ease-in-out infinite;
}



/* Floating badges */
.tm-float {
  position: absolute;
  z-index: 3;
  background: linear-gradient(135deg, rgba(9, 16, 46, 0.96) 0%, rgba(11, 20, 54, 0.96) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(122, 204, 13, 0.4);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  animation: tm-float-anim 5s ease-in-out infinite;
  box-shadow:
    0 20px 40px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}


.tm-float-1 { top: 12%; left: -10%; animation-delay: 0s; }


.tm-float-2 { top: 48%; right: -12%; animation-delay: -1.5s; }


.tm-float-3 {
  bottom: 14%;
  left: -14%;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  animation-delay: -3s;
}


.tm-float-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7ACC0D, #5aa00a);
  color: #09102e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}


.tm-float-icon-alt {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
}


.tm-float strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}


.tm-float > div > span,
.tm-float > span.tm-float-review {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}


.tm-float-stars {
  color: #ffc107;
  font-size: 12px;
  letter-spacing: 2px;
}


.tm-float-review {
  font-family: 'Publico Banner', 'Fraunces', serif;
  font-style: italic;
  font-size: 13px !important;
  line-height: 1.4;
  color: #fff !important;
}



/* Name plate */
.tm-nameplate {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(9, 16, 46, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(122, 204, 13, 0.35);
  text-align: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
}


.tm-nameplate-name {
  display: block;
  font-family: 'Publico Banner', 'Fraunces', serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}


.tm-nameplate-role {
  display: block;
  font-size: 11px;
  color: #7ACC0D;
  font-weight: 600;
  letter-spacing: 1.28px;
  text-transform: uppercase;
}



/* ----------------------------------------------------------
   TEAM GRID SECTION
   ---------------------------------------------------------- */
.tm-grid-section {
  padding: var(--sec-py-lg) 0;
  background: #f7f8fb;
  position: relative;
}


.tm-grid-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}


.tm-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(122, 204, 13, 0.12);
  color: #7ACC0D;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}


.tm-section-title {
  font-family: 'Publico Banner', 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.32px;
  color: #09102e;
  margin: 0 0 16px;
}


.tm-section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: #4a5070;
  margin: 0;
}



.tm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}


.tm-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(9, 16, 46, 0.06);
  box-shadow: 0 1px 0 rgba(9, 16, 46, 0.03);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
}


.tm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -20px rgba(9, 16, 46, 0.25);
}


.tm-card-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(180deg, #e4e8f1 0%, #eef1f7 100%);
  isolation: isolate;
}


.tm-card-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(122, 204, 13, 0.14) 100%);
  z-index: 0;
  transition: background 0.4s ease;
}


.tm-card:hover .tm-card-shape {
  background: linear-gradient(180deg, transparent 0%, rgba(122, 204, 13, 0.25) 100%);
}


.tm-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}


.tm-card:hover .tm-card-media img { transform: scale(1.04); }



.tm-card-overlay {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}


.tm-card:hover .tm-card-overlay {
  opacity: 1;
  transform: translateY(0);
}


.tm-card-overlay a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #09102e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(9, 16, 46, 0.4);
  transition: all 0.2s ease;
}


.tm-card-overlay a:hover {
  background: #7ACC0D;
  color: #09102e;
  transform: translateY(-2px);
}



.tm-card-body {
  padding: 20px 22px 24px;
  text-align: center;
}


.tm-card-role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #7ACC0D;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  margin-bottom: 6px;
}


.tm-card-role i { font-size: 12px; }


.tm-card-name {
  font-family: 'Publico Banner', 'Fraunces', serif;
  font-weight: 700;
  font-size: 21px;
  color: #09102e;
  letter-spacing: -0.16px;
  margin: 0 0 6px;
}


.tm-card-line {
  font-size: 13px;
  color: #6b7186;
  line-height: 1.5;
  margin: 0;
}



/* ----------------------------------------------------------
   STANDOUT GROUP PHOTO SECTION
   ---------------------------------------------------------- */
.tm-standout {
  position: relative;
  overflow: hidden;
  padding: var(--sec-py-lg) 0;
  background:
    radial-gradient(ellipse 120% 80% at 80% 30%, rgba(122, 204, 13, 0.18) 0%, transparent 55%),
    linear-gradient(160deg, #09102e 0%, #0b1436 50%, #0f1e52 100%);
  color: #fff;
  isolation: isolate;
}


.tm-standout-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }


.tm-standout-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}


.tm-standout-orb-a {
  width: 500px; height: 500px;
  top: -180px; left: -120px;
  background: #7ACC0D;
  opacity: 0.15;
  animation: tm-orb-float 22s ease-in-out infinite;
}


.tm-standout-orb-b {
  width: 420px; height: 420px;
  bottom: -160px; right: -80px;
  background: #3b82f6;
  opacity: 0.12;
  animation: tm-orb-float 26s ease-in-out infinite reverse;
}


.tm-standout-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 204, 13, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 204, 13, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
}



.tm-standout-grid-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}



/* LEFT — text */
.tm-script-big {
  display: block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  color: #7ACC0D;
  margin-bottom: 14px;
  transform: rotate(-1deg);
  transform-origin: left center;
}


.tm-standout-title {
  font-family: 'Publico Banner', 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.32px;
  color: #fff;
  margin: 0 0 20px;
}


.tm-standout-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 36px;
  max-width: 520px;
}


.tm-standout-sub strong { color: #fff; }



.tm-standout-stats {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 0;
  margin-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.tm-ss { display: flex; flex-direction: column; }


.tm-ss-num {
  font-family: 'Publico Banner', 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1;
  color: #7ACC0D;
  margin-bottom: 4px;
}


.tm-ss-num small { font-size: 9.6px; }


.tm-ss-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.64px;
}


.tm-ss-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}



.tm-standout-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}


.tm-standout-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #7ACC0D;
  color: #09102e;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 14px 34px -10px rgba(122, 204, 13, 0.5);
}


.tm-standout-btn:hover {
  background: #8ee012;
  color: #09102e;
  transform: translateY(-2px);
}


.tm-standout-btn i { transition: transform 0.25s ease; }


.tm-standout-btn:hover i { transform: translateX(4px); }



.tm-standout-hiring {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.2s ease;
}


.tm-standout-hiring:hover { color: #7ACC0D; }


.tm-standout-hiring strong { color: #fff; font-weight: 700; }


.tm-standout-hiring:hover strong { color: #7ACC0D; }


.tm-hiring-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #7ACC0D;
  box-shadow: 0 0 0 4px rgba(122, 204, 13, 0.3);
  animation: tm-pulse 1.6s ease-in-out infinite;
}


.tm-standout-hiring i {
  font-size: 12px;
  transition: transform 0.2s ease;
}


.tm-standout-hiring:hover i { transform: translate(2px, -2px); }



/* RIGHT — group photo */
.tm-standout-right {
  position: relative;
  display: flex;
  justify-content: center;
}


.tm-standout-photo {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16/10;
  border-radius: 26px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}


.tm-photo-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(122, 204, 13, 0.4) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: tm-glow-pulse 5s ease-in-out infinite;
}


.tm-photo-ring {
  position: absolute;
  inset: -24px;
  border: 2px dashed rgba(122, 204, 13, 0.25);
  border-radius: 32px;
  animation: tm-rotate-slow 30s linear infinite;
}


.tm-standout-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}



/* Corner badges on photo */
.tm-photo-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(9, 16, 46, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(122, 204, 13, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5);
}


.tm-photo-badge i { color: #7ACC0D; font-size: 16px; }


.tm-photo-badge-tl {
  top: -18px; left: -18px;
  animation: tm-float-anim 4s ease-in-out infinite;
}


.tm-photo-badge-br {
  bottom: -18px; right: -18px;
  animation: tm-float-anim 4s ease-in-out infinite;
  animation-delay: -2s;
}


.tm-photo-avatars {
  display: inline-flex;
  align-items: center;
}


.tm-photo-avatars span {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid #09102e;
  margin-left: -8px;
  background: linear-gradient(135deg, #7ACC0D, #5aa00a);
}


.tm-photo-avatars span:nth-child(1) { background: linear-gradient(135deg, #ec4899, #be185d); margin-left: 0; }


.tm-photo-avatars span:nth-child(2) { background: linear-gradient(135deg, #3b82f6, #2563eb); }


.tm-photo-avatars span:nth-child(3) { background: linear-gradient(135deg, #f59e0b, #d97706); }



@media (max-width: 991px) {

  .tm-hero { padding: 70px 0 80px; }

  .tm-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tm-hero-left { text-align: center; }

  .tm-hero-eyebrow, .tm-hero-role, .tm-hero-bio { margin-left: auto; margin-right: auto; }

  .tm-hero-role { padding-bottom: 16px; }

  .tm-hero-stats { max-width: 560px; margin-left: auto; margin-right: auto; }

  .tm-hero-cta-row { justify-content: center; }

  .tm-hero-right { min-height: 500px; }

  .tm-float-1 { left: 4%; top: 5%; }

  .tm-float-2 { right: 4%; top: 40%; }

  .tm-float-3 { left: 4%; bottom: 18%; }


  .tm-grid-section { padding: var(--sec-py-md) 0; }

  .tm-grid { grid-template-columns: repeat(2, 1fr); }


  .tm-standout { padding: var(--sec-py-lg) 0; }

  .tm-standout-grid-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .tm-standout-sub { margin-left: auto; margin-right: auto; }

  .tm-standout-stats { justify-content: center; flex-wrap: wrap; }

  .tm-standout-cta { justify-content: center; }

  .tm-standout-photo { max-width: 520px; margin: 0 auto; }
}



@media (max-width: 767px) {

  .tm-hero { padding: 50px 0 60px; }

  .tm-hero-name { font-size: clamp(34px, 9vw, 50px); }

  .tm-hero-stats { flex-direction: column; gap: 20px; padding: 18px 0; }

  .tm-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
  }

  .tm-stat:last-child { border-bottom: none; }

  .tm-hero-right { min-height: 420px; }

  .tm-ceo-img { max-height: 440px; }

  .tm-float { padding: 9px 13px; border-radius: 12px; }

  .tm-float-icon { width: 32px; height: 32px; font-size: 14px; }

  .tm-float strong { font-size: 11px; }

  .tm-float > div > span, .tm-float > span.tm-float-review { font-size: 9px; }

  .tm-float-1 { left: 2%; top: 3%; }

  .tm-float-2 { right: 2%; top: 42%; }

  .tm-float-3 { display: none; }


  .tm-grid { grid-template-columns: 1fr; gap: 18px; }

  .tm-card-body { padding: 16px 18px 20px; }

  .tm-card-name { font-size: 19px; }


  .tm-standout-stats {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }

  .tm-ss-sep { display: none; }

  .tm-standout-cta { flex-direction: column; align-items: stretch; gap: 14px; }

  .tm-standout-btn { justify-content: center; }

  .tm-standout-hiring { justify-content: center; }


  .tm-photo-badge { font-size: 11px; padding: 8px 13px; }

  .tm-photo-badge i { font-size: 14px; }
}



@media (max-width: 575px) {

  .tm-hero-name { font-size: clamp(28px, 9vw, 40px); }

  .tm-script { font-size: 8.8px; }

  .tm-stat-num { font-size: 28px; }


  .tm-photo-badge-tl { top: -10px; left: -10px; }

  .tm-photo-badge-br { bottom: -10px; right: -10px; }

  .tm-standout-photo { padding: 12px; border-radius: 20px; }
}



@media (prefers-reduced-motion: reduce) {

  .tm-orb, .tm-orb-a, .tm-orb-b, .tm-orb-c,
  .tm-star, .tm-ceo-glow, .tm-ceo-ring,
  .tm-ceo-img, .tm-float, .tm-eye-dot,
  .tm-photo-glow, .tm-photo-ring,
  .tm-photo-badge-tl, .tm-photo-badge-br,
  .tm-standout-orb-a, .tm-standout-orb-b,
  .tm-hiring-pulse, .tm-gallery-orb {
    animation: none !important;
  }
}



/* ==========================================================
   TEAM PAGE — GALLERY SHOWCASE (office life / trust builder)
   ========================================================== */
.tm-gallery {
  position: relative;
  overflow: hidden;
  padding: var(--sec-py-lg) 0;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef1f7 100%);
}


.tm-gallery-accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}


.tm-gallery-orb {
  position: absolute;
  top: -150px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 204, 13, 0.18) 0%, transparent 60%);
  filter: blur(50px);
  animation: tm-orb-float 24s ease-in-out infinite;
}


.tm-gallery > .container { position: relative; z-index: 1; }



.tm-gallery-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}



/* ----- asymmetric grid ----- */
.tm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}


.tm-gal-big {
  grid-column: span 2;
  grid-row: span 2;
}


.tm-gal-wide {
  grid-column: span 2;
}



.tm-gal-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  cursor: zoom-in;
  background: #09102e;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(9, 16, 46, 0.06);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s ease;
}


.tm-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}


.tm-gal-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -22px rgba(9, 16, 46, 0.35);
}


.tm-gal-item:hover img {
  transform: scale(1.08);
}



@media (max-width: 767px) {

  .tm-gallery { padding: var(--sec-py-sm) 0; }

  .tm-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
  }

  .tm-gal-big { grid-column: span 2; grid-row: span 2; }

  .tm-gal-wide { grid-column: span 2; }

  /* Always-visible caption on mobile for all items */
  .tm-gal-item figcaption {
    transform: translateY(0);
    background: linear-gradient(180deg, transparent 0%, rgba(9, 16, 46, 0.85) 100%);
    padding: 14px 14px 12px;
  }

  .tm-gal-item figcaption strong { font-size: 12px; }

  .tm-gal-item figcaption span { font-size: 10px; }

  .tm-gal-cap-icon { width: 30px; height: 30px; font-size: 14px; }

  .tm-gal-item::after { display: none; }

  .tm-gal-tag { top: 10px; left: 10px; padding: 5px 11px; font-size: 10px; }
}



@media (max-width: 575px) {

  .tm-gallery-grid { grid-auto-rows: 160px; }
}

/* ============================================================
   TEAM MEMBER — SINGLE PAGE
   Navy hero with floating orbs + portrait + meta on the right.
   Below: long-form bio (2/3) + expertise card (1/3) + prev/next.
   ============================================================ */
.team-single .tm-single-hero {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(165deg, #06091c 0%, #0a143a 60%, #06091c 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.tm-single-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.tm-single-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.tm-single-orb-a {
  width: 460px; height: 460px;
  top: -140px; right: -100px;
  background: radial-gradient(circle, rgba(122, 204, 13, 0.45), transparent 65%);
  opacity: 0.55;
}
.tm-single-orb-b {
  width: 380px; height: 380px;
  bottom: -140px; left: -80px;
  background: radial-gradient(circle, rgba(91, 109, 255, 0.32), transparent 70%);
  opacity: 0.55;
}
.tm-single-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
}
.tm-single-hero > .container { position: relative; z-index: 1; }

.tm-single-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}
.tm-single-crumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.tm-single-crumb a:hover { color: #c5f07a; }
.tm-single-crumb .sep { color: rgba(255, 255, 255, 0.3); }
.tm-single-crumb span { color: rgba(255, 255, 255, 0.7); }

.tm-single-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  align-items: center;
}
.tm-single-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #0a143a 0%, #1a2657 100%);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(122, 204, 13, 0.25);
}
.tm-single-photo .tm-single-img,
.tm-single-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tm-single-photo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(420px 320px at 100% 0%, rgba(122, 204, 13, 0.25), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.tm-single-meta { min-width: 0; }
.tm-single-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(122, 204, 13, 0.16);
  border: 1px solid rgba(122, 204, 13, 0.4);
  color: #c5f07a;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.tm-single-name {
  font-family: 'Fraunces', 'Publico Banner', serif;
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 12px;
}
.tm-single-role {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #c5f07a;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.tm-single-short {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
  max-width: 600px;
}
.tm-single-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.tm-single-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tm-single-socials a:hover {
  transform: translateY(-2px);
  background: #7ACC0D;
  color: #09102e;
  border-color: #7ACC0D;
}
.tm-single-cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tm-single-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, gap 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.tm-single-btn-primary {
  background: linear-gradient(135deg, #7ACC0D 0%, #5fa908 100%);
  color: #09102e !important;
  border-color: #7ACC0D;
  box-shadow: 0 12px 28px rgba(122, 204, 13, 0.34);
}
.tm-single-btn-primary:hover {
  transform: translateY(-2px);
  gap: 14px;
  box-shadow: 0 18px 36px rgba(122, 204, 13, 0.5);
}
.tm-single-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22);
}
.tm-single-btn-ghost:hover {
  border-color: #c5f07a;
  background: rgba(122, 204, 13, 0.08);
}

.team-single .tm-single-bio {
  padding: 70px 0 90px;
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(122, 204, 13, 0.06), transparent 60%),
    #fff;
}
.tm-single-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.tm-single-section-title {
  font-family: 'Fraunces', serif !important;
  font-weight: 800 !important;
  font-size: clamp(26px, 2.8vw, 36px) !important;
  letter-spacing: -0.015em !important;
  color: #09102e !important;
  margin: 0 0 18px !important;
}
.tm-single-body p { font-size: 16px; line-height: 1.75; color: #2a3353; }

.tm-single-aside { position: sticky; top: 100px; }
.tm-single-aside-card {
  background: linear-gradient(165deg, #06091c 0%, #0a143a 60%, #06091c 100%);
  color: #fff;
  border: 1px solid rgba(122, 204, 13, 0.28);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 28px 60px -22px rgba(9, 16, 46, 0.4);
}
.tm-single-aside-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c5f07a;
  margin-bottom: 18px;
}
.tm-single-aside-eyebrow i { font-size: 14px; }
.tm-single-expertise {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-single-expertise li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tm-single-expertise li:hover {
  background: rgba(122, 204, 13, 0.08);
  border-color: rgba(122, 204, 13, 0.36);
  transform: translateX(3px);
}
.tm-single-expertise-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(122, 204, 13, 0.18);
  color: #c5f07a;
  flex-shrink: 0;
  font-size: 14px;
}
.tm-single-expertise-label {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.tm-single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 60px 0 0;
}
.tm-single-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(9, 16, 46, 0.08);
  text-decoration: none;
  color: #09102e;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
}
.tm-single-nav-prev { text-align: left; }
.tm-single-nav-next { text-align: right; flex-direction: row; }
.tm-single-nav-next > span:not(.tm-single-nav-thumb) { margin-left: auto; }
.tm-single-nav-card:hover {
  border-color: #7ACC0D;
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -18px rgba(9, 16, 46, 0.2);
  color: #09102e;
}
.tm-single-nav-thumb {
  width: 70px; height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(160deg, #0a143a 0%, #1a2657 100%);
}
.tm-single-nav-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-single-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ACC0D;
  margin-bottom: 4px;
}
.tm-single-nav-card strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #09102e;
  line-height: 1.3;
}
.tm-single-nav-card em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: #6a7090;
  margin-top: 2px;
}

@media (max-width: 991px) {
  .tm-single-grid { grid-template-columns: 1fr; gap: 32px; }
  .tm-single-photo { max-width: 280px; }
  .tm-single-bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .tm-single-aside { position: static; }
}
@media (max-width: 575px) {
  .tm-single-nav { grid-template-columns: 1fr; }
  .tm-single-nav-next { flex-direction: row; text-align: left; }
  .tm-single-nav-next > span:not(.tm-single-nav-thumb) { margin-left: 0; }
}
