:root{
  --brand: #9A0CEB;
  --brand-dark: #6E07B2;
  --ink: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --bg: #ffffff;
  --soft: #f8fafc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

/* Base */
html, body { height: 100%; }

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
  padding-top: 84px; /* space for fixed navbar */
}

p, li{
  color: var(--muted);
  font-size: 1.02rem;
}

h1,h2,h3,h4,h5{
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Accessibility */
.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 16px; top: 16px; width:auto; height:auto;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  z-index: 2000;
}

/* Layout helper */
.page-wrap{
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 16px 0 16px;
}

/* Navbar */
.navbar-te{
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
}

.nav-container{
  max-width: 1280px;
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-lockup .wordmark{
  font-size: 1.15rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-lockup .tetra{ color: var(--brand); }
.brand-lockup .elements{ color: var(--ink); }

.nav-link{
  font-weight: 600;
  color: var(--ink) !important;
  opacity: 0.92;
}

.nav-link:hover{ opacity: 1; }

.nav-divider{
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 10px;
}

/* Schedule CTA */
.btn-schedule{
  background: var(--brand);
  border: 1px solid transparent;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 10px 24px rgba(154,12,235,0.25);
}

.btn-schedule:hover{
  background: var(--brand-dark);
  color: #fff;
}

/* Dropdown styling */
.dropdown-menu{
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 10px;
}

.dropdown-item{
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 12px;
}

.dropdown-item:hover{
  background: var(--soft);
}

/* Nested dropdown support */
.dropdown-submenu{ position: relative; }

.dropdown-submenu > .dropdown-menu{
  top: 0;
  left: 100%;
  margin-left: .25rem;
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu{
  display:block;
}

/* Icon buttons */
.icon-btn{
  width: 38px;
  height: 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  text-decoration: none;
}

.icon-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(2,6,23,0.08);
  color: var(--ink);
}

/* Footer */
.footer-te{
  background: linear-gradient(135deg, var(--brand), #7c17ff);
  color: rgba(255,255,255,0.92);
  margin-top: 48px;
}

.footer-te a{
  color: rgba(255,255,255,0.95);
  text-decoration: none;
}

.footer-te a:hover{ text-decoration: underline; }

.footer-wrap{
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px;
}

.footer-card{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 22px;
}

.footer-title{
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.footer-muted{
  color: rgba(255,255,255,0.82);
  margin: 0;
}

.footer-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.92);
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 16px;
  margin-top: 18px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
}
/* =========================
   Footer visual fixes
   ========================= */

/* 1) Make icon buttons show their icons (override footer link color) */
.footer-te a.icon-btn{
  color: var(--ink) !important;     /* icons become dark and visible */
  text-decoration: none !important; /* no underline */
}
.footer-te a.icon-btn i{
  color: inherit !important;
}

/* Optional: slightly improve contrast on hover */
.footer-te a.icon-btn:hover{
  box-shadow: 0 10px 24px rgba(2,6,23,0.18);
  transform: translateY(-1px);
}

/* 2) Make the capabilities list brighter (override global p,li color) */
.footer-te .footer-card p,
.footer-te .footer-card li{
  color: rgba(255,255,255,0.92) !important;
}

/* Make the bullet points pop a bit more */
.footer-te .footer-list li{
  color: rgba(255,255,255,0.96) !important;
}

/* Optional: brighten bullet markers specifically */
.footer-te .footer-list li::marker{
  color: rgba(255,255,255,0.95);
}


/* =========================
   Home page (professional)
========================= */
.hero-te{
  padding: 48px 0 28px 0;
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(154,12,235,0.08);
  border: 1px solid rgba(154,12,235,0.18);
  font-weight: 700;
  color: var(--ink);
}

.hero-title{
  margin-top: 14px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-subtitle{
  margin-top: 12px;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
}

.btn-te-primary{
  background: var(--brand);
  border: 1px solid transparent;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 10px 24px rgba(154,12,235,0.22);
}
.btn-te-primary:hover{
  background: var(--brand-dark);
  color: #fff;
}
.btn-te-outline{
  border: 1px solid rgba(15,23,42,0.18);
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
}
.btn-te-outline:hover{
  background: var(--soft);
  color: var(--ink);
}

.hero-card{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.hero-card-footer{
  padding: 14px 16px;
}
.hero-card-title{
  font-weight: 800;
  color: var(--ink);
}
.hero-card-text{
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-metrics{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}
.metric{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
  background: #fff;
}
.metric-kpi{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.metric-label{
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 768px){
  .hero-metrics{ grid-template-columns: 1fr; }
}

/* Ticker */
.cap-ticker-te{
  padding: 10px 0 18px 0;
}
.ticker-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 14px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  overflow: hidden;
}
.ticker-label{
  font-weight: 900;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(154,12,235,0.10);
  border: 1px solid rgba(154,12,235,0.18);
  white-space: nowrap;
}
.ticker-track{
  overflow: hidden;
  width: 100%;
}
.ticker-items{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  animation: teTicker 26s linear infinite;
}
.ticker-items span{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}
@keyframes teTicker{
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section-te{
  padding: 46px 0;
}
.section-te--tight{
  padding: 24px 0 10px 0;
}
.section-te--alt{
  background: linear-gradient(180deg, rgba(248,250,252,0.9), rgba(248,250,252,0.35));
}

.section-header{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
}

.section-title{
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.section-lead{
  color: var(--muted);
  max-width: 75ch;
}

.te-bullets{
  padding-left: 18px;
  margin: 0;
}
.te-bullets li{
  margin: 8px 0;
}

/* Capability blocks */
.cap-block{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 18px 18px;
}

.cap-title{
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.cap-caption{
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}
.cap-caption a{
  color: inherit;
  text-decoration: none;
}
.cap-caption a:hover{
  text-decoration: underline;
}

.cap-link{
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
}
.cap-link:hover{
  color: var(--brand-dark);
  text-decoration: underline;
}

.te-img-border{
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* =========================
   Home additions: Industries / Steps / Trust
========================= */

.btn-sm-te{
  padding: 8px 12px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

/* Industries */
.industry-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.industry-chip{
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--soft);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  color: var(--ink);
}
.industry-chip i{
  color: var(--brand);
}
@media (max-width: 992px){
  .industry-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px){
  .industry-grid{ grid-template-columns: 1fr; }
}

/* How we work */
.step-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 16px;
  box-shadow: var(--shadow);
  height: 100%;
}
.step-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.step-num{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(154,12,235,0.10);
  border: 1px solid rgba(154,12,235,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: var(--ink);
}
.step-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--soft);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--brand);
  font-size: 1.15rem;
}
.step-title{
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.step-text{
  color: var(--muted);
  margin-bottom: 10px;
}
.step-bullets{
  padding-left: 18px;
  margin: 0;
}
.step-bullets li{
  margin: 7px 0;
  color: var(--muted);
}

/* Logos */
.logo-strip{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.logo-pill{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(15,23,42,0.25);
  background: rgba(248,250,252,0.7);
  font-weight: 900;
  color: rgba(15,23,42,0.55);
}

/* Testimonials */
.quote-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 16px;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.quote-mark{
  position:absolute;
  top: -12px;
  right: 12px;
  font-size: 68px;
  line-height: 1;
  color: rgba(154,12,235,0.14);
  font-weight: 900;
}
.quote-text{
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 14px;
}
.quote-meta{
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.quote-name{
  font-weight: 900;
  color: var(--ink);
}
.quote-role{
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   Blog page
========================= */

.blog-hero-te{
  padding: 52px 0 18px 0;
}

.blog-hero-card{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px;
  position: relative;
  overflow: hidden;
}

.blog-hero-card::before{
  content:"";
  position:absolute;
  inset: -120px -120px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(154,12,235,0.18), rgba(154,12,235,0.00) 60%);
  pointer-events:none;
}

.blog-hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(154,12,235,0.08);
  border: 1px solid rgba(154,12,235,0.18);
  font-weight: 800;
  color: var(--ink);
}

.blog-hero-title{
  margin-top: 14px;
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.blog-hero-subtitle{
  margin-top: 10px;
  max-width: 85ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.blog-hero-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.blog-hero-chips .chip{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--soft);
  font-weight: 800;
  color: var(--ink);
  font-size: 0.95rem;
}

/* Grid */
.blog-grid-te{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 992px){
  .blog-grid-te{ grid-template-columns: 1fr; }
}

/* Card */
.post-card-te{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-media-te{
  display: block;
  position: relative;
}
.post-media-te img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}
@media (max-width: 576px){
  .post-media-te img{ height: 200px; }
}

.post-body-te{
  padding: 16px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-tags-te{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-tags-te .tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(154,12,235,0.22);
  background: rgba(154,12,235,0.08);
  font-weight: 800;
  color: var(--ink);
  font-size: 0.9rem;
}

.post-title-te{
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.post-title-te a{
  color: var(--ink);
  text-decoration: none;
}
.post-title-te a:hover{
  text-decoration: underline;
}

.post-excerpt-te{
  color: var(--muted);
  margin: 0;
}

.post-cta-te{
  margin-top: auto;
  padding-top: 6px;
}

.post-link-te{
  font-weight: 900;
  color: var(--brand);
  text-decoration: none;
}
.post-link-te:hover{
  color: var(--brand-dark);
  text-decoration: underline;
}

/* Bottom note */
.blog-bottom-note{
  margin-top: 18px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  color: var(--muted);
}
.blog-bottom-note a{
  font-weight: 900;
  color: var(--brand);
  text-decoration: none;
}
.blog-bottom-note a:hover{
  color: var(--brand-dark);
  text-decoration: underline;
}

.post-meta-te{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}
.post-meta-te i{
  font-size: 0.9rem;
}

.post-card-te{
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card-te:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,23,42,0.12);
}

/* =========================
   Projects page
========================= */

.projects-hero-te{
  padding: 52px 0 18px 0;
}

.projects-hero-card{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.projects-hero-card::before{
  content:"";
  position:absolute;
  inset: -130px -130px auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(154,12,235,0.18), rgba(154,12,235,0.00) 60%);
  pointer-events:none;
}

.projects-hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(154,12,235,0.08);
  border: 1px solid rgba(154,12,235,0.18);
  font-weight: 900;
  color: var(--ink);
}

.projects-hero-title{
  margin-top: 14px;
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.projects-hero-subtitle{
  margin-top: 10px;
  max-width: 90ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.projects-hero-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.projects-hero-chips .chip{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--soft);
  font-weight: 900;
  color: var(--ink);
  font-size: 0.95rem;
}

/* Grid */
.projects-grid-te{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 992px){
  .projects-grid-te{ grid-template-columns: 1fr; }
}

/* Card */
.project-card-te{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card-te:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,23,42,0.12);
}

/* Media */
.project-media-te{
  display: block;
}
.project-media-te img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
@media (max-width: 576px){
  .project-media-te img{ height: 210px; }
}

/* 2-up media grid (for projects with two images) */
.project-media-grid-te{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.project-media-grid-te a{
  display: block;
}
.project-media-grid-te img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
@media (max-width: 576px){
  .project-media-grid-te{
    grid-template-columns: 1fr;
  }
  .project-media-grid-te img{
    height: 210px;
  }
}

/* Body */
.project-body-te{
  padding: 16px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-tags-te{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-tags-te .tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(154,12,235,0.22);
  background: rgba(154,12,235,0.08);
  font-weight: 900;
  color: var(--ink);
  font-size: 0.9rem;
}

.project-title-te{
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.project-title-te a{
  color: var(--ink);
  text-decoration: none;
}
.project-title-te a:hover{
  text-decoration: underline;
}

.project-excerpt-te{
  color: var(--muted);
  margin: 0;
}

/* Metrics list (clean 2-column feel without tables) */
.project-metrics-te{
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.project-metrics-te li{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--soft);
  padding: 10px 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.project-metrics-te li span{
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}
.project-metrics-te li b{
  font-weight: 900;
  color: var(--ink);
}

/* Details */
.project-details-te{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}
.project-details-te summary{
  cursor: pointer;
  font-weight: 900;
  color: var(--brand);
}
.project-list-te{
  margin: 10px 0 0 18px;
  color: var(--muted);
}

/* CTA button (uses your brand color) */
.btn-te-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(154,12,235,0.28);
  background: rgba(154,12,235,0.10);
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}
.btn-te-primary:hover{
  background: rgba(154,12,235,0.14);
  color: var(--brand-dark);
  text-decoration: none;
}

.project-cta-te{
  margin-top: auto;
  padding-top: 6px;
}

/* Bottom CTA */
.projects-bottom-cta{
  margin-top: 18px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 14px;
  display: grid;
  gap: 8px;
}
.projects-bottom-cta-title{
  font-weight: 950;
  font-size: 1.1rem;
  color: var(--ink);
}
.projects-bottom-cta-text{
  color: var(--muted);
}

/* =========================
   Article / Blog post page
========================= */

.blog-hero-te{
  padding: 42px 0 16px 0;
}

.blog-hero-card{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.blog-hero-card::before{
  content:"";
  position:absolute;
  inset: -130px -130px auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(154,12,235,0.18), rgba(154,12,235,0.00) 60%);
  pointer-events:none;
}

.blog-hero-kicker{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.badge-te{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid var(--border);
  background: var(--soft);
  font-weight: 900;
  color: var(--ink);
}

.badge-te-soft{
  border: 1px solid rgba(154,12,235,0.22);
  background: rgba(154,12,235,0.08);
}

.blog-hero-title{
  margin-top: 14px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.blog-hero-subtitle{
  margin-top: 10px;
  max-width: 90ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.blog-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}
.blog-hero-meta .dot{ opacity:0.6; }

/* Layout */
.article-layout-te{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items:start;
}

@media (max-width: 992px){
  .article-layout-te{
    grid-template-columns: 1fr;
  }
  .article-aside-te{
    order: -1;
  }
}

.article-te{
  border: 1px solid var(--border);
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
}

.article-te h2{
  margin-top: 26px;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.article-te h3{
  margin-top: 18px;
  font-weight: 950;
  letter-spacing: -0.01em;
}
.article-te p{
  color: var(--ink);
  line-height: 1.75;
}
.article-te p, .article-te li{
  color: var(--ink);
}
.article-te .list-te{
  margin: 10px 0 0 18px;
  color: var(--muted);
}
.article-te .list-te li{
  margin: 7px 0;
  color: var(--muted);
}

/* Media */
.article-media-te img{
  width:100%;
  height:auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  display:block;
}
.article-caption-te{
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.95rem;
}

/* Callout */
.callout-te{
  border-left: 5px solid var(--brand);
  background: rgba(154,12,235,0.06);
  border-radius: 14px;
  padding: 14px 14px;
  margin: 12px 0;
}
.callout-te strong{ color: var(--ink); }

/* Panels */
.two-col-te{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 768px){
  .two-col-te{ grid-template-columns: 1fr; }
}
.panel-te{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px;
}
.panel-te h3{ margin-top:0; }

/* Examples */
.example-te{
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: 14px;
  padding: 12px 12px;
  margin: 10px 0 0 0;
}
.example-te b{
  display:inline-block;
  margin-bottom: 6px;
  color: var(--ink);
}
.m0{ margin:0; }

/* HR */
.hr-te{
  border: none;
  height: 1px;
  background: rgba(15, 23, 42, 0.10);
  margin: 18px 0;
}

/* Not enough cards */
.cards-2-te{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 768px){
  .cards-2-te{ grid-template-columns: 1fr; }
}
.mini-card-te{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px;
}
.mini-card-te h3{ margin-top:0; }

/* CTA band */
.cta-band-te{
  margin-top: 18px;
  border: 1px solid rgba(154,12,235,0.18);
  background: rgba(154,12,235,0.06);
  border-radius: 16px;
  padding: 14px 14px;
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
  align-items:flex-start;
  gap: 12px;
}
.cta-band-title{
  margin:0;
  font-weight: 950;
}
.cta-band-text{
  margin: 6px 0 0 0;
  color: var(--muted);
}
.cta-band-actions{
  display:flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}
.btn-te-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-decoration:none;
}
.btn-te-ghost:hover{
  background: var(--soft);
  text-decoration:none;
}

.w100{ width:100%; }

/* Aside / TOC */
.article-aside-te{
  position: sticky;
  top: 86px;
  display:grid;
  gap: 12px;
}
@media (max-width: 992px){
  .article-aside-te{
    position: static;
  }
}

.aside-card-te{
  border: 1px solid var(--border);
  background:#fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 14px;
}
.aside-title-te{
  font-weight: 950;
  margin-bottom: 8px;
}
.aside-text-te{
  color: var(--muted);
  margin: 0 0 10px 0;
}

.toc-te{
  display:grid;
  gap: 8px;
}
.toc-te a{
  text-decoration:none;
  color: var(--ink);
  font-weight: 900;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--soft);
}
.toc-te a:hover{
  background: rgba(154,12,235,0.08);
  border-color: rgba(154,12,235,0.22);
  text-decoration:none;
}

/* Footnote */
.footnote-te{
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

<style>
  /* ===== Responsive media system (drop-in) ===== */
  .container-sm { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

  .media-te { margin: 18px 0; }
  .media-te img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }

  /* Prevent “too big” images on wide screens */
  .media-max-te{
    max-width: 980px;      /* change to 900–1100 if you want */
    margin-left: auto;
    margin-right: auto;
  }

  .caption-te{
    text-align: center;
    color: #666;
    font-size: calc(13px + 0.25vw);
    margin-top: 8px;
    line-height: 1.5;
  }

  /* Two images side-by-side on desktop, stacked on mobile */
  .grid-2-te{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
  @media (min-width: 768px){
    .grid-2-te{ grid-template-columns: 1fr 1fr; }
  }

  /* Optional: slightly tighter spacing on small screens */
  @media (max-width: 480px){
    .media-te{ margin: 14px 0; }
  }
</style>


/* =========================================================
   Tetra Elements – Professional Request / Consultation Form
   ========================================================= */

/* Card wrapper */
.form-card-te {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin-top: 10px;
}

/* Card title */
.form-card-te .form-title-te {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

/* Labels */
.form-label-te {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

/* Help text */
.form-help-te {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 6px;
}

/* Inputs, selects, textareas */
.form-control-te,
.form-te input[type="text"],
.form-te input[type="email"],
.form-te input[type="tel"],
.form-te select,
.form-te textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-size: 15px;
}

/* Focus state */
.form-control-te:focus,
.form-te input:focus,
.form-te select:focus,
.form-te textarea:focus {
  outline: none;
  border-color: rgba(154, 12, 235, 0.7);
  box-shadow: 0 0 0 4px rgba(154, 12, 235, 0.12);
}

/* File upload */
.form-te input[type="file"] {
  padding: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

/* Form group spacing */
.form-group-te {
  margin-bottom: 14px;
}

/* Two-column layout safety (mobile) */
@media (max-width: 900px) {
  .two-col-te {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* Add to site.css (or your shared stylesheet)
   Training page helpers (YouTube embeds) */

.video-embed-te{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.video-embed-te iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Add to site.css (shared utilities for the Team page) */

/* Optional: slightly tighter media spacing inside callouts */
.article-te .callout-te .media-te { margin-top: 0; }

/* Make the two-image blocks align nicely on small screens */
@media (max-width: 991.98px){
  .two-col-te { grid-template-columns: 1fr !important; }
}
