/* ==========================================================================
   TrueStance Biomechanics Institute - Dark Kinetic Bento Design System
   Architecture Profile 3: Bento Grid Hero, Indigo/Emerald Accents, Dark Kinetic
   ========================================================================== */

:root {
  --ts-navy-950: #040711;
  --ts-navy-900: #080d19;
  --ts-navy-850: #0d1527;
  --ts-navy-800: #1e293b;
  --ts-navy-700: #334155;
  --ts-navy-600: #475569;
  --ts-emerald-500: #10b981;
  --ts-emerald-400: #34d399;
  --ts-indigo-500: #6366f1;
  --ts-indigo-400: #818cf8;
  --ts-bg-page: #060a14;
  --ts-card-bg: rgba(13, 21, 39, 0.76);
  --ts-card-border: rgba(255, 255, 255, 0.08);
  --ts-card-hover-border: rgba(52, 211, 153, 0.45);
  --ts-text-heading: #ffffff;
  --ts-text-body: #cbd5e1;
  --ts-text-muted: #94a3b8;
  --ts-radius-sm: 8px;
  --ts-radius-md: 14px;
  --ts-radius-lg: 22px;
  --ts-radius-xl: 30px;
  --ts-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --ts-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --ts-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --ts-shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.ts-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ts-text-body);
  background-color: var(--ts-bg-page);
  background-image:
    radial-gradient(circle at 10% 12%, rgba(16, 185, 129, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 90% 35%, rgba(99, 102, 241, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(14, 165, 233, 0.07) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  color: var(--ts-text-heading);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--ts-emerald-400);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--ts-emerald-500);
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.ts-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ts-section {
  padding-top: 84px;
  padding-bottom: 84px;
  position: relative;
}

.ts-section-alt {
  background-color: rgba(9, 14, 28, 0.65);
  border-top: 1px solid var(--ts-card-border);
  border-bottom: 1px solid var(--ts-card-border);
}

.ts-section-dark {
  background-color: rgba(4, 7, 17, 0.85);
  border-top: 1px solid var(--ts-card-border);
  border-bottom: 1px solid var(--ts-card-border);
}

.ts-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.ts-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--ts-emerald-400);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.ts-section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #ffffff;
}

.ts-section-subtitle {
  font-size: 17px;
  color: var(--ts-text-muted);
  line-height: 1.6;
}

/* Buttons */
.ts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--ts-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.ts-btn-sm {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
}

.ts-btn-lg {
  min-height: 54px;
  padding: 16px 32px;
  font-size: 16px;
}

.ts-btn-primary {
  background-color: var(--ts-emerald-500);
  color: #040711;
  border-color: var(--ts-emerald-500);
  font-weight: 700;
}

.ts-btn-primary:hover {
  background-color: var(--ts-emerald-400);
  color: #040711;
  transform: translateY(-2px);
  box-shadow: var(--ts-shadow-glow);
}

.ts-btn-accent {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: rgba(52, 211, 153, 0.4);
}

.ts-btn-accent:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--ts-shadow-glow);
}

.ts-btn-outline {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.ts-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.ts-btn-block {
  width: 100%;
}

/* Header & Navigation */
.ts-header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(6, 10, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ts-card-border);
}

.ts-announcement-strip {
  background-color: var(--ts-navy-950);
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ts-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.ts-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--ts-emerald-400);
  box-shadow: 0 0 10px var(--ts-emerald-400);
  display: inline-block;
}

.ts-strip-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--ts-emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.ts-navbar {
  padding: 14px 0;
}

.ts-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ts-brand-link {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.ts-nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.ts-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.ts-nav-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--ts-radius-sm);
  transition: all 0.2s ease;
}

.ts-nav-item:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
}

.ts-nav-active {
  color: var(--ts-emerald-400);
  font-weight: 600;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.ts-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.ts-burger-line {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.ts-mobile-drawer {
  display: none;
  background: var(--ts-navy-900);
  border-top: 1px solid var(--ts-card-border);
  padding: 20px 24px;
}

.ts-mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ts-mobile-nav-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: var(--ts-radius-sm);
}

.ts-mobile-active {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--ts-emerald-400);
}

.ts-mobile-cta-wrap {
  margin-top: 16px;
}

/* ==========================================================================
   Hero: Bento Grid Magazine (Profile 3)
   ========================================================================== */
.ts-bento-hero {
  padding-top: 60px;
  padding-bottom: 72px;
  position: relative;
}

.ts-bento-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ts-bento-card-main {
  flex: 1.4 1 560px;
  background: var(--ts-card-bg);
  border: 1px solid var(--ts-card-border);
  border-radius: var(--ts-radius-xl);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  box-shadow: var(--ts-shadow-lg);
  position: relative;
  overflow: hidden;
}

.ts-bento-card-main::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.ts-bento-title {
  font-size: clamp(32px, 3.8vw, 50px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.ts-highlight-text {
  color: var(--ts-emerald-400);
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.35);
}

.ts-bento-lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 32px;
}

.ts-bento-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.ts-bento-side-col {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ts-bento-stat-card {
  background: var(--ts-card-bg);
  border: 1px solid var(--ts-card-border);
  border-radius: var(--ts-radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  box-shadow: var(--ts-shadow-md);
  transition: transform 0.25s, border-color 0.25s;
}

.ts-bento-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--ts-card-hover-border);
}

.ts-bento-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--ts-emerald-400);
  line-height: 1;
}

.ts-bento-stat-lbl {
  font-size: 13px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ==========================================================================
   Module: Activity-Rest Balance Matrix (Profile 3 Module)
   ========================================================================== */
.ts-matrix-card {
  background: rgba(13, 21, 39, 0.88);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--ts-radius-xl);
  padding: 30px;
  color: #f8fafc;
  box-shadow: var(--ts-shadow-lg), 0 0 25px rgba(16, 185, 129, 0.12);
  backdrop-filter: blur(20px);
}

.ts-matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-matrix-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--ts-emerald-400);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.ts-slider-group {
  margin-bottom: 18px;
}

.ts-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.ts-num-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ts-emerald-400);
}

.ts-slider-input {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.ts-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ts-emerald-400);
  border: 2px solid #ffffff;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.ts-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.ts-matrix-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ts-matrix-mode-btn {
  flex: 1 1 calc(50% - 4px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border-radius: var(--ts-radius-sm);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  min-height: 44px;
}

.ts-matrix-mode-btn.ts-mode-active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--ts-emerald-400);
  color: #ffffff;
}

.ts-matrix-results {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ts-radius-md);
  padding: 18px;
  margin-top: 16px;
}

.ts-matrix-result-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.ts-matrix-res-item {
  flex: 1 1 calc(50% - 7px);
  display: flex;
  flex-direction: column;
}

.ts-matrix-res-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.ts-matrix-res-lbl {
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.ts-matrix-narrative {
  font-size: 12.5px;
  line-height: 1.55;
  color: #cbd5e1;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Four Pillars Cards
   ========================================================================== */
.ts-pillars-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ts-pillar-card {
  flex: 1 1 calc(25% - 18px);
  background: var(--ts-card-bg);
  border: 1px solid var(--ts-card-border);
  border-radius: var(--ts-radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: var(--ts-shadow-md);
}

.ts-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.ts-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ts-shadow-lg), 0 0 25px rgba(16, 185, 129, 0.15);
  border-color: var(--ts-card-hover-border);
}

.ts-pillar-card:hover::before {
  background: var(--ts-emerald-400);
}

.ts-pillar-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--ts-emerald-400);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ts-pillar-title {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.ts-pillar-text {
  font-size: 14.5px;
  color: var(--ts-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ts-pillar-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--ts-emerald-400);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Editorial Feature Split
   ========================================================================== */
.ts-split-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.ts-split-feature:last-child {
  margin-bottom: 0;
}

.ts-split-feature.ts-split-reverse {
  direction: rtl;
}

.ts-split-feature.ts-split-reverse > * {
  direction: ltr;
}

.ts-img-frame {
  flex: 1 1 460px;
  position: relative;
  border-radius: var(--ts-radius-xl);
  overflow: hidden;
  box-shadow: var(--ts-shadow-lg);
  border: 1px solid var(--ts-card-border);
}

.ts-feature-copy {
  flex: 1 1 460px;
}

.ts-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ts-img-frame:hover img {
  transform: scale(1.03);
}

.ts-img-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(6, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--ts-radius-sm);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ts-feature-copy h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.ts-feature-copy p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.65;
}

.ts-feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.ts-feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #cbd5e1;
}

.ts-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ts-emerald-400);
  box-shadow: 0 0 8px var(--ts-emerald-400);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   Faculty / Institute Grid
   ========================================================================== */
.ts-team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ts-team-card {
  flex: 1 1 calc(25% - 18px);
  background: var(--ts-card-bg);
  border: 1px solid var(--ts-card-border);
  border-radius: var(--ts-radius-lg);
  overflow: hidden;
  box-shadow: var(--ts-shadow-md);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.ts-team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ts-shadow-lg), 0 0 25px rgba(16, 185, 129, 0.15);
  border-color: var(--ts-card-hover-border);
}

.ts-team-img-wrap {
  width: 100%;
  height: 270px;
  overflow: hidden;
  position: relative;
  background-color: var(--ts-navy-950);
}

.ts-team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ts-team-card:hover .ts-team-img-wrap img {
  transform: scale(1.05);
}

.ts-team-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ts-team-name {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 4px;
}

.ts-team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--ts-emerald-400);
  margin-bottom: 12px;
}

.ts-team-bio {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.ts-team-pub {
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Technical Table Matrix
   ========================================================================== */
.ts-table-wrap {
  background: var(--ts-card-bg);
  border: 1px solid var(--ts-card-border);
  border-radius: var(--ts-radius-lg);
  overflow-x: auto;
  box-shadow: var(--ts-shadow-md);
  margin-bottom: 40px;
  backdrop-filter: blur(14px);
}

.ts-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}

.ts-data-table th {
  background: rgba(16, 185, 129, 0.12);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  padding: 16px 20px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.ts-data-table tr:last-child td {
  border-bottom: none;
}

.ts-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   Office & Forms
   ========================================================================== */
.ts-office-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.ts-office-info-card {
  flex: 1 1 400px;
  background: var(--ts-card-bg);
  color: #f8fafc;
  border: 1px solid var(--ts-card-border);
  border-radius: var(--ts-radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  box-shadow: var(--ts-shadow-md);
}

.ts-office-info-card h3 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 18px;
}

.ts-office-info-card p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ts-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.ts-contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ts-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-emerald-400);
  flex-shrink: 0;
  font-size: 18px;
}

.ts-row-text strong {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ts-row-text a,
.ts-row-text span {
  color: #ffffff;
  font-size: 15px;
}

.ts-hours-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 14px;
  border-radius: var(--ts-radius-md);
  margin-top: auto;
  font-size: 13px;
  color: #e2e8f0;
}

.ts-form-card {
  flex: 1.25 1 480px;
  background: var(--ts-card-bg);
  border: 1px solid var(--ts-card-border);
  border-radius: var(--ts-radius-xl);
  padding: 40px;
  box-shadow: var(--ts-shadow-md);
  backdrop-filter: blur(14px);
}

.ts-form-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 10px;
}

.ts-form-sub {
  font-size: 14.5px;
  color: #94a3b8;
  margin-bottom: 28px;
}

.ts-form-group {
  margin-bottom: 20px;
}

.ts-form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.ts-form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ts-radius-md);
  font-family: inherit;
  font-size: 15px;
  color: #ffffff;
  background: rgba(6, 10, 20, 0.85);
  transition: all 0.2s;
}

.ts-form-control:focus {
  outline: none;
  border-color: var(--ts-emerald-400);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  background: rgba(9, 15, 30, 0.95);
}

textarea.ts-form-control {
  min-height: 120px;
  resize: vertical;
}

.ts-hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ==========================================================================
   Footer & Legal Bar
   ========================================================================== */
.ts-footer {
  background-color: var(--ts-navy-950);
  color: #94a3b8;
  padding-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ts-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 56px;
}

.ts-footer-brand-col {
  flex: 1.5 1 280px;
}

.ts-footer-col {
  flex: 1 1 180px;
}

.ts-footer-contact-col {
  flex: 1.3 1 240px;
}

.ts-footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 18px;
  margin-bottom: 20px;
  color: #94a3b8;
}

.ts-footer-cert {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ts-cert-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.ts-footer-heading {
  font-size: 15px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.ts-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-footer-links a {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.2s;
}

.ts-footer-links a:hover {
  color: var(--ts-emerald-400);
}

.ts-footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.ts-footer-meta p {
  font-size: 13.5px;
  margin-bottom: 6px;
  color: #94a3b8;
}

.ts-contact-link {
  color: #cbd5e1;
}

.ts-contact-link:hover {
  color: var(--ts-emerald-400);
}

.ts-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 13px;
}

.ts-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ts-legal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ts-legal-nav a {
  color: #94a3b8;
}

.ts-legal-nav a:hover {
  color: #ffffff;
}

.ts-sep {
  color: #475569;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.ts-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(6, 10, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  color: #f8fafc;
  padding: 16px 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.ts-cookie-banner.ts-banner-visible {
  transform: translateY(0);
}

.ts-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ts-cookie-text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  max-width: 820px;
}

.ts-cookie-icon {
  font-size: 20px;
  color: var(--ts-emerald-400);
}

.ts-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Done & 404 Pages
   ========================================================================== */
.ts-done-card {
  max-width: 720px;
  margin: 40px auto;
  background: var(--ts-card-bg);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--ts-radius-xl);
  padding: 48px;
  text-align: center;
  box-shadow: var(--ts-shadow-lg), 0 0 30px rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(16px);
}

.ts-done-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--ts-emerald-400);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-emerald-400);
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.ts-ticket-box {
  display: inline-block;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--ts-emerald-400);
  padding: 10px 22px;
  border-radius: var(--ts-radius-md);
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--ts-emerald-400);
  margin: 18px 0 28px 0;
  letter-spacing: 0.05em;
}

.ts-timeline-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  text-align: left;
  margin: 32px 0;
  padding: 24px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ts-radius-lg);
}

.ts-step-item {
  flex: 1 1 calc(33.333% - 11px);
  display: flex;
  flex-direction: column;
}

.ts-step-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ts-emerald-400);
  margin-bottom: 6px;
}

.ts-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.ts-step-sub {
  font-size: 12.5px;
  color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .ts-bento-card-main, .ts-bento-side-col {
    flex: 1 1 100%;
  }
  .ts-pillars-grid .ts-pillar-card {
    flex: 1 1 calc(50% - 12px);
  }
  .ts-team-grid .ts-team-card {
    flex: 1 1 calc(50% - 12px);
  }
  .ts-office-grid .ts-office-info-card, .ts-office-grid .ts-form-card {
    flex: 1 1 100%;
  }
  .ts-footer-grid .ts-footer-col {
    flex: 1 1 calc(50% - 18px);
  }
}

@media (max-width: 768px) {
  .ts-nav-desktop {
    display: none;
  }
  .ts-mobile-toggle {
    display: flex;
  }
  .ts-mobile-drawer.ts-drawer-open {
    display: block;
  }
  .ts-pillars-grid .ts-pillar-card {
    flex: 1 1 100%;
  }
  .ts-team-grid .ts-team-card {
    flex: 1 1 100%;
  }
  .ts-split-feature .ts-img-frame, .ts-split-feature .ts-feature-copy {
    flex: 1 1 100%;
  }
  .ts-split-feature.ts-split-reverse {
    direction: ltr;
  }
  .ts-footer-grid .ts-footer-col, .ts-footer-grid .ts-footer-brand-col, .ts-footer-grid .ts-footer-contact-col {
    flex: 1 1 100%;
  }
  .ts-timeline-steps .ts-step-item {
    flex: 1 1 100%;
    gap: 16px;
  }
  .ts-matrix-card {
    padding: 22px 18px;
  }
}
