/* ==========================================================================
   TCM ONE — PREMIUM EDITORIAL DESIGN SYSTEM
   Inspired by Multithread.io & Newton School
   Colors: #F8F7F4, #FFFFFF, #111111, #666666, #DEDDD8
   Typography: Instrument Serif + Inter
   Border-radius: 0px strictly
   ========================================================================== */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --tcm-bg: #F8F7F4;
  --tcm-surface: #FFFFFF;
  --tcm-fg: #111111;
  --tcm-muted: #666666;
  --tcm-border: #DEDDD8;
  --tcm-dark: #111111;
  --tcm-dark-fg: #F8F7F4;
  --tcm-dark-muted: #999994;
  --tcm-dark-border: #262626;

  --tcm-font-display: 'Instrument Serif', Georgia, serif;
  --tcm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --tcm-max-w: 1240px;
  --tcm-btn-h: 46px;
  --tcm-input-h: 50px;
}

/* ==========================================================================
   RESPONSIVE DISPLAY UTILITIES
   ========================================================================== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

@media (min-width: 576px) {
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
  .d-sm-inline { display: inline !important; }
  .d-sm-inline-block { display: inline-block !important; }
  .d-sm-flex { display: flex !important; }
  .d-sm-inline-flex { display: inline-flex !important; }
}

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-block { display: inline-block !important; }
  .d-md-flex { display: flex !important; }
  .d-md-inline-flex { display: inline-flex !important; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-inline { display: inline !important; }
  .d-lg-inline-block { display: inline-block !important; }
  .d-lg-flex { display: flex !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
}

@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
  .d-xl-inline { display: inline !important; }
  .d-xl-inline-block { display: inline-block !important; }
  .d-xl-flex { display: flex !important; }
  .d-xl-inline-flex { display: inline-flex !important; }
}
 
/* Layout & Spacing Utilities */
.w-100, .w-full { width: 100% !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 12px !important; }
.gap-4 { gap: 16px !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }

/* ==========================================================================
   REUSABLE EDITORIAL BUTTON (EditorialButton)
   ========================================================================== */
.tcm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--tcm-btn-h);
  padding: 0 24px;
  font-family: var(--tcm-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  border-radius: 0px !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.tcm-btn:focus-visible {
  outline: 2px solid var(--tcm-fg);
  outline-offset: 2px;
}

.tcm-btn svg.arrow-icon,
.tcm-btn i.arrow-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.tcm-btn:hover svg.arrow-icon,
.tcm-btn:hover i.arrow-icon {
  transform: translateX(3px);
}

/* Variant: Primary Black */
.tcm-btn-primary {
  background-color: var(--tcm-fg);
  color: var(--tcm-bg) !important;
  border: 1px solid var(--tcm-fg);
}

.tcm-btn-primary:hover {
  background-color: #242424;
  border-color: #242424;
  color: var(--tcm-bg) !important;
}

/* Variant: Secondary Outlined / Outline */
.tcm-btn-secondary,
.tcm-btn-outline {
  background-color: var(--tcm-surface);
  color: var(--tcm-fg) !important;
  border: 1px solid var(--tcm-border);
}

.tcm-btn-secondary:hover,
.tcm-btn-outline:hover {
  border-color: var(--tcm-fg);
  background-color: var(--tcm-bg);
  color: var(--tcm-fg) !important;
}

/* Variant: Light Button for Dark Backgrounds */
.tcm-btn-light {
  background-color: var(--tcm-bg);
  color: var(--tcm-dark) !important;
  border: 1px solid var(--tcm-bg);
}

.tcm-btn-light:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--tcm-dark) !important;
}

/* Variant: Dark Outline */
.tcm-btn-dark-outline {
  background-color: transparent;
  color: var(--tcm-dark-fg) !important;
  border: 1px solid var(--tcm-dark-border);
}

.tcm-btn-dark-outline:hover {
  border-color: var(--tcm-dark-fg);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--tcm-dark-fg) !important;
}

/* Variant: Text Link with Arrow */
.tcm-btn-link {
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--tcm-fg) !important;
  border: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tcm-btn-link:hover {
  color: #000000 !important;
}

.tcm-btn-link-dark {
  color: var(--tcm-dark-fg) !important;
}

/* Optional Thin-line Accent Area on Button */
.tcm-btn-accent {
  padding-right: 0;
}

.tcm-btn-accent .btn-accent-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  margin-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.tcm-btn-secondary.tcm-btn-accent .btn-accent-bar {
  border-left: 1px solid var(--tcm-border);
}

/* Size Variants */
.tcm-btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.tcm-btn-lg {
  height: 52px;
  padding: 0 32px;
  font-size: 15px;
}

/* ==========================================================================
   DECORATIVE CONCENTRIC LINE PATTERN (LinePattern)
   Inspired by Multithread.io
   ========================================================================== */
.tcm-line-pattern {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.tcm-line-pattern-hero {
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  opacity: 0.85;
}

.tcm-line-pattern-dark {
  opacity: 0.35;
}

.tcm-line-pattern-footer {
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  opacity: 0.4;
}

/* ==========================================================================
   ANNOUNCEMENT BAR & SITE HEADER
   ========================================================================== */
.tcm-announcement-bar {
  background-color: var(--tcm-dark);
  color: var(--tcm-dark-fg);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  text-align: center;
  border-bottom: 1px solid var(--tcm-dark-border);
  position: relative;
  z-index: 102;
}

.tcm-announcement-bar a {
  color: var(--tcm-dark-fg);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 160ms ease;
}

.tcm-announcement-bar a:hover {
  opacity: 0.85;
}

.tcm-announcement-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 8px;
}

/* Sticky Header */
.tcm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 247, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tcm-border);
  transition: background-color 200ms ease, border-color 200ms ease;
}

.tcm-header-inner,
.tcm-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
}

.tcm-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.tcm-brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.tcm-brand-text {
  font-family: var(--tcm-font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tcm-fg);
}

.tcm-brand-text span.brand-accent {
  font-weight: 400;
  color: var(--tcm-muted);
  margin-left: 3px;
}

/* Nav Links */
.tcm-nav {
  display: none;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}

@media (min-width: 1024px) {
  .tcm-nav {
    display: flex;
  }
}

.tcm-nav-item {
  position: relative;
}

.tcm-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--tcm-muted);
  text-decoration: none;
  transition: color 150ms ease;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
}

.tcm-nav-link:hover,
.tcm-nav-link.active {
  color: var(--tcm-fg);
}

/* Dropdown */
.tcm-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
  min-width: 240px;
  padding: 8px 0;
  display: none;
  z-index: 105;
}

.tcm-nav-item:hover .tcm-dropdown-menu {
  display: block;
}

.tcm-nav-item:focus-within .tcm-dropdown-menu {
  display: block;
}

.tcm-dropdown-item {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--tcm-muted);
  text-decoration: none;
  transition: all 120ms ease;
}

.tcm-dropdown-item:hover {
  background-color: var(--tcm-bg);
  color: var(--tcm-fg);
  padding-left: 24px;
}

/* Header Right Actions */
.tcm-header-actions,
.tcm-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Selector Dropdown */
.tcm-lang-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tcm-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 8px;
  background: transparent;
  border: none !important;
  color: var(--tcm-fg);
  font-family: var(--tcm-font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 160ms ease;
  line-height: 1;
  outline: none;
}

.tcm-lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.tcm-currency-select {
  min-height: 36px;
  padding-inline: 6px;
  border: 1px solid var(--tcm-border, #deddd8);
  border-radius: 4px;
  background: var(--tcm-bg, #fff);
  color: var(--tcm-fg, #111);
  font: 600 14px var(--tcm-font-sans, sans-serif);
}

.tcm-mobile-drawer .tcm-currency-select {
  min-height: 44px;
  width: 100%;
}

.tcm-lang-btn i.bi-translate {
  font-size: 14px;
  color: var(--tcm-fg);
}

.tcm-lang-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tcm-lang-chevron {
  font-size: 9px;
  transition: transform 180ms ease;
}

.tcm-lang-picker.open .tcm-lang-chevron {
  transform: rotate(180deg);
}

.tcm-lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 250px;
  max-height: 380px;
  background: #ffffff;
  border: 1px solid var(--tcm-border);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.12);
  z-index: 99999;
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

.tcm-lang-picker.open .tcm-lang-dropdown {
  display: flex !important;
}

/* Specific styling for language selector inside Mobile Drawer */
.tcm-mobile-drawer .tcm-lang-picker {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  position: static !important;
  box-sizing: border-box !important;
}

.tcm-mobile-drawer .tcm-lang-btn {
  display: flex !important;
  width: 100% !important;
  height: 42px;
  padding: 0 14px;
  background: var(--tcm-surface);
  border: 1px solid var(--tcm-border) !important;
  border-radius: 0 !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  font-size: 13.5px;
}

.tcm-mobile-drawer .tcm-lang-dropdown {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 6px;
  max-height: 220px;
  background: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  box-shadow: none !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}

.tcm-mobile-drawer .tcm-lang-list {
  max-height: 180px;
}

.tcm-lang-dropdown-header {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tcm-muted);
  background: var(--tcm-surface);
  border-bottom: 1px solid var(--tcm-border);
}

.tcm-lang-list {
  overflow-y: auto;
  max-height: 320px;
  padding: 4px 0;
}

.tcm-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  font-family: var(--tcm-font-sans);
  font-size: 12.5px;
  color: var(--tcm-fg);
  text-align: left;
  cursor: pointer;
  border-radius: 0 !important;
  transition: background 120ms ease;
}

.tcm-lang-option:hover {
  background: var(--tcm-surface);
}

.tcm-lang-option.active {
  background: var(--tcm-fg);
  color: #ffffff;
  font-weight: 600;
}

.tcm-lang-option .lang-code {
  font-size: 11px;
  opacity: 0.6;
  font-weight: 600;
}

.tcm-lang-option.active .lang-code {
  opacity: 0.9;
  color: #ffffff;
}

/* Hide default Google Translate widgets / frames */
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.tcm-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--tcm-border);
  color: var(--tcm-fg);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .tcm-menu-toggle {
    display: none;
  }
}

/* Mobile Header: Keep brand and toggle clean on small screens */
@media (max-width: 767px) {
  .tcm-header-actions .tcm-btn,
  .tcm-nav-actions .tcm-btn {
    display: none !important;
  }
  .tcm-header-actions .tcm-btn-link,
  .tcm-nav-actions .tcm-btn-link {
    display: none !important;
  }
  .tcm-brand {
    gap: 8px;
  }
  .tcm-brand-text {
    font-size: 16px;
  }
  .tcm-brand-logo {
    height: 28px;
  }
}

/* Mobile Drawer */
.tcm-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background-color: var(--tcm-bg);
  border-left: 1px solid var(--tcm-border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  box-sizing: border-box !important;
  transition: right 250ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden !important;
}

.tcm-mobile-drawer.open {
  right: 0;
}

.tcm-mobile-drawer *,
.tcm-mobile-drawer *::before,
.tcm-mobile-drawer *::after {
  box-sizing: border-box !important;
}

.tcm-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
}

.tcm-mobile-drawer .tcm-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box !important;
  margin: 0 !important;
  height: 46px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 !important;
  text-decoration: none !important;
}

.tcm-mobile-drawer .tcm-btn.mb-2 {
  margin-bottom: 10px !important;
}

.tcm-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(4px);
  z-index: 199;
  display: none;
}

.tcm-drawer-backdrop.open {
  display: block;
}

.tcm-drawer-close {
  align-self: flex-end;
  background: transparent;
  border: 1px solid var(--tcm-border);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.tcm-drawer-link {
  font-size: 17px;
  font-weight: 500;
  color: var(--tcm-fg);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--tcm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   GLOBAL SECTION SPACING OVERRIDE
   ========================================================================== */
.tcm-section {
  padding-top: clamp(32px, 4vw, 40px);
  padding-bottom: clamp(32px, 4vw, 40px);
}

@media (min-width: 1024px) {
  .tcm-section {
    padding-top: clamp(44px, 5vw, 60px);
    padding-bottom: clamp(44px, 5vw, 60px);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.tcm-hero {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--tcm-border);
  position: relative;
  overflow: hidden;
}

.tcm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 1024px) {
  .tcm-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  }
}

.tcm-hero-copy {
  max-width: 640px;
  z-index: 2;
  position: relative;
}

.tcm-hero-title {
  margin: 0 0 20px;
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 1.04;
  text-wrap: balance;
}

.tcm-hero-title span {
  display: block;
  margin-top: 0.1em;
}

.tcm-hero-desc {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--tcm-muted);
  margin-bottom: clamp(22px, 3vw, 32px);
  max-width: 46ch;
}

.tcm-hero-desc a {
  color: var(--tcm-fg);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tcm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tcm-hero-actions .tcm-btn {
  height: 42px;
  min-width: 176px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 500;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .tcm-hero-actions {
    gap: 8px;
    width: 100%;
  }
  .tcm-hero-actions .tcm-btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 0 10px;
    font-size: 12.5px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  .tcm-hero-actions .tcm-btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

.tcm-hero-video {
  min-width: 0;
}

.tcm-hero-actions [hidden] {
  display: none;
}

.tcm-hero-video iframe {
  display: block;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* Hero Visual / Geometric Arc Area */
.tcm-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  border: 1px solid var(--tcm-border);
  background-color: var(--tcm-surface);
  padding: 24px 20px;
  overflow: visible;
}

/* ==========================================================================
   HERO WORKSHOP DECK: STACKED SWIPEABLE CARDS
   ========================================================================== */
.tcm-hero-deck-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.tcm-hero-deck-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 28px;
  z-index: 12;
  position: relative;
}

.tcm-hero-deck-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tcm-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tcm-fg);
}

.tcm-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #059669;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: tcmPulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes tcmPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.tcm-hero-deck-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.tcm-hero-deck-counter {
  font-family: var(--tcm-font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--tcm-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.tcm-hero-deck-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tcm-deck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  color: var(--tcm-fg);
  cursor: pointer;
  padding: 0;
  transition: all 150ms ease;
}

.tcm-deck-btn:hover {
  background-color: var(--tcm-fg);
  color: var(--tcm-bg);
  border-color: var(--tcm-fg);
}

/* Stack Container — Natural Grid Stacking (No fixed pixel height) */
.tcm-hero-deck-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  perspective: 1000px;
  margin: 0 auto;
}

/* Card Base */
.tcm-deck-card {
  grid-area: 1 / 1 / 2 / 2;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  border: 1.5px solid var(--tcm-fg);
  padding: 16px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform, opacity, box-shadow;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

/* Active front card */
.tcm-deck-card.is-active {
  z-index: 10;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.10), 0 2px 6px rgba(17, 17, 17, 0.04);
}

/* First card behind (visible peek at top and sides) */
.tcm-deck-card.is-next {
  z-index: 9;
  transform: translate3d(0, -10px, 0) scale(0.95);
  transform-origin: center top;
  opacity: 0.92;
  pointer-events: auto;
  cursor: pointer;
  background-color: #FAF9F6;
  border-color: rgba(17, 17, 17, 0.45);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.06);
}

.tcm-deck-card.is-next:hover {
  transform: translate3d(0, -13px, 0) scale(0.96);
  opacity: 1;
  border-color: var(--tcm-fg);
}

/* Second card behind (peeking even higher) */
.tcm-deck-card.is-next2 {
  z-index: 8;
  transform: translate3d(0, -18px, 0) scale(0.90);
  transform-origin: center top;
  opacity: 0.65;
  pointer-events: auto;
  cursor: pointer;
  background-color: #F4F3EE;
  border-color: rgba(17, 17, 17, 0.25);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.04);
}

.tcm-deck-card.is-next2:hover {
  transform: translate3d(0, -21px, 0) scale(0.92);
  opacity: 0.85;
}

/* Other cards hidden */
.tcm-deck-card.is-hidden {
  z-index: 1;
  transform: translate3d(0, -26px, 0) scale(0.85);
  transform-origin: center top;
  opacity: 0;
  pointer-events: none;
}

/* Dragging state */
.tcm-deck-card.is-dragging {
  cursor: grabbing !important;
  transition: none !important;
}

/* Swiping out animation */
.tcm-deck-card.is-swiping-left {
  transform: translate3d(-130%, 15px, 0) rotate(-14deg) !important;
  opacity: 0 !important;
  transition: transform 0.3s ease-out, opacity 0.25s ease-out !important;
  pointer-events: none !important;
}

.tcm-deck-card.is-swiping-right {
  transform: translate3d(130%, 15px, 0) rotate(14deg) !important;
  opacity: 0 !important;
  transition: transform 0.3s ease-out, opacity 0.25s ease-out !important;
  pointer-events: none !important;
}

/* Inner card styling */
.tcm-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.tcm-hero-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tcm-muted);
}

.tcm-hero-card-badge-pill {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  background-color: var(--tcm-bg);
  border: 1px solid var(--tcm-border);
  color: var(--tcm-fg);
  line-height: 1.2;
}

.tcm-hero-card-title {
  font-family: var(--tcm-font-sans);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.25;
  color: var(--tcm-fg);
}

.tcm-hero-card-desc {
  font-size: 13px;
  color: var(--tcm-muted);
  line-height: 1.42;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tcm-hero-card-highlights {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tcm-hero-card-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--tcm-fg);
  line-height: 1.35;
}

.tcm-hero-card-highlights .check-icon {
  flex-shrink: 0;
  color: var(--tcm-fg);
}

.tcm-hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--tcm-border);
  padding-top: 9px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--tcm-muted);
}

.tcm-hero-card-batch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.tcm-hero-card-pricing {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.tcm-hero-card-orig {
  font-size: 11.5px;
  color: var(--tcm-muted);
  text-decoration: line-through;
}

.tcm-hero-card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--tcm-fg);
  letter-spacing: -0.02em;
}

.tcm-hero-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.tcm-hero-card-actions .tcm-btn {
  width: 100%;
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
}

.tcm-hero-card-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--tcm-muted);
  text-align: center;
  text-decoration: none;
  transition: color 150ms ease;
  padding: 2px 0;
}

.tcm-hero-card-link:hover {
  color: var(--tcm-fg);
  text-decoration: underline;
}

/* Deck Footer: Indicators */
.tcm-hero-deck-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 4px;
}

.tcm-hero-deck-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tcm-deck-dot {
  width: 18px;
  height: 3px;
  background-color: rgba(17, 17, 17, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 200ms ease;
}

.tcm-deck-dot:hover {
  background-color: rgba(17, 17, 17, 0.5);
}

.tcm-deck-dot.is-active {
  width: 32px;
  background-color: var(--tcm-fg);
}

.tcm-hero-deck-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--tcm-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 480px) {
  .tcm-hero-visual {
    padding: 16px 12px 14px;
    min-height: auto;
  }
  .tcm-hero-deck-stack {
    max-width: 330px;
  }
  .tcm-deck-card {
    padding: 14px 14px;
  }
  .tcm-hero-card-title {
    font-size: 16px;
    font-weight: 700;
  }
  .tcm-hero-card-desc {
    font-size: 12.5px;
    -webkit-line-clamp: 2;
  }
  .tcm-hero-card-actions .tcm-btn {
    height: 38px;
    font-size: 13px;
  }
  .tcm-hero-deck-topbar {
    margin-bottom: 26px;
  }
}

/* ==========================================================================
   HIRING PARTNERS SECTION (800+ COMPANIES) & DUAL-ROW MARQUEE
   ========================================================================== */
.font-editorial-serif {
  font-family: var(--tcm-font-display, 'Instrument Serif', Georgia, serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

.tcm-companies-section {
  padding: clamp(32px, 4vw, 44px) 0;
  background-color: var(--tcm-bg);
  border-bottom: 1px solid var(--tcm-border);
  position: relative;
  overflow: hidden;
}

.tcm-companies-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.tcm-companies-header .tcm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tcm-companies-header .tcm-eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--tcm-fg);
}

.tcm-companies-marquee-wrap {
  margin-top: 36px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tcm-marquee-row {
  overflow: hidden;
  width: 100%;
  display: flex;
}

.tcm-marquee-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  will-change: transform;
}

.tcm-marquee-track:hover {
  animation-play-state: paused;
}

.tcm-marquee-track-left {
  animation: tcmMarqueeScrollLeft 36s linear infinite;
}

.tcm-marquee-track-right {
  animation: tcmMarqueeScrollRight 40s linear infinite;
}

@keyframes tcmMarqueeScrollLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes tcmMarqueeScrollRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .tcm-marquee-track-left,
  .tcm-marquee-track-right {
    animation: none;
    overflow-x: auto;
    width: 100%;
    justify-content: center;
  }
}

.tcm-company-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  flex-shrink: 0;
  opacity: 0.62;
  filter: grayscale(100%);
  transition: opacity 200ms ease, filter 200ms ease, transform 200ms ease;
  user-select: none;
}

.tcm-company-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.tcm-company-logo svg {
  height: 24px;
  width: auto;
  display: block;
}

.tcm-companies-cta {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .tcm-companies-section {
    padding: 42px 0 38px 0;
  }
  .tcm-companies-marquee-wrap {
    margin-top: 24px;
    margin-bottom: 24px;
    gap: 16px;
  }
  .tcm-marquee-track {
    gap: 32px;
  }
  .tcm-company-logo svg {
    height: 20px;
  }
}

/* ==========================================================================
   CATEGORY BAR
   ========================================================================== */
.tcm-categories-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--tcm-border);
  background-color: var(--tcm-surface);
}

.tcm-categories-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tcm-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tcm-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: var(--tcm-bg);
  border: 1px solid var(--tcm-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--tcm-fg);
  text-decoration: none;
  transition: all 150ms ease;
}

.tcm-cat-pill:hover,
.tcm-cat-pill.active {
  background-color: var(--tcm-fg);
  color: var(--tcm-bg);
  border-color: var(--tcm-fg);
}

/* ==========================================================================
   CATEGORY TRACK CARDS & GRID (Homepage Discovery)
   ========================================================================== */
.tcm-track-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .tcm-track-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tcm-track-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tcm-track-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  padding: 30px 28px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: border-color 150ms ease, transform 150ms ease, background-color 150ms ease;
  height: 100%;
}

.tcm-track-card:hover {
  border-color: var(--tcm-fg);
  transform: translateY(-2px);
  background-color: #FFFFFF;
}

.tcm-track-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tcm-track-index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tcm-muted);
}

.tcm-track-count-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background-color: var(--tcm-bg);
  border: 1px solid var(--tcm-border);
  color: var(--tcm-fg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tcm-track-icon {
  font-size: 26px;
  color: var(--tcm-fg);
  margin-bottom: 12px;
  display: inline-block;
}

.tcm-track-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--tcm-fg);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.tcm-track-desc {
  font-size: 13.5px;
  color: var(--tcm-muted);
  line-height: 1.55;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.tcm-track-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.tcm-track-tag {
  font-size: 11px;
  font-weight: 500;
  color: #333333;
  background-color: var(--tcm-bg);
  padding: 3px 8px;
  border: 1px solid rgba(222, 221, 216, 0.7);
}

.tcm-track-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--tcm-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--tcm-fg);
}

.tcm-track-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 150ms ease;
}

.tcm-track-card:hover .tcm-track-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   COURSE CARDS & GRID (3 Col Desktop, 2 Col Tablet, 1 Col Mobile)
   ========================================================================== */
.tcm-course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .tcm-course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tcm-course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tcm-course-card {
  display: flex;
  flex-direction: column;
  background-color: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  padding: 24px;
  position: relative;
  transition: border-color 200ms ease, transform 200ms ease;
  height: 100%;
}

.tcm-course-card:hover {
  border-color: var(--tcm-fg);
  transform: translateY(-2px);
}

.tcm-course-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tcm-course-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tcm-muted);
}

.tcm-course-level {
  font-size: 11px;
  font-weight: 500;
  color: var(--tcm-muted);
  border: 1px solid var(--tcm-border);
  padding: 2px 8px;
}

.tcm-course-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px 0;
  color: var(--tcm-fg);
  min-height: 52px;
}

.tcm-course-title a {
  color: inherit;
  text-decoration: none;
}

.tcm-course-title a:hover {
  text-decoration: underline;
}

.tcm-course-desc {
  font-size: 14px;
  color: var(--tcm-muted);
  line-height: 1.5;
  margin: 0 0 20px 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tcm-course-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--tcm-muted);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--tcm-border);
}

.tcm-course-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tcm-course-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.tcm-course-price-wrap {
  display: flex;
  flex-direction: column;
}

.tcm-course-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--tcm-fg);
  letter-spacing: -0.02em;
}

.tcm-course-orig-price {
  font-size: 13px;
  color: #999999;
  text-decoration: line-through;
  margin-left: 6px;
}

.tcm-course-usd {
  font-size: 12px;
  color: var(--tcm-muted);
}

/* ==========================================================================
   WORKSHOP SECTION
   ========================================================================== */
.tcm-workshop-section {
  border-bottom: 1px solid var(--tcm-border);
  background-color: var(--tcm-bg);
}

.tcm-workshop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 920px) {
  .tcm-workshop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tcm-workshop-card {
  background-color: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease;
}

.tcm-workshop-card:hover {
  border-color: var(--tcm-fg);
}

.tcm-workshop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tcm-fg);
  margin-bottom: 16px;
}

.tcm-workshop-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #000000;
}

.tcm-workshop-title {
  font-family: var(--tcm-font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 12px 0;
  color: var(--tcm-fg);
}

.tcm-workshop-desc {
  font-size: 14px;
  color: var(--tcm-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.tcm-workshop-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--tcm-fg);
}

.tcm-workshop-highlights li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.tcm-workshop-highlights li::before {
  content: '—';
  color: var(--tcm-muted);
}

.tcm-workshop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--tcm-border);
  padding-top: 20px;
  margin-top: auto;
}

.tcm-workshop-pricing {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex-shrink: 0;
}

.tcm-workshop-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tcm-workshop-price-tag {
  font-size: 26px;
  font-weight: 700;
  color: var(--tcm-fg);
  line-height: 1;
}

.tcm-workshop-price-orig {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

.tcm-workshop-batch-meta {
  font-size: 11.5px;
  color: var(--tcm-muted);
  white-space: nowrap;
}

.tcm-workshop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tcm-workshop-footer .tcm-btn {
  height: 36px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
}

.tcm-workshop-footer .tcm-btn svg.arrow-icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 680px) {
  .tcm-workshop-card {
    padding: 24px 18px;
  }
  .tcm-workshop-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .tcm-workshop-pricing {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
  }
  .tcm-workshop-actions {
    width: auto;
  }
  .tcm-workshop-actions .tcm-btn,
  .tcm-workshop-footer > .tcm-btn {
    width: auto;
    height: 36px;
    padding: 0 14px;
    font-size: 12px;
    justify-content: center;
  }
}

/* ==========================================================================
   HOW LEARNING WORKS (Dark Process Section #111111)
   ========================================================================== */
.tcm-process-section {
  background-color: var(--tcm-dark);
  color: var(--tcm-dark-fg);
  padding: clamp(48px, 6vw, 68px) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--tcm-dark-border);
  border-bottom: 1px solid var(--tcm-dark-border);
}

.tcm-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .tcm-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tcm-process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tcm-process-step {
  border: 1px solid var(--tcm-dark-border);
  padding: 28px;
  background-color: rgba(255, 255, 255, 0.02);
  position: relative;
  transition: border-color 200ms ease;
}

.tcm-process-step:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.tcm-step-num {
  font-family: var(--tcm-font-display);
  font-size: 36px;
  color: var(--tcm-dark-muted);
  line-height: 1;
  margin-bottom: 16px;
}

.tcm-step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--tcm-dark-fg);
  margin: 0 0 10px 0;
}

.tcm-step-desc {
  font-size: 14px;
  color: var(--tcm-dark-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   WHY TCM ONE / TRUST GRID
   ========================================================================== */
.tcm-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .tcm-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tcm-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tcm-trust-item {
  background-color: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  padding: 30px;
  transition: border-color 160ms ease;
}

.tcm-trust-item:hover {
  border-color: var(--tcm-fg);
}

.tcm-trust-icon {
  font-size: 24px;
  color: var(--tcm-fg);
  margin-bottom: 16px;
}

.tcm-trust-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.tcm-trust-desc {
  font-size: 14px;
  color: var(--tcm-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.tcm-faq-list {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tcm-faq-item {
  border: 1px solid var(--tcm-border);
  background-color: var(--tcm-surface);
  transition: border-color 160ms ease;
}

.tcm-faq-item:hover,
.tcm-faq-item[open] {
  border-color: var(--tcm-fg);
}

.tcm-faq-summary {
  padding: 20px clamp(16px, 3vw, 24px);
  font-size: 16px;
  font-weight: 600;
  color: var(--tcm-fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  user-select: none;
}

.tcm-faq-summary::-webkit-details-marker {
  display: none;
}

.tcm-faq-summary i {
  flex-shrink: 0;
  transition: transform 200ms ease;
  font-size: 14px;
}

.tcm-faq-summary:focus-visible {
  outline: 2px solid var(--tcm-fg);
  outline-offset: -4px;
}

.tcm-faq-item[open] .tcm-faq-summary i {
  transform: rotate(45deg);
}

.tcm-faq-body {
  padding: 0 clamp(16px, 3vw, 24px) 22px;
  font-size: 15px;
  color: var(--tcm-muted);
  line-height: 1.65;
  border-top: 1px solid var(--tcm-border);
  margin-top: -4px;
  padding-top: 16px;
}

.tcm-faq-body p { margin: 0; }

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.tcm-final-cta {
  background-color: var(--tcm-surface);
  border-top: 1px solid var(--tcm-border);
  border-bottom: 1px solid var(--tcm-border);
  padding: clamp(44px, 5vw, 60px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tcm-final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Public footer styles are shared in tcm-footer.css. */

/* ==========================================================================
   FORM CONTROLS (48-52px input heights, 0px radius, 1px border)
   ========================================================================== */
.tcm-form-group {
  margin-bottom: 20px;
}

.tcm-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tcm-fg);
  margin-bottom: 8px;
}

.tcm-form-input,
.tcm-form-select,
.tcm-form-textarea {
  display: block;
  min-width: 0;
  width: 100%;
  height: var(--tcm-input-h);
  padding: 0 16px;
  font-family: var(--tcm-font-sans);
  font-size: 15px;
  color: var(--tcm-fg);
  background-color: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  border-radius: 0px !important;
  outline: none;
  transition: border-color 160ms ease;
  box-sizing: border-box;
}

.tcm-form-textarea,
textarea.tcm-form-input {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.tcm-form-input:focus,
.tcm-form-select:focus,
.tcm-form-textarea:focus {
  border-color: var(--tcm-fg);
  outline: 1px solid var(--tcm-fg);
  outline-offset: 1px;
}

.tcm-form-input::placeholder,
.tcm-form-textarea::placeholder {
  color: #999999;
}

/* Modals */
.tcm-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tcm-modal-overlay.active {
  display: flex;
}

.tcm-modal {
  background: var(--tcm-surface);
  border: 1px solid var(--tcm-fg);
  width: 100%;
  max-width: 520px;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  box-shadow: 12px 12px 0px rgba(17, 17, 17, 0.12);
  max-height: 90vh;
  overflow-y: auto;
}

.tcm-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: 1px solid var(--tcm-border);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--tcm-fg);
  transition: all 120ms ease;
}

.tcm-modal-close:hover {
  background-color: var(--tcm-fg);
  color: var(--tcm-bg);
}

/* ==========================================================================
   CERTIFICATIONS — simple monochrome certificate gallery
   ========================================================================== */
.tcm-cert-section {
  scroll-margin-top: 90px;
  background: #090e1a;
  color: #fff;
  padding: clamp(56px, 7vw, 84px) 0 clamp(64px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.tcm-cert-heading {
  text-align: center;
  max-width: 920px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  padding: 0 20px;
}

.tcm-cert-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.tcm-cert-eyebrow::before,
.tcm-cert-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.tcm-cert-heading-title {
  color: #fff;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  margin: 20px 0 0;
  letter-spacing: -0.02em;
}

.tcm-cert-heading-title .font-editorial-serif {
  display: inline-block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
  margin-top: 4px;
}

/* Blueprint Grid Wrap */
.tcm-cert-blueprint-wrap {
  position: relative;
  width: 100%;
}

.tcm-cert-guide-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 1;
  pointer-events: none;
}

.tcm-cert-guide-top {
  top: 0;
}

.tcm-cert-guide-bottom {
  bottom: 0;
}

.tcm-cert-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.tcm-cert-blueprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

/* Center vertical grid divider line */
.tcm-cert-blueprint-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 1;
}

/* Each certificate cell */
.tcm-cert-cell {
  padding: clamp(32px, 5vw, 64px) clamp(20px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tcm-cert-card {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.5));
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), filter 240ms ease;
}

.tcm-cert-card:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.7));
}

.tcm-cert-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 8px;
}

.tcm-cert-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Intersection Node Dots */
.tcm-cert-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #5a739c;
  box-shadow: 0 0 0 2px rgba(9, 14, 26, 0.95), 0 0 8px rgba(120, 170, 240, 0.65);
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
}

.node-top-left { top: 0; left: 0; }
.node-top-center { top: 0; left: 50%; }
.node-top-right { top: 0; left: 100%; }

.node-bottom-left { top: 100%; left: 0; }
.node-bottom-center { top: 100%; left: 50%; }
.node-bottom-right { top: 100%; left: 100%; }

.node-edge-left { top: 0; left: -60px; }
.node-edge-right { top: 0; left: calc(100% + 60px); }
.node-bottom-edge-left { top: 100%; left: -60px; }
.node-bottom-edge-right { top: 100%; left: calc(100% + 60px); }

@media (max-width: 991px) {
  .node-edge-left,
  .node-edge-right,
  .node-bottom-edge-left,
  .node-bottom-edge-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .tcm-cert-blueprint-grid {
    grid-template-columns: 1fr;
  }
  .tcm-cert-blueprint-grid::before {
    display: none;
  }
  .tcm-cert-cell:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .node-top-center,
  .node-bottom-center {
    display: none;
  }
}

/* ==========================================================================
   BADGES & PILLS
   ========================================================================== */
.tcm-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--tcm-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--tcm-border);
  background: var(--tcm-surface);
  color: var(--tcm-fg);
  line-height: 1.4;
  white-space: nowrap;
}

.tcm-badge.tcm-badge-dark {
  background: var(--tcm-fg);
  color: var(--tcm-bg);
  border-color: var(--tcm-fg);
}

/* ==========================================================================
   STICKY BOTTOM ENROLLMENT BAR (Courses & Workshops Detail Pages)
   ========================================================================== */
.tcm-sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--tcm-border);
  box-shadow: 0 -8px 24px rgba(17, 17, 17, 0.08);
  z-index: 999;
  padding: 12px 0;
  box-sizing: border-box;
}

.tcm-sticky-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.tcm-sticky-bottom-info {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.tcm-sticky-bottom-title {
  font-family: var(--tcm-font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--tcm-fg);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}

.tcm-sticky-bottom-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.tcm-sticky-bottom-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  min-width: 0;
  line-height: 1.15;
}

.tcm-sticky-bottom-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.tcm-sticky-bottom-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--tcm-fg);
  letter-spacing: -0.02em;
}

.tcm-sticky-bottom-orig {
  font-size: 12.5px;
  color: var(--tcm-muted);
  text-decoration: line-through;
}

.tcm-sticky-bottom-sub {
  font-size: 11px;
  color: var(--tcm-muted);
  white-space: nowrap;
  margin-top: 3px;
  font-weight: 500;
}

.tcm-sticky-bottom-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tcm-sticky-bottom-btn {
  height: 42px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .tcm-sticky-bottom-bar {
    padding: 10px 0;
  }
  .tcm-sticky-bottom-right {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .tcm-sticky-bottom-pricing {
    align-items: flex-start;
  }
  .tcm-sticky-bottom-price {
    font-size: 18px;
  }
  .tcm-sticky-bottom-sub {
    font-size: 10.5px;
  }
  .tcm-sticky-bottom-btn {
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
   COURSE CATALOG BUTTON TOGGLE FILTERS
   ========================================================================== */
.tcm-filter-container {
  background-color: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  margin-top: 24px;
}

.tcm-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.tcm-catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto 200px; align-items: center; gap: 12px; padding: 16px; }
.tcm-catalog-search { position: relative; min-width: 0; }
.tcm-catalog-search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tcm-muted); pointer-events: none; }
.tcm-catalog-search .tcm-form-input { padding-left: 44px; }
.tcm-catalog-filter-toggle { height: var(--tcm-input-h); padding-inline: 18px; }
.tcm-catalog-filter-toggle[aria-expanded="true"] { background: var(--tcm-fg); color: #fff !important; border-color: var(--tcm-fg); }
.tcm-catalog-filter-chevron { font-size: 11px; transition: transform 160ms ease; }
.tcm-catalog-filter-toggle[aria-expanded="true"] .tcm-catalog-filter-chevron { transform: rotate(180deg); }
.tcm-catalog-filter-count { font-size: 11px; min-width: 20px; padding: 2px 5px; background: var(--tcm-fg); color: #fff; line-height: 1.4; }
.tcm-catalog-filter-toggle[aria-expanded="true"] .tcm-catalog-filter-count { background: #fff; color: var(--tcm-fg); }
.tcm-catalog-sort { min-width: 0; }
.tcm-catalog-sort .tcm-form-select { font-size: 14px; }
.tcm-catalog-filter-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; padding: 24px; border-top: 1px solid var(--tcm-border); }
.tcm-catalog-filter-panel[hidden], .tcm-catalog-filter-count[hidden] { display: none; }
.tcm-catalog-filter-heading, .tcm-catalog-categories, .tcm-catalog-filter-actions { grid-column: 1 / -1; }
.tcm-catalog-filter-heading, .tcm-catalog-filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tcm-catalog-filter-heading h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.tcm-catalog-reset { color: var(--tcm-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; background: none; border: 0; padding: 8px 0; }
.tcm-catalog-reset:hover { color: var(--tcm-fg); }
.tcm-catalog-filter-actions { border-top: 1px solid var(--tcm-border); padding-top: 20px; }
.tcm-catalog-filter-actions p { margin: 0; color: var(--tcm-muted); font-size: 12px; }
.tcm-catalog-filter-panel .tcm-filter-pills { gap: 8px; }
.tcm-catalog-filter-panel .tcm-pill-btn { min-height: 40px; white-space: normal; text-align: left; }
.tcm-catalog-filter-panel .tcm-pill-btn-sm { font-size: 13px; padding: 8px 14px; }
.tcm-catalog-filter-panel .tcm-filter-group { min-width: 0; }
.tcm-catalog-filter-toggle:focus-visible, .tcm-catalog-reset:focus-visible, .tcm-catalog-filter-panel .tcm-pill-btn:focus-visible { outline: 2px solid var(--tcm-fg); outline-offset: 3px; }
@media (max-width: 640px) {
  .tcm-catalog-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px; gap: 10px; }
  .tcm-catalog-search { grid-column: 1 / -1; }
  .tcm-catalog-filter-toggle { justify-content: center; padding-inline: 12px; }
  .tcm-catalog-filter-panel { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; gap: 24px; }
  .tcm-catalog-filter-actions { align-items: stretch; flex-direction: column; }
  .tcm-catalog-filter-panel .tcm-pill-btn { font-size: 12px; padding: 9px 11px; }
}

.tcm-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tcm-filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tcm-muted);
}

.tcm-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tcm-pill-btn {
  background: var(--tcm-surface);
  color: var(--tcm-fg);
  border: 1px solid var(--tcm-border);
  padding: 7px 14px;
  font-family: var(--tcm-font-sans);
  font-size: 13px;
  font-weight: 500;
  border-radius: 0px !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.tcm-pill-btn:hover {
  background: #F4F3EF;
  border-color: var(--tcm-fg);
}

.tcm-pill-btn.active {
  background: var(--tcm-fg) !important;
  color: #FFFFFF !important;
  border-color: var(--tcm-fg) !important;
  font-weight: 600;
}

.tcm-pill-btn-sm {
  padding: 5px 11px;
  font-size: 12px;
}

.tcm-pill-count {
  font-size: 11px;
  opacity: 0.7;
}

.tcm-filter-subrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--tcm-border);
}

/* ==========================================================================
   HOMEPAGE VERIFIED STUDENT REVIEWS SECTION
   ========================================================================== */
.tcm-reviews-section {
  padding-top: clamp(40px, 5.5vw, 64px);
  padding-bottom: clamp(40px, 5.5vw, 64px);
  border-top: 1px solid var(--tcm-border);
  background-color: var(--tcm-bg);
}

.tcm-review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .tcm-review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tcm-review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tcm-review-card {
  background: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 180ms ease, transform 180ms ease;
  position: relative;
}

.tcm-review-card:hover {
  border-color: var(--tcm-fg);
  transform: translateY(-2px);
}

.tcm-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tcm-review-stars {
  display: flex;
  gap: 3px;
  color: #EAB308;
  font-size: 13px;
}

.tcm-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111111;
  background: #f5f5f5;
  border: 1px solid #111111;
  padding: 3px 8px;
  line-height: 1;
}

.tcm-review-badge i {
  color: #111111 !important;
  font-size: 11px;
}

.tcm-review-quote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--tcm-fg);
  margin: 0 0 20px 0;
  flex-grow: 1;
  font-style: italic;
}

.tcm-review-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid var(--tcm-border);
}

.tcm-review-avatar {
  display: none !important;
}

.tcm-review-info {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.tcm-review-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tcm-fg);
}

.tcm-review-track {
  font-size: 11.5px;
  color: var(--tcm-muted);
  margin-top: 2px;
}

/* All Reviews Page Styles */
.tcm-reviews-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 56px);
  background: var(--tcm-bg);
  border-bottom: 1px solid var(--tcm-border);
}

.tcm-reviews-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.tcm-reviews-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--tcm-border);
  padding: 18px 20px;
}

.tcm-reviews-stat-val {
  font-family: var(--tcm-font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: var(--tcm-fg);
  letter-spacing: -0.02em;
}

.tcm-reviews-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tcm-muted);
  margin-top: 6px;
}

.tcm-review-detailed-card {
  background: #FFFFFF;
  border: 1px solid var(--tcm-border);
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color 0.2s ease;
}

.tcm-review-detailed-card:hover {
  border-color: var(--tcm-fg);
}

.tcm-review-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.tcm-review-hl-item {
  background: #FAFAFA;
  border: 1px solid var(--tcm-border);
  padding: 10px 14px;
}

.tcm-review-hl-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tcm-muted);
  margin-bottom: 3px;
}

.tcm-review-hl-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--tcm-fg);
}

/* ==========================================================================
   INSTITUTIONS / PARTNER PAGE COMMERCIALS & CALCULATOR
   ========================================================================== */
.tcm-matrix-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--tcm-border);
  background: var(--tcm-surface);
  margin-top: 24px;
}

.tcm-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.tcm-matrix-table th {
  background: #F4F3EF;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--tcm-border);
  color: var(--tcm-fg);
}

.tcm-matrix-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--tcm-border);
  color: var(--tcm-fg);
}

.tcm-matrix-table tr:hover td {
  background: rgba(248, 247, 244, 0.6);
}

.tcm-calc-box {
  background: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  padding: 32px;
  margin-top: 28px;
}

.tcm-calc-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tcm-border);
  margin-bottom: 24px;
}

.tcm-calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 992px) {
  .tcm-calc-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
  }
}

.tcm-calc-metric {
  background: var(--tcm-bg);
  border: 1px solid var(--tcm-border);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}

.tcm-calc-metric-num {
  font-family: var(--tcm-font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  color: var(--tcm-fg);
  line-height: 1;
  margin: 8px 0;
}

/* ==========================================================================
   TOOLS & LANGUAGES — editorial typography and a monochrome toolkit directory
   ========================================================================== */
.tcm-tools-section {
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--tcm-surface);
  border-block: 1px solid var(--tcm-border);
  scroll-margin-top: 90px;
}
.tcm-tools-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.tcm-tools-copy, .tcm-tools-directory { min-width: 0; }
.tcm-tools-eyebrow { margin-bottom: 18px; }
.tcm-tools-heading { margin: 0 0 20px; max-width: 560px; }
.tcm-tools-desc { font-family: var(--tcm-font-sans); font-size: 15px; line-height: 1.75; color: var(--tcm-muted); margin: 0 0 28px; max-width: 520px; }
.tcm-tools-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tcm-tools-directory-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; }
.tcm-tools-directory-header > :last-child { color: var(--tcm-muted); font-size: 12px; }
.tcm-tools-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--tcm-border); border-left: 1px solid var(--tcm-border); }
.tcm-tool-card { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 76px; padding: 18px; background: var(--tcm-surface); border: 0; border-right: 1px solid var(--tcm-border); border-bottom: 1px solid var(--tcm-border); border-radius: 0; box-shadow: none; }
.tcm-tool-icon { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; filter: grayscale(1); }
.tcm-tool-icon svg { width: 100%; height: 100%; display: block; }
.tcm-tool-name { font-family: var(--tcm-font-sans); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--tcm-fg); overflow-wrap: anywhere; }
@media (min-width: 1024px) {
  .tcm-tools-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(36px, 4vw, 64px); }
}
@media (max-width: 639px) {
  .tcm-tools-directory-header { flex-wrap: wrap; gap: 8px; }
  .tcm-tools-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcm-tool-card { padding: 16px; }
  .tcm-tool-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 379px) {
  .tcm-tool-card { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 100px; }
  .tcm-tool-card:last-child:nth-child(odd) { flex-direction: row; align-items: center; min-height: 66px; }
  .tcm-tools-actions { align-items: stretch; flex-direction: column; }
}

/* Shared decorative markers used by the demo dialog. */
.tool-dot { width: 8px; height: 8px; display: inline-block; flex-shrink: 0; }
.tool-dot-blue { background-color: #2563eb; }
.tool-dot-orange { background-color: #ea580c; }
.tcm-btn-pill { border-radius: 6px !important; height: 44px; padding: 0 22px; font-size: 14px; font-weight: 600; }

/* ===========================================================================
   GLOBAL LEARNING
   =========================================================================== */
.tcm-global-section {
  padding: clamp(48px, 7vw, 92px) 0;
  background: #111111;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.tcm-global-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 75%, transparent);
}
.tcm-global-section .tcm-container { position: relative; z-index: 1; }
.tcm-global-layout { display: grid; gap: clamp(32px, 5vw, 76px); align-items: start; }
.tcm-global-intro { max-width: 650px; }
.tcm-global-section .tcm-eyebrow { color: #b9b9b4; }
.tcm-global-title { color: #fff; margin: 12px 0 18px; max-width: 660px; }
.tcm-global-copy { max-width: 575px; color: #c7c7c1; font-size: 16px; line-height: 1.72; margin: 0; }
.tcm-global-signoff { color: #fff; font-family: var(--tcm-font-display); font-size: 21px; margin: 25px 0 29px; }
.tcm-global-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tcm-global-section .tcm-btn-primary {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #111111 !important;
}
.tcm-global-section .tcm-btn-primary span,
.tcm-global-section .tcm-btn-primary svg,
.tcm-global-section .tcm-btn-primary path {
  color: #111111 !important;
  stroke: #111111 !important;
}
.tcm-global-section .tcm-btn-primary:hover {
  background: var(--tcm-accent, #c5f467) !important;
  border-color: var(--tcm-accent, #c5f467) !important;
  color: #111111 !important;
}
.tcm-global-section .tcm-btn-primary:hover span,
.tcm-global-section .tcm-btn-primary:hover svg,
.tcm-global-section .tcm-btn-primary:hover path {
  color: #111111 !important;
  stroke: #111111 !important;
}
.tcm-global-section .tcm-btn-secondary {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.42);
}
.tcm-global-section .tcm-btn-secondary span {
  color: #ffffff !important;
}
.tcm-global-section .tcm-btn-secondary:hover {
  border-color: #ffffff !important;
  background: #ffffff !important;
  color: #111111 !important;
}
.tcm-global-section .tcm-btn-secondary:hover span,
.tcm-global-section .tcm-btn-secondary:hover i,
.tcm-global-section .tcm-btn-secondary:hover svg {
  color: #111111 !important;
}
.tcm-global-editorial { border-top: 1px solid rgba(255,255,255,.45); padding-top: 16px; }
.tcm-global-editorial-top { align-items: center; color: #a9a9a4; display: flex; font-size: 11px; justify-content: space-between; letter-spacing: .08em; padding-bottom: 18px; }
.tcm-global-editorial .tcm-label { color: #efefeb; }
.tcm-global-steps { border-top: 1px solid rgba(255,255,255,.2); }
.tcm-global-steps article { align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; gap: 17px; grid-template-columns: 26px minmax(0, 1fr); padding: 19px 0; }
.tcm-global-steps article > span { color: #9c9c97; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding-top: 4px; }
.tcm-global-steps h3 { color: #fff; font-family: var(--tcm-font-display); font-weight: 400; font-size: 24px; line-height: 1.08; margin: 0 0 7px; }
.tcm-global-steps p { color: #b9b9b4; font-size: 13px; line-height: 1.55; margin: 0; max-width: 335px; }
.tcm-global-editorial-note { color: #9e9e99; font-family: var(--tcm-font-display); font-weight: 400; font-size: 18px; line-height: 1.35; margin: 21px 0 0; max-width: 310px; }
.tcm-global-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(44px, 6vw, 78px); border-top: 1px solid rgba(255,255,255,.28); border-left: 1px solid rgba(255,255,255,.28); }
.tcm-global-benefit { min-width: 0; padding: 22px; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.tcm-global-benefit > span { color: #aaa; display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; margin-bottom: 22px; }
.tcm-global-benefit h3 { font-family: var(--tcm-font-display); font-weight: 400; font-size: 22px; line-height: 1.1; color: #fff; margin: 0 0 10px; }
.tcm-global-benefit p { color: #b6b6b0; font-size: 13px; line-height: 1.6; margin: 0; }
@media (min-width: 992px) {
  .tcm-global-layout { grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr); }
  .tcm-global-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .tcm-global-actions { flex-direction: column; align-items: stretch; }
  .tcm-global-actions .tcm-btn { justify-content: center; }
  .tcm-global-benefits { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CLASSROOM GALLERY & LEARNING IN ACTION
   ========================================================================== */
.tcm-gallery-section {
  padding: clamp(60px, 8vw, 96px) 0;
  background-color: var(--tcm-surface);
  border-top: 1px solid var(--tcm-border);
}

.tcm-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tcm-gallery-grid {
  column-count: 1;
  column-gap: 20px;
  column-fill: balance;
}

@media (min-width: 640px) {
  .tcm-gallery-grid {
    column-count: 2;
    column-gap: 20px;
  }
}

@media (min-width: 1024px) {
  .tcm-gallery-grid {
    column-count: 3;
    column-gap: 24px;
  }
}

.tcm-gallery-card {
  background: #ffffff;
  border: 1px solid var(--tcm-border);
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  cursor: pointer;
  vertical-align: top;
}

@media (max-width: 639px) {
  .tcm-gallery-card {
    margin-bottom: 18px;
  }
}

.tcm-gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--tcm-fg);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
}

.tcm-gallery-img-wrap {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #111111;
}

.tcm-gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tcm-gallery-card:hover .tcm-gallery-img {
  transform: scale(1.03);
}

.tcm-gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(17, 17, 17, 0.88);
  color: #ffffff;
  font-family: var(--tcm-font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.tcm-gallery-zoom-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--tcm-fg);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
  transform: translateY(4px);
  z-index: 2;
}

.tcm-gallery-card:hover .tcm-gallery-zoom-icon {
  opacity: 1;
  transform: translateY(0);
}

.tcm-gallery-body {
  padding: 16px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tcm-gallery-title {
  font-family: var(--tcm-font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--tcm-fg);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.tcm-gallery-desc {
  font-family: var(--tcm-font-sans);
  font-size: 13px;
  color: var(--tcm-muted);
  line-height: 1.5;
  margin: 0;
}

/* Real-world certificate social proof inside #certifications */
.tcm-cert-proof-banner {
  margin-top: 48px;
  background: var(--tcm-surface);
  border: 1px solid var(--tcm-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
}

@media (min-width: 860px) {
  .tcm-cert-proof-banner {
    grid-template-columns: 360px 1fr;
  }
}

.tcm-cert-proof-media {
  position: relative;
  min-height: 240px;
  background: #111;
  overflow: hidden;
  cursor: pointer;
}

.tcm-cert-proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tcm-cert-proof-media:hover img {
  transform: scale(1.04);
}

.tcm-cert-proof-copy {
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
