/*
Theme Name: Telemotion
Theme URI: https://telemotion.info
Author: Senzarr
Author URI: https://senzarr.co
Description: Custom theme for Telemotion. Low impact workplace wellness. Consolidates the Telemotion design system into a single cached stylesheet for faster page loads, with a sticky social rail, a reusable founder bio component carrying verified NASM credentials, and responsive images throughout.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: telemotion
Tags: wellness, custom-colors, responsive
*/

/* ═══════════════════════════════════════════════════════════
   1. TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
  --tm-navy: #1B2A49;
  --tm-navy-deep: #0F1A30;
  --tm-navy-l: #24375E;
  --tm-teal: #59D1B4;
  --tm-teal-deep: #0E9B7E;
  --tm-teal-light: #8FE6D0;
  --tm-mist: #F7F9FA;
  --tm-bg: #F6F8F7;
  --tm-paper: #FFFFFF;
  --tm-ink: #1B2A49;
  --tm-ink-soft: #52607A;
  --tm-ink-faint: #93A0B4;
  --tm-line: rgba(27, 42, 73, 0.09);

  --tm-r-lg: 26px;
  --tm-r: 18px;
  --tm-r-sm: 12px;

  --tm-shadow: 0 6px 28px rgba(27, 42, 73, 0.08);
  --tm-shadow-lg: 0 28px 64px rgba(27, 42, 73, 0.18);
  --tm-ease: cubic-bezier(.16, .84, .44, 1);

  --tm-nav-h: 72px;
  --tm-wrap: 1216px;
  --tm-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tm-font-disp: 'Outfit', var(--tm-font-body);
}

/* ═══════════════════════════════════════════════════════════
   2. RESET
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--tm-nav-h) + 20px);
}

body {
  margin: 0;
  background: var(--tm-paper);
  color: var(--tm-ink);
  font-family: var(--tm-font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tm-font-disp);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--tm-ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* Responsive images by default. This is the core fix for oversized
   images overflowing the viewport on any screen. */
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection { background: var(--tm-teal); color: var(--tm-navy); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2.5px solid var(--tm-teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.tm-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.tm-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--tm-navy); color: #fff; padding: 12px 20px;
  font-family: var(--tm-font-disp); font-weight: 600;
}
.tm-skip-link:focus { left: 12px; top: 12px; }

/* ═══════════════════════════════════════════════════════════
   3. LAYOUT
   ═══════════════════════════════════════════════════════════ */
.tm-wrap { max-width: var(--tm-wrap); margin: 0 auto; padding: 0 24px; }
.tm-wrap-md { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.tm-wrap-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.tm-sec { padding: clamp(64px, 9vw, 104px) 0; }
.tm-sec--mist { background: var(--tm-mist); }
.tm-sec--navy { background: var(--tm-navy-deep); color: #fff; }

.tm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--tm-font-disp); font-size: 11px; font-weight: 700;
  letter-spacing: 2.6px; text-transform: uppercase; color: var(--tm-teal-deep);
}
.tm-eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: currentColor; flex: none;
}
.tm-eyebrow--light { color: var(--tm-teal-light); }
.tm-eyebrow--center { justify-content: center; }

.tm-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; line-height: 1.1; margin-top: 18px;
}
.tm-title .tm-soft { color: var(--tm-ink-soft); }
.tm-title .tm-accent { color: var(--tm-teal); }

.tm-lede {
  margin-top: 18px; font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7; color: var(--tm-ink-soft);
}

.tm-center { text-align: center; }
.tm-head-center { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 56px); text-align: center; }

/* ═══════════════════════════════════════════════════════════
   4. BUTTONS
   ═══════════════════════════════════════════════════════════ */
.tm-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--tm-font-disp); font-weight: 700;
  font-size: clamp(14px, 1.6vw, 16px);
  padding: 14px 30px; border-radius: 999px;
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--tm-ease), box-shadow .22s ease, background .22s ease;
}
.tm-btn--primary { background: var(--tm-teal); color: var(--tm-navy); }
.tm-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(89, 209, 180, 0.42);
  background: var(--tm-teal-light);
}
.tm-btn--primary:active { transform: translateY(0) scale(.98); }

.tm-btn--outline {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.tm-btn--outline:hover { background: #fff; color: var(--tm-navy); border-color: #fff; }

.tm-btn--ink {
  background: transparent; color: var(--tm-navy);
  border: 1px solid var(--tm-navy);
}
.tm-btn--ink:hover { background: var(--tm-navy); color: #fff; }

.tm-btn .tm-arrow { display: inline-block; transition: transform .22s var(--tm-ease); }
.tm-btn:hover .tm-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════
   5. NAV
   ═══════════════════════════════════════════════════════════ */
.tm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.tm-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 28px rgba(27, 42, 73, 0.1);
  border-bottom-color: rgba(27, 42, 73, 0.07);
}
.tm-nav__in {
  max-width: var(--tm-wrap); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: padding .3s ease;
}
.tm-nav.is-scrolled .tm-nav__in { padding: 10px 24px; }

.tm-nav__brand { display: flex; align-items: center; gap: 12px; flex: none; }
.tm-nav__brand img {
  height: 44px; width: auto;
  transition: height .3s ease;
}
.tm-nav.is-scrolled .tm-nav__brand img { height: 36px; }
.tm-nav__brand-text {
  font-family: var(--tm-font-disp); font-weight: 700;
  font-size: 22px; color: var(--tm-navy); transition: font-size .3s ease;
}
.tm-nav.is-scrolled .tm-nav__brand-text { font-size: 19px; }

.tm-nav__menu {
  display: none; align-items: center; justify-content: center;
  gap: 28px; flex: 1; list-style: none; margin: 0; padding: 0;
}
.tm-nav__menu li { position: relative; }
.tm-nav__menu a {
  position: relative; display: block; padding-bottom: 3px;
  font-size: 13.5px; font-weight: 500; color: var(--tm-ink-soft);
  white-space: nowrap; transition: color .22s ease;
}
.tm-nav__menu a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 1.5px; background: var(--tm-teal); border-radius: 2px;
  transition: left .25s var(--tm-ease), right .25s var(--tm-ease);
}
.tm-nav__menu a:hover { color: var(--tm-navy); }
.tm-nav__menu a:hover::after { left: 0; right: 0; }
.tm-nav__menu .current-menu-item > a { color: var(--tm-navy); }
.tm-nav__menu .current-menu-item > a::after { left: 0; right: 0; }

.tm-nav__right { display: flex; align-items: center; gap: 16px; flex: none; }
.tm-nav__demo {
  display: none; font-size: 13.5px; font-weight: 500;
  color: var(--tm-ink-soft); white-space: nowrap;
  position: relative; padding-bottom: 2px; transition: color .22s ease;
}
.tm-nav__demo::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 1.5px; background: var(--tm-teal); border-radius: 2px;
  transition: left .25s var(--tm-ease), right .25s var(--tm-ease);
}
.tm-nav__demo:hover { color: var(--tm-navy); }
.tm-nav__demo:hover::after { left: 0; right: 0; }

.tm-nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tm-teal); color: var(--tm-navy);
  border-radius: 999px; padding: 10px 22px;
  font-family: var(--tm-font-disp); font-size: 14px; font-weight: 600;
  white-space: nowrap;
  transition: transform .22s var(--tm-ease), box-shadow .22s ease, background .22s ease, padding .3s ease;
}
.tm-nav__cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(89, 209, 180, 0.45);
  background: var(--tm-teal-light);
}
.tm-nav.is-scrolled .tm-nav__cta { padding: 8px 18px; font-size: 13px; }

.tm-burger {
  display: flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: rgba(27, 42, 73, 0.05); border: none;
  border-radius: 12px; cursor: pointer; flex: none;
  transition: background .2s ease;
}
.tm-burger:hover { background: rgba(27, 42, 73, 0.1); }
.tm-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--tm-navy); border-radius: 2px;
  transition: transform .32s var(--tm-ease), opacity .22s ease;
}
.tm-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tm-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.tm-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tm-drawer {
  display: none; flex-direction: column;
  background: rgba(255, 255, 255, 0.99);
  border-bottom: 1px solid rgba(27, 42, 73, 0.08);
  padding: 4px 24px 24px;
  list-style: none; margin: 0;
}
.tm-drawer.is-open { display: flex; animation: tmDrawerIn .28s var(--tm-ease) both; }
.tm-drawer a {
  display: block; font-family: var(--tm-font-disp);
  font-size: 17px; font-weight: 600; color: var(--tm-navy);
  padding: 13px 0; border-bottom: 1px solid rgba(27, 42, 73, 0.06);
  transition: color .2s ease, padding-left .2s ease;
}
.tm-drawer a:hover { color: var(--tm-teal-deep); padding-left: 6px; }
.tm-drawer li:last-child a { border-bottom: none; }
.tm-drawer__cta a {
  background: var(--tm-teal); border: none; border-radius: 999px;
  text-align: center; padding: 14px 20px; margin-top: 14px;
}
.tm-drawer__cta a:hover { padding-left: 20px; }

@media (min-width: 960px) {
  .tm-nav__menu, .tm-nav__demo { display: flex; }
  .tm-burger { display: none; }
}
@media (max-width: 480px) {
  .tm-nav__in { padding: 12px 16px; }
  .tm-nav__brand-text { font-size: 18px; }
  .tm-nav__brand img { height: 36px; }
  .tm-nav__cta { padding: 9px 16px; font-size: 13px; }
  .tm-drawer { padding: 4px 16px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   6. STICKY SOCIAL RAIL (all pages)
   ═══════════════════════════════════════════════════════════ */
.tm-social-rail {
  position: fixed; right: 18px; top: 50%;
  transform: translateY(-50%); z-index: 800;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.tm-social-rail__line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(27, 42, 73, 0), rgba(27, 42, 73, 0.22));
}
.tm-social-rail__line--up {
  background: linear-gradient(to top, rgba(27, 42, 73, 0), rgba(27, 42, 73, 0.22));
}
.tm-social-rail a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 42, 73, 0.1);
  box-shadow: 0 4px 16px rgba(27, 42, 73, 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: background .22s ease, transform .22s var(--tm-ease),
              border-color .22s ease, box-shadow .22s ease;
}
.tm-social-rail a svg { width: 17px; height: 17px; fill: var(--tm-navy); transition: fill .22s ease; }
.tm-social-rail a:hover {
  background: var(--tm-teal); border-color: var(--tm-teal);
  transform: translateX(-4px) scale(1.06);
  box-shadow: 0 10px 26px rgba(89, 209, 180, 0.42);
}
.tm-social-rail a:hover svg { fill: var(--tm-navy); }

@media (max-width: 640px) {
  .tm-social-rail { right: 10px; gap: 8px; }
  .tm-social-rail a { width: 36px; height: 36px; }
  .tm-social-rail a svg { width: 15px; height: 15px; }
  .tm-social-rail__line { height: 28px; }
}
@media print { .tm-social-rail, .tm-nav { display: none; } }

/* ═══════════════════════════════════════════════════════════
   7. HERO (home)
   Responsive image handling is the priority here. The picture fills
   the hero box with object-fit and the browser picks the right file
   size from srcset, so large screens are not sent a small image and
   phones are not sent a 2560px one.
   ═══════════════════════════════════════════════════════════ */
.tm-hero {
  position: relative; width: 100%;
  min-height: 88svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--tm-navy-deep);
}
.tm-hero__media { position: absolute; inset: 0; z-index: 0; }
.tm-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
.tm-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(15, 26, 48, 0.56) 0%,
    rgba(15, 26, 48, 0.3) 42%,
    rgba(15, 26, 48, 0.58) 100%);
}
.tm-hero__fade {
  position: absolute; bottom: 0; left: 0; width: 100%;
  height: clamp(70px, 14vw, 190px); z-index: 1;
  background: linear-gradient(to top, var(--tm-bg), rgba(246, 248, 247, 0));
}
.tm-hero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 960px; text-align: center;
  padding: clamp(110px, 15vw, 160px) clamp(20px, 6vw, 40px) clamp(70px, 11vw, 110px);
  display: flex; flex-direction: column; align-items: center;
}
.tm-hero h1 {
  font-size: clamp(32px, 6.4vw, 84px);
  font-weight: 800; line-height: 1.04; color: #fff;
  letter-spacing: -0.028em;
  text-shadow: 0 2px 30px rgba(15, 26, 48, 0.4);
}
.tm-hero h1 .tm-soft-w { color: rgba(255, 255, 255, 0.72); }
.tm-hero__copy {
  margin-top: clamp(16px, 3vw, 24px);
  font-size: clamp(15px, 2vw, 18px); line-height: 1.65;
  color: rgba(255, 255, 255, 0.9); max-width: 600px;
  text-shadow: 0 1px 16px rgba(15, 26, 48, 0.45);
}
.tm-hero__copy b { color: #fff; font-weight: 600; }
.tm-hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(24px, 4vw, 34px); justify-content: center;
}
.tm-hero__trust {
  margin-top: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px; padding: clamp(10px, 2vw, 14px) clamp(16px, 3vw, 22px);
  display: inline-flex; align-items: flex-start; gap: 12px;
  max-width: min(640px, 92vw); text-align: left;
}
.tm-hero__trust i {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--tm-teal); box-shadow: 0 0 0 4px rgba(89, 209, 180, 0.3);
  margin-top: 6px; font-style: normal;
}
.tm-hero__trust p {
  font-size: clamp(12px, 1.4vw, 13px); line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.tm-hero__trust b { color: #fff; font-weight: 600; }

@media (max-width: 480px) {
  .tm-hero__cta { flex-direction: column; align-items: center; width: 100%; }
  .tm-hero__cta .tm-btn { width: 100%; max-width: 320px; justify-content: center; }
  .tm-hero__media img { object-position: 62% 20%; }
}

/* Page hero for inner pages */
.tm-page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--tm-nav-h) + clamp(48px, 8vw, 80px)) 0 clamp(48px, 7vw, 76px);
  background: radial-gradient(ellipse 120% 85% at 15% -10%, var(--tm-navy-l), var(--tm-navy-deep) 62%);
  color: #fff;
}
.tm-page-hero__glow {
  position: absolute; top: -200px; right: -140px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 209, 180, 0.15), transparent 65%);
  pointer-events: none;
}
.tm-page-hero__in { position: relative; z-index: 1; }
.tm-page-hero h1 {
  color: #fff; font-size: clamp(32px, 5.6vw, 62px);
  font-weight: 800; margin-top: 20px; letter-spacing: -0.03em;
}
.tm-page-hero p {
  margin-top: 20px; font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7; color: rgba(255, 255, 255, 0.66); max-width: 560px;
}

/* ═══════════════════════════════════════════════════════════
   8. CARDS AND GRIDS
   ═══════════════════════════════════════════════════════════ */
.tm-grid { display: grid; gap: 24px; }
.tm-grid--2 { grid-template-columns: 1fr; }
.tm-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tm-grid--2, .tm-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tm-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.tm-card {
  background: var(--tm-paper); border: 1px solid var(--tm-line);
  border-radius: var(--tm-r-lg); padding: 30px;
  box-shadow: var(--tm-shadow);
  transition: transform .3s var(--tm-ease), box-shadow .3s ease;
}
.tm-card:hover { transform: translateY(-6px); box-shadow: var(--tm-shadow-lg); }
.tm-card h3 { font-size: clamp(17px, 2vw, 21px); font-weight: 700; }
.tm-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--tm-ink-soft); }

.tm-card__media {
  border-radius: var(--tm-r); overflow: hidden; margin-bottom: 20px;
  background: linear-gradient(150deg, var(--tm-navy), var(--tm-navy-l));
}
.tm-card__media img { width: 100%; height: auto; }

.tm-chip {
  display: inline-block; font-family: var(--tm-font-disp);
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 5px 13px; border-radius: 999px;
  background: rgba(89, 209, 180, 0.13); color: var(--tm-teal-deep);
}
.tm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tm-tags span {
  font-family: var(--tm-font-disp); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(89, 209, 180, 0.13); color: var(--tm-teal-deep);
}

.tm-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px; padding: 30px;
  box-shadow: 0 10px 34px rgba(27, 42, 73, 0.06);
  transition: transform .28s ease, box-shadow .28s ease;
}
.tm-glass:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(27, 42, 73, 0.12); }
.tm-stat-num {
  font-family: var(--tm-font-disp); font-weight: 700; font-size: clamp(32px, 4vw, 44px);
  color: var(--tm-navy); line-height: 1; letter-spacing: -0.02em;
}
.tm-stat-num small { color: var(--tm-teal-deep); }
.tm-stat-label { color: var(--tm-ink-soft); font-size: 15px; margin-top: 8px; }

/* Dark library cards */
.tm-lib-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.tm-lib-card {
  flex: 1 1 200px; position: relative; overflow: hidden;
  border-radius: 20px; padding: 30px 26px; min-height: 168px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(150deg, var(--tm-navy), var(--tm-navy-l));
  color: #fff; transition: transform .28s ease, box-shadow .28s ease;
}
.tm-lib-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(27, 42, 73, 0.28); }
.tm-lib-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 209, 180, 0.55), rgba(89, 209, 180, 0));
  transition: transform .4s ease;
}
.tm-lib-card:hover::before { transform: scale(1.4); }
.tm-lib-card .tm-k {
  font-family: var(--tm-font-disp); font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--tm-teal-light); position: relative;
}
.tm-lib-card .tm-t {
  font-family: var(--tm-font-disp); font-weight: 700; font-size: 26px;
  margin-top: 6px; position: relative;
}

/* ═══════════════════════════════════════════════════════════
   9. VIDEO EMBED
   ═══════════════════════════════════════════════════════════ */
.tm-vsl {
  position: relative; width: 100%; max-width: 940px; margin: 0 auto;
  border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px rgba(27, 42, 73, 0.28);
  background: var(--tm-navy); cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.tm-vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tm-vsl__thumb { position: absolute; inset: 0; z-index: 2; transition: opacity .4s ease; }
.tm-vsl__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .4s, transform .6s ease; }
.tm-vsl:hover .tm-vsl__thumb img { opacity: .68; transform: scale(1.03); }
.tm-vsl.is-playing .tm-vsl__thumb,
.tm-vsl.is-playing .tm-vsl__play { opacity: 0; pointer-events: none; }
.tm-vsl__play {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; transition: opacity .4s ease;
}
.tm-vsl__btn {
  width: 80px; height: 80px; border-radius: 50%; background: var(--tm-teal);
  display: flex; align-items: center; justify-content: center;
  animation: tmPulse 2.2s ease infinite;
  transition: transform .25s var(--tm-ease), box-shadow .25s ease;
}
.tm-vsl:hover .tm-vsl__btn { transform: scale(1.12); box-shadow: 0 16px 40px rgba(89, 209, 180, 0.55); }
.tm-vsl__btn svg { width: 30px; height: 30px; fill: var(--tm-navy); margin-left: 4px; }
.tm-vsl__label {
  font-family: var(--tm-font-disp); font-weight: 600; font-size: 14px;
  color: rgba(255, 255, 255, 0.92); letter-spacing: 1.5px; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

/* ═══════════════════════════════════════════════════════════
   10. FOUNDER BIO + VERIFIED BADGES (reusable everywhere)
   ═══════════════════════════════════════════════════════════ */
.tm-bio {
  background: var(--tm-paper); border: 1px solid var(--tm-line);
  border-radius: var(--tm-r-lg); padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--tm-shadow);
}
.tm-bio__top { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 30px); align-items: flex-start; }
.tm-bio__photo {
  width: 120px; height: 120px; flex: none; border-radius: 50%;
  overflow: hidden; border: 3px solid var(--tm-teal);
  box-shadow: 0 8px 24px rgba(89, 209, 180, 0.3);
}
.tm-bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-bio__id { flex: 1 1 240px; min-width: 0; }
.tm-bio__label {
  font-family: var(--tm-font-disp); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--tm-teal-deep);
}
.tm-bio__name {
  font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; margin-top: 8px;
}
.tm-bio__role {
  font-size: 13px; color: var(--tm-teal-deep); font-weight: 600;
  margin-top: 5px; letter-spacing: .3px;
}
.tm-bio__text {
  font-size: 15px; line-height: 1.75; color: var(--tm-ink-soft); margin-top: 16px;
}
.tm-bio__foot {
  margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--tm-line);
}
.tm-bio__foot-label {
  font-family: var(--tm-font-disp); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--tm-ink-faint);
  margin-bottom: 16px;
}
.tm-bio__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.tm-bio__socials { display: flex; gap: 9px; }
.tm-bio__socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(27, 42, 73, 0.055);
  display: flex; align-items: center; justify-content: center;
  transition: background .22s ease, transform .22s var(--tm-ease);
}
.tm-bio__socials a svg { width: 15px; height: 15px; fill: var(--tm-navy); }
.tm-bio__socials a:hover { background: var(--tm-teal); transform: translateY(-3px); }

/* Badge list, compact variant used inside bio cards */
.tm-badges { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .tm-badges { grid-template-columns: 1fr 1fr; } }

.tm-badge {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--tm-r);
  border: 1px solid var(--tm-line); background: var(--tm-mist);
  transition: border-color .22s ease, transform .22s var(--tm-ease), box-shadow .22s ease;
}
.tm-badge:hover {
  border-color: var(--tm-teal); transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27, 42, 73, 0.1);
}
.tm-badge__img { width: 52px; height: 52px; flex: none; }
.tm-badge__img img { width: 100%; height: 100%; object-fit: contain; }
.tm-badge__body { min-width: 0; }
.tm-badge__name {
  font-family: var(--tm-font-disp); font-weight: 700; font-size: 13.5px;
  color: var(--tm-ink); line-height: 1.3;
}
.tm-badge__meta {
  display: flex; align-items: center; gap: 7px; margin-top: 5px;
  font-size: 11px; color: var(--tm-ink-faint);
}
.tm-badge__verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--tm-font-disp); font-weight: 700; font-size: 10px;
  letter-spacing: .6px; text-transform: uppercase; color: var(--tm-teal-deep);
}
.tm-badge__verified svg { width: 11px; height: 11px; }

/* Full badge cards, used on the About page */
.tm-badge-card {
  background: var(--tm-paper); border: 1px solid var(--tm-line);
  border-radius: 24px; padding: 34px; box-shadow: var(--tm-shadow);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tm-badge-card:hover { transform: translateY(-6px); box-shadow: var(--tm-shadow-lg); }
.tm-badge-card__top { display: flex; align-items: flex-start; gap: 22px; }
.tm-badge-card__img { width: 104px; height: 104px; flex: none; display: flex; align-items: center; justify-content: center; }
.tm-badge-card__img img { width: 100%; height: 100%; object-fit: contain; }
.tm-badge-card__issuer {
  font-family: var(--tm-font-disp); font-size: 11px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--tm-teal-deep);
}
.tm-badge-card h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; margin-top: 8px; }
.tm-badge-card__desc { font-size: 14.5px; line-height: 1.7; color: var(--tm-ink-soft); margin-top: 16px; flex: 1; }
.tm-badge-card__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--tm-line);
}
.tm-pill-verified {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--tm-font-disp); font-size: 12px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase; color: var(--tm-teal-deep);
  background: rgba(89, 209, 180, 0.13); padding: 7px 14px; border-radius: 999px;
}
.tm-pill-verified svg { width: 13px; height: 13px; }
.tm-badge-card__link {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--tm-font-disp); font-size: 12.5px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase; color: var(--tm-teal-deep);
  transition: gap .22s ease;
}
.tm-badge-card__link:hover { gap: 11px; }
.tm-badge-card__link svg { width: 13px; height: 13px; }
@media (max-width: 520px) {
  .tm-badge-card__top { flex-direction: column; gap: 16px; }
  .tm-badge-card__link { margin-left: 0; }
}

/* Credential strip */
.tm-cred-strip { background: var(--tm-navy-deep); border-top: 1px solid rgba(255,255,255,0.07); padding: 32px 0; }
.tm-cred-strip__in { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; align-items: center; }
.tm-cred-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--tm-font-disp); font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.72);
}
.tm-cred-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--tm-teal); flex: none; font-style: normal; }

/* ═══════════════════════════════════════════════════════════
   11. SINGLE POST
   ═══════════════════════════════════════════════════════════ */
.tm-post-layout {
  display: flex; align-items: flex-start; gap: 44px;
  max-width: var(--tm-wrap); margin: 0 auto; padding: clamp(40px,6vw,64px) 24px clamp(64px,9vw,96px);
}
.tm-post-main { flex: 1 1 0%; min-width: 0; }
.tm-post-side { flex: 0 0 320px; position: sticky; top: calc(var(--tm-nav-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 1000px) {
  .tm-post-layout { flex-direction: column; gap: 40px; }
  .tm-post-side { flex: 1 1 auto; width: 100%; position: static; }
}

.tm-post-header h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; margin-top: 16px; }
.tm-post-meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.tm-post-meta__ava {
  width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden;
  background: linear-gradient(135deg, var(--tm-teal), var(--tm-navy-l));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tm-font-disp); font-weight: 800; font-size: 13px; color: #fff;
}
.tm-post-meta__ava img { width: 100%; height: 100%; object-fit: cover; }
.tm-post-meta__txt { font-size: 13px; color: var(--tm-ink-soft); line-height: 1.4; }
.tm-post-meta__txt strong { display: block; color: var(--tm-navy); font-weight: 600; }

.tm-post-hero {
  margin-top: 32px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(27, 42, 73, 0.14); background: var(--tm-navy);
}
.tm-post-hero img { width: 100%; height: auto; }

.tm-post-body { margin-top: 40px; font-size: 16.5px; line-height: 1.8; color: var(--tm-ink); }
.tm-post-body > * + * { margin-top: 22px; }
.tm-post-body h2 { font-size: clamp(22px,3vw,28px); font-weight: 700; margin-top: 44px; }
.tm-post-body h3 { font-size: clamp(19px,2.4vw,22px); font-weight: 700; margin-top: 36px; }
.tm-post-body ul, .tm-post-body ol { padding-left: 24px; }
.tm-post-body li + li { margin-top: 10px; }
.tm-post-body a { color: var(--tm-teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.tm-post-body strong { color: var(--tm-navy); font-weight: 700; }
.tm-post-body blockquote {
  margin: 28px 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--tm-teal);
  color: var(--tm-ink-soft); font-style: italic; font-size: 17px;
}
.tm-post-body img, .tm-post-body figure { border-radius: 16px; }
.tm-post-body figcaption { font-size: 13px; color: var(--tm-ink-faint); margin-top: 8px; text-align: center; }
.tm-post-body .wp-caption-text { font-size: 13px; color: var(--tm-ink-faint); }

.tm-post-nav { display: flex; gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--tm-line); }
.tm-post-nav a, .tm-post-nav span.tm-empty {
  flex: 1 1 0; display: block; padding: 20px 22px; border-radius: 16px;
  background: var(--tm-paper); border: 1px solid var(--tm-line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tm-post-nav a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(27,42,73,0.1); border-color: var(--tm-teal); }
.tm-post-nav span.tm-empty { visibility: hidden; }
.tm-post-nav__label {
  display: block; font-family: var(--tm-font-disp); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--tm-teal-deep); margin-bottom: 8px;
}
.tm-post-nav__title { font-family: var(--tm-font-disp); font-weight: 700; font-size: 15px; color: var(--tm-navy); line-height: 1.3; }
.tm-post-nav .tm-next { text-align: right; }
@media (max-width: 640px) { .tm-post-nav { flex-direction: column; } .tm-post-nav .tm-next { text-align: left; } }

/* Sidebar related list */
.tm-side-list { background: var(--tm-paper); border: 1px solid var(--tm-line); border-radius: 22px; padding: 24px 22px; box-shadow: var(--tm-shadow); }
.tm-side-list h4 {
  font-family: var(--tm-font-disp); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.tm-side-list a { display: block; padding: 12px 0; border-top: 1px solid var(--tm-line); }
.tm-side-list a:first-of-type { border-top: none; padding-top: 0; }
.tm-side-list__t {
  font-family: var(--tm-font-disp); font-weight: 600; font-size: 13.5px;
  color: var(--tm-navy); line-height: 1.35; transition: color .2s ease;
}
.tm-side-list a:hover .tm-side-list__t { color: var(--tm-teal-deep); }
.tm-side-list__d { display: block; font-size: 11px; color: var(--tm-ink-faint); margin-top: 5px; }

/* ═══════════════════════════════════════════════════════════
   12. ARCHIVE
   ═══════════════════════════════════════════════════════════ */
.tm-arch-toolbar {
  max-width: var(--tm-wrap); margin: 0 auto;
  padding: clamp(32px,5vw,44px) 24px 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.tm-search { position: relative; flex: 1 1 240px; max-width: 340px; }
.tm-search input {
  width: 100%; font-size: 14px; padding: 12px 18px 12px 44px;
  border-radius: 999px; border: 1.5px solid var(--tm-line);
  background: var(--tm-paper); color: var(--tm-ink); outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tm-search input:focus { border-color: var(--tm-teal); box-shadow: 0 0 0 4px rgba(89,209,180,0.15); }
.tm-search svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; stroke: var(--tm-ink-faint); fill: none; stroke-width: 2;
  pointer-events: none;
}
.tm-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.tm-filter {
  font-family: var(--tm-font-disp); font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--tm-line); background: transparent;
  color: var(--tm-ink-soft); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .22s ease;
}
.tm-filter em {
  font-style: normal; font-size: 10.5px; font-weight: 700;
  color: var(--tm-ink-faint); background: rgba(27,42,73,0.06);
  padding: 2px 7px; border-radius: 99px; transition: all .22s ease;
}
.tm-filter:hover { border-color: var(--tm-teal); color: var(--tm-teal-deep); transform: translateY(-1px); }
.tm-filter.is-active { background: var(--tm-navy); color: #fff; border-color: var(--tm-navy); }
.tm-filter.is-active em { background: rgba(255,255,255,0.15); color: var(--tm-teal-light); }

.tm-arch-hero {
  position: relative; overflow: hidden; border-radius: var(--tm-r-lg);
  min-height: 420px; display: flex; align-items: flex-end;
  margin-bottom: 26px; box-shadow: var(--tm-shadow-lg);
  isolation: isolate; background: var(--tm-navy);
}
.tm-arch-hero__media { position: absolute; inset: 0; z-index: -2; }
.tm-arch-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--tm-ease); }
.tm-arch-hero:hover .tm-arch-hero__media img { transform: scale(1.035); }
.tm-arch-hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,18,32,0.94) 0%, rgba(10,18,32,0.44) 52%, rgba(10,18,32,0.08) 100%);
}
.tm-arch-hero__body { padding: clamp(26px,4vw,48px); max-width: 780px; }
.tm-arch-hero h2 { font-size: clamp(24px,3.8vw,44px); font-weight: 800; color: #fff; margin-top: 18px; }
.tm-arch-hero p { color: rgba(255,255,255,0.7); font-size: clamp(14px,1.5vw,16px); margin-top: 14px; max-width: 560px; }
.tm-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--tm-font-disp); font-size: 11px; font-weight: 700;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--tm-teal-light);
  background: rgba(89,209,180,0.14); border: 1px solid rgba(89,209,180,0.3);
  padding: 7px 16px; border-radius: 999px;
}

.tm-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.tm-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px;
  font-family: var(--tm-font-disp); font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--tm-line); color: var(--tm-ink-soft);
  transition: all .2s ease;
}
.tm-pagination .page-numbers:hover { border-color: var(--tm-teal); color: var(--tm-teal-deep); }
.tm-pagination .page-numbers.current { background: var(--tm-navy); color: #fff; border-color: var(--tm-navy); }

/* ═══════════════════════════════════════════════════════════
   13. ROI CALCULATOR
   ═══════════════════════════════════════════════════════════ */
.tm-calc-sec {
  position: relative; overflow: hidden; padding: clamp(64px,9vw,104px) 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, var(--tm-navy-l), var(--tm-navy-deep) 65%);
}
.tm-calc-glow {
  position: absolute; top: -160px; right: -80px; width: 560px; height: 560px;
  border-radius: 50%; opacity: .3; pointer-events: none;
  background: radial-gradient(circle, var(--tm-teal), transparent 65%);
}
.tm-calc-panel {
  position: relative; z-index: 1; border-radius: 24px; padding: clamp(24px,4vw,40px);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.tm-calc-inputs { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .tm-calc-inputs { grid-template-columns: repeat(3,1fr); } }
.tm-calc-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tm-calc-label label { font-size: 12px; font-weight: 600; letter-spacing: .5px; color: rgba(255,255,255,0.6); }
.tm-calc-label output { font-family: var(--tm-font-disp); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

.tm-slider {
  -webkit-appearance: none; appearance: none; width: 100%;
  height: 6px; border-radius: 999px; background: rgba(255,255,255,0.18); outline: none;
}
.tm-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--tm-teal); border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(89,209,180,0.55); cursor: pointer;
}
.tm-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--tm-teal); border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(89,209,180,0.55); cursor: pointer;
}
.tm-select-wrap { position: relative; }
.tm-select {
  width: 100%; appearance: none; border-radius: 12px; padding: 10px 16px;
  font-size: 14px; font-weight: 500; outline: none; cursor: pointer;
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
/* Option popups render with the operating system background, so the
   colours must be set on the options themselves to stay readable. */
.tm-select option { background: var(--tm-navy-deep); color: #fff; }
.tm-select-wrap svg {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke: rgba(255,255,255,0.6); fill: none; stroke-width: 2;
  pointer-events: none;
}
.tm-calc-outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 1000px) { .tm-calc-outputs { grid-template-columns: repeat(4,1fr); } }
.tm-calc-out { border-radius: 16px; padding: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.tm-calc-out svg { width: 18px; height: 18px; stroke: var(--tm-teal); fill: none; stroke-width: 2; }
.tm-calc-out__val {
  font-family: var(--tm-font-disp); font-weight: 700; font-size: clamp(20px,2.4vw,24px);
  color: #fff; margin-top: 12px; font-variant-numeric: tabular-nums;
}
.tm-calc-out__label { font-size: 11px; margin-top: 4px; line-height: 1.4; color: rgba(255,255,255,0.55); }
.tm-calc-insight {
  margin-top: 32px; border-radius: 16px; padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(89,209,180,0.1); border: 1px solid rgba(89,209,180,0.25);
}
.tm-calc-insight svg { width: 20px; height: 20px; stroke: var(--tm-teal); fill: none; stroke-width: 2; flex: none; margin-top: 2px; }
.tm-calc-insight p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.tm-calc-disclaimer { margin-top: 24px; font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.4); }

/* ═══════════════════════════════════════════════════════════
   14. CONTACT FORM
   ═══════════════════════════════════════════════════════════ */
.tm-contact { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
@media (min-width: 1000px) { .tm-contact { grid-template-columns: 1.25fr 1fr; gap: 56px; } }

.tm-contact__form {
  background: var(--tm-paper); border: 1px solid var(--tm-line);
  border-radius: var(--tm-r-lg); padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--tm-shadow);
}
.tm-contact__side { position: sticky; top: calc(var(--tm-nav-h) + 24px); }
@media (max-width: 999px) { .tm-contact__side { position: static; } }

.tm-form { margin-top: 26px; }
.tm-form__row { display: block; margin: 0 0 20px; }
.tm-form__row label {
  display: block; font-family: var(--tm-font-disp);
  font-size: 13px; font-weight: 700; letter-spacing: .4px;
  color: var(--tm-navy); margin-bottom: 8px;
}
.tm-req { color: var(--tm-teal-deep); }

.tm-form input[type="text"],
.tm-form input[type="email"],
.tm-form textarea {
  width: 100%; font-family: var(--tm-font-body); font-size: 15px;
  color: var(--tm-ink); background: var(--tm-mist);
  border: 1.5px solid var(--tm-line); border-radius: 14px;
  padding: 14px 16px; outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.tm-form textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.tm-form input::placeholder, .tm-form textarea::placeholder { color: var(--tm-ink-faint); }
.tm-form input:focus, .tm-form textarea:focus {
  border-color: var(--tm-teal); background: var(--tm-paper);
  box-shadow: 0 0 0 4px rgba(89, 209, 180, 0.16);
}
/* Only flag a field once the person has actually interacted with it.
   :user-invalid handles this correctly. Browsers without support simply
   show no error tint, which is a safe fallback. */
.tm-form input:user-invalid,
.tm-form textarea:user-invalid {
  border-color: #E4A0A0;
  background: rgba(228, 160, 160, 0.06);
}

.tm-form button[type="submit"] { margin-top: 6px; }
.tm-form__note { margin-top: 16px; font-size: 12.5px; color: var(--tm-ink-faint); line-height: 1.6; }

/* Honeypot. Hidden without display none, which some bots detect. */
.tm-hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.tm-notice {
  display: flex; gap: 14px; align-items: flex-start;
  border-radius: var(--tm-r); padding: 20px 22px; margin-bottom: 4px;
}
.tm-notice p { margin-top: 6px; font-size: 14.5px; line-height: 1.65; }
.tm-notice__icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tm-font-disp); font-weight: 800; font-size: 14px;
}
.tm-notice__icon svg { width: 14px; height: 14px; }
.tm-notice--ok {
  background: rgba(89, 209, 180, 0.12);
  border: 1px solid rgba(89, 209, 180, 0.34);
  color: var(--tm-ink);
}
.tm-notice--ok .tm-notice__icon { background: var(--tm-teal); color: var(--tm-navy); }
.tm-notice--bad {
  background: rgba(220, 120, 120, 0.1);
  border: 1px solid rgba(220, 120, 120, 0.32);
  color: var(--tm-ink);
}
.tm-notice--bad .tm-notice__icon { background: #D97878; color: #fff; }

/* ═══════════════════════════════════════════════════════════
   15. FOOTER
   ═══════════════════════════════════════════════════════════ */
.tm-footer { background: var(--tm-navy-deep); padding: clamp(48px,7vw,72px) 0 40px; color: #fff; }
.tm-footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 640px) { .tm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tm-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.tm-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tm-footer__brand img { height: 38px; width: auto; }
.tm-footer__brand span { font-family: var(--tm-font-disp); font-weight: 700; font-size: 20px; color: #fff; }
.tm-footer__tag { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 300px; }
.tm-footer__col-title {
  font-family: var(--tm-font-disp); font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255,255,255,0.42); margin-bottom: 16px;
}
.tm-footer__col ul { list-style: none; margin: 0; padding: 0; }
.tm-footer__col li + li { margin-top: 10px; }
.tm-footer__col a { font-size: 14px; color: rgba(255,255,255,0.68); transition: color .2s ease; }
.tm-footer__col a:hover { color: var(--tm-teal); }
.tm-footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.tm-footer__socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  transition: background .22s ease, transform .22s var(--tm-ease);
}
.tm-footer__socials a svg { width: 16px; height: 16px; fill: #fff; transition: fill .22s ease; }
.tm-footer__socials a:hover { background: var(--tm-teal); transform: translateY(-3px); }
.tm-footer__socials a:hover svg { fill: var(--tm-navy); }
.tm-footer__bottom {
  max-width: var(--tm-wrap); margin: clamp(40px,6vw,56px) auto 0;
  padding: 28px 24px 0; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}
.tm-footer__bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ═══════════════════════════════════════════════════════════
   16. MOTION
   ═══════════════════════════════════════════════════════════ */
@keyframes tmDrawerIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tmPulse {
  0%   { box-shadow: 0 0 0 0 rgba(89,209,180,0.55); }
  70%  { box-shadow: 0 0 0 20px rgba(89,209,180,0); }
  100% { box-shadow: 0 0 0 0 rgba(89,209,180,0); }
}
@keyframes tmSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.tm-spin { animation: tmSpin 10s linear infinite; }
.tm-nav__brand:hover .tm-spin { animation-duration: 1.6s; }

.tm-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--tm-ease), transform .7s var(--tm-ease); }
.tm-rv.is-in { opacity: 1; transform: translateY(0); }
.tm-rv-d1 { transition-delay: .08s; }
.tm-rv-d2 { transition-delay: .16s; }
.tm-rv-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .tm-rv { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   17. WORDPRESS DEFAULTS
   ═══════════════════════════════════════════════════════════ */
.alignleft { float: left; margin: 0 24px 20px 0; }
.alignright { float: right; margin: 0 0 20px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.sticky, .gallery-caption, .bypostauthor { display: block; }
