/* ==========================================================================
   The Influence Authority — Main Stylesheet
   ========================================================================== */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #0097b2;
  --accent-rgb: 0,151,178;
  --bg: #0b0105;
  --text: #fff;
  --muted: #b2aeae;
  --subtle: #8f8c8b;
  --border: rgba(255,255,255,0.08);
  --radius-btn: 100px;
  --radius-card: 18px;
  --font: 'Be Vietnam Pro', -apple-system, sans-serif;
  --nav-h: 96px;
  --max-w: 1440px;
  --pad-x: clamp(20px, 5vw, 72px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; transition: color .25s; }
a:hover { color: var(--text); }

img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #06222c; }

/* ── Page wrapper ─────────────────────────────────────────── */
.tia-page {
  animation: tia-pagein .5s ease both;
  position: relative;
}
@keyframes tia-pagein { from { opacity: 0; } to { opacity: 1; } }
@keyframes tia-pageout { to { opacity: 0; } }

/* ── Aurora ───────────────────────────────────────────────── */
.tia-aurora {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 30%,transparent 70%),
                      linear-gradient(100deg,transparent 0%,transparent 20%,#000 55%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg,#000 0%,#000 30%,transparent 70%),
              linear-gradient(100deg,transparent 0%,transparent 20%,#000 55%);
  mask-composite: intersect;
}
.tia-aurora__inner {
  position: absolute;
  inset: -45%;
  filter: blur(64px) saturate(1.4);
  background: conic-gradient(from 0deg at 66% 42%,
    rgba(var(--accent-rgb),0),
    rgba(var(--accent-rgb),.8),
    rgba(139,69,255,.55),
    rgba(16,210,150,.5),
    rgba(var(--accent-rgb),.6),
    rgba(var(--accent-rgb),0));
  animation: tia-aurora 26s linear infinite;
  will-change: transform;
}
@keyframes tia-aurora { to { transform: rotate(1turn); } }

/* ── Header ───────────────────────────────────────────────── */
.tia-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 20px var(--pad-x) 0;
}
.tia-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Logo */
.tia-logo {
  display: block;
  height: 90px;
  width: 248px;
  flex: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.tia-logo img,
.tia-logo .custom-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 78px !important;
  width: auto !important;
  max-width: none;
  transition: filter .4s ease;
}
.tia-logo:hover img,
.tia-logo:hover .custom-logo { filter: drop-shadow(0 0 9px rgba(var(--accent-rgb),.65)); }
.tia-logo--footer img,
.tia-logo--footer .custom-logo { height: 64px !important; }

/* Nav links */
.tia-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.tia-nav__link {
  font-size: 14.5px;
  color: #cfccca;
  font-weight: 400;
  text-decoration: none;
  transition: color .25s;
}
.tia-nav__link:hover { color: var(--accent); }

/* Mobile toggle */
.tia-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.tia-nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: #fff;
  box-shadow: 0 5px 0 #fff, 0 -5px 0 #fff;
}

/* Mobile nav */
.tia-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(11,1,5,.96);
  display: flex;
  flex-direction: column;
  padding: clamp(24px,5vw,48px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.tia-mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}
.tia-mobile-nav__close {
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  width: 46px; height: 46px;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  align-self: flex-end;
  margin-bottom: 40px;
}
.tia-mobile-nav__link {
  padding: 20px 0;
  color: #fff;
  text-decoration: none;
  font-size: clamp(26px,5vw,36px);
  font-weight: 500;
  letter-spacing: -.02em;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: block;
  transition: color .2s;
}
.tia-mobile-nav__link:hover { color: var(--accent); }

/* ── Buttons ──────────────────────────────────────────────── */
.tia-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: filter .2s, transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.tia-btn--accent {
  background: var(--accent);
  color: #06222c;
  font-size: 14px;
}
.tia-btn--accent:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(var(--accent-rgb),.28);
  color: #06222c;
}
.tia-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  font-size: 15px;
}
.tia-btn--outline:hover {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.03);
  color: #fff;
}
.tia-btn--sm  { padding: 11px 19px; font-size: 14px; }
.tia-btn--md  { padding: 15px 26px; font-size: 15px; }
.tia-btn--lg  { padding: 17px 30px; font-size: 16px; }
.tia-btn--full, .tia-btn--block { width: 100%; justify-content: center; padding: 15px 20px; }

/* ── Typography helpers ───────────────────────────────────── */
.tia-label {
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--subtle);
  font-weight: 600;
  text-transform: uppercase;
}
.tia-label--accent { color: var(--accent); }
.tia-display {
  font-size: clamp(38px,5.5vw,80px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 700;
}
.tia-h2 {
  font-size: clamp(30px,4.4vw,62px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
}
.tia-h3 {
  font-size: clamp(22px,2.4vw,34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 600;
}
.tia-body-lg {
  font-size: clamp(16px,1.6vw,20px);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}
.tia-body {
  font-size: clamp(15px,1.2vw,17px);
  line-height: 1.7;
  color: var(--muted);
}

/* ── Section layout ───────────────────────────────────────── */
.tia-section {
  position: relative;
  z-index: 1;
  padding: clamp(64px,8vw,120px) var(--pad-x);
}
.tia-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.tia-section__header {
  margin-bottom: clamp(40px,5vw,72px);
}

/* ── Cards ────────────────────────────────────────────────── */
.tia-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(24px,3vw,40px);
  transition: background .3s, border-color .3s, transform .3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.tia-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(var(--accent-rgb),.3);
  transform: translateY(-3px);
}
.tia-card__label { margin-bottom: 14px; }
.tia-card__title {
  font-size: clamp(20px,2vw,28px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.tia-card__body { font-size: 15px; color: var(--muted); line-height: 1.65; }
.tia-card__footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tia-card__cta {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.tia-card:hover .tia-card__cta { gap: 10px; }

/* Card grid */
.tia-grid {
  display: grid;
  gap: clamp(16px,2vw,28px);
}
.tia-grid--3 { grid-template-columns: repeat(3,1fr); }
.tia-grid--2 { grid-template-columns: repeat(2,1fr); }

/* ── Pills ────────────────────────────────────────────────── */
.tia-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.tia-pill--outline { border: 1px solid rgba(255,255,255,.18); color: #cfccca; }
.tia-pill--accent  { background: rgba(var(--accent-rgb),.12); color: var(--accent); border: 1px solid rgba(var(--accent-rgb),.25); }

/* ── Divider ──────────────────────────────────────────────── */
.tia-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Hero ─────────────────────────────────────────────────── */
.tia-hero {
  position: relative;
  z-index: 1;
  padding: clamp(40px,6vw,100px) var(--pad-x) clamp(64px,8vw,120px);
}
.tia-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,5vw,80px);
  align-items: center;
}
.tia-hero__pill-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.tia-hero__tagline {
  font-size: clamp(12px,1vw,14px);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .04em;
}
.tia-hero__headline {
  font-size: clamp(16px,1.6vw,20px);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 52ch;
}
.tia-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.tia-hero__counters {
  display: flex;
  gap: clamp(28px,4vw,56px);
  align-items: flex-end;
}
.tia-counter__number {
  font-size: clamp(45px,5.6vw,80px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
.tia-counter__number--accent { color: var(--accent); }
.tia-counter__label {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero SVG pentagon */
.tia-hero__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tia-pentagon-wrap {
  position: relative;
  width: clamp(280px,38vw,560px);
  aspect-ratio: 1;
}

/* ── Trust marquee ────────────────────────────────────────── */
.tia-marquee-section {
  position: relative;
  z-index: 1;
  padding: clamp(20px,3vw,40px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tia-marquee__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--subtle);
  font-weight: 600;
  padding: 0 var(--pad-x) 20px;
}
.tia-marquee__track {
  display: flex;
  gap: 72px;
  align-items: center;
  animation: tia-marquee 28s linear infinite;
  width: max-content;
}
.tia-marquee__track:hover { animation-play-state: paused; }
.tia-marquee__track img {
  height: 36px;
  width: auto;
  opacity: .55;
  mix-blend-mode: screen;
  filter: grayscale(1) brightness(1.4);
  transition: opacity .3s, filter .3s;
}
.tia-marquee__track img:hover { opacity: .9; filter: grayscale(0) brightness(1); }
@keyframes tia-marquee { to { transform: translateX(-50%); } }

/* ── Methodology / capabilities ──────────────────────────── */
.tia-caps {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 2px;
  margin-top: 48px;
}
.tia-cap {
  padding: 32px 20px;
  border-top: 2px solid rgba(255,255,255,.1);
  transition: border-color .4s;
}
.tia-cap.is-lit { border-color: var(--accent); }
.tia-cap__num {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--subtle);
  font-weight: 600;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.tia-cap__name {
  font-size: clamp(15px,1.4vw,20px);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  transition: color .4s;
}
.tia-cap.is-lit .tia-cap__name { color: var(--accent); }
.tia-cap__body { font-size: 14px; color: var(--subtle); line-height: 1.6; }

/* ── Founder ──────────────────────────────────────────────── */
.tia-founder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,96px);
  align-items: center;
}
.tia-founder__image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.tia-founder__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.06);
}
.tia-founder__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 80%, rgba(var(--accent-rgb),.18) 0%, transparent 65%);
  pointer-events: none;
}
.tia-founder__bio { font-size: clamp(16px,1.5vw,19px); line-height: 1.75; color: var(--muted); font-weight: 300; margin-bottom: 28px; }
.tia-founder__creds { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.tia-founder__creds li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: #cfccca;
}
.tia-founder__creds li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.tia-founder__quote {
  margin: 0 0 36px;
  padding: 22px 26px;
  border-left: 2px solid var(--accent);
  background: rgba(255,255,255,.03);
  border-radius: 0 12px 12px 0;
  font-size: clamp(16px,1.5vw,20px);
  line-height: 1.6;
  font-style: italic;
  color: #fff;
  font-weight: 300;
}

/* ── Testimonials ─────────────────────────────────────────── */
.tia-testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.tia-testimonials-track::-webkit-scrollbar { display: none; }
.tia-testimonial {
  flex: 0 0 clamp(280px,38vw,520px);
  scroll-snap-align: start;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(24px,3vw,40px);
}
.tia-testimonial__quote {
  font-size: clamp(16px,1.5vw,19px);
  line-height: 1.65;
  font-style: italic;
  color: #fff;
  font-weight: 300;
  margin-bottom: 24px;
}
.tia-testimonial__author { font-weight: 600; font-size: 15px; }
.tia-testimonial__role   { font-size: 13px; color: var(--subtle); margin-top: 3px; }
.tia-testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.tia-testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.tia-testimonial-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ── Subpage hero ─────────────────────────────────────────── */
.tia-page-hero {
  position: relative;
  z-index: 1;
  padding: clamp(40px,5vw,80px) var(--pad-x) clamp(40px,6vw,80px);
}
.tia-page-hero__inner { max-width: var(--max-w); margin: 0 auto; }
.tia-breadcrumbs { font-size: 13px; color: var(--subtle); margin-bottom: 20px; }
.tia-breadcrumbs a { color: var(--subtle); }
.tia-breadcrumbs a:hover { color: var(--accent); }

/* ── CTA Banner ───────────────────────────────────────────── */
.tia-cta-banner {
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb),.12) 0%, transparent 70%);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: clamp(64px,8vw,120px) var(--pad-x);
  position: relative;
  z-index: 1;
}
.tia-cta-banner__inner { max-width: 640px; margin: 0 auto; }

/* ── Footer ───────────────────────────────────────────────── */
.tia-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: clamp(48px,6vw,80px) var(--pad-x) 0;
}
.tia-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.tia-footer__tagline {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--subtle);
  font-weight: 600;
  margin-top: 16px;
}
.tia-footer__links {
  display: flex;
  gap: clamp(32px,5vw,80px);
}
.tia-footer__col { display: flex; flex-direction: column; gap: 12px; }
.tia-footer__col-label {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--subtle);
  font-weight: 600;
  margin-bottom: 6px;
}
.tia-footer__col a {
  font-size: 14.5px;
  color: #cfccca;
  text-decoration: none;
  transition: color .25s;
}
.tia-footer__col a:hover { color: var(--accent); }
.tia-footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--subtle);
  flex-wrap: wrap;
}
.tia-footer__legal { display: flex; gap: 20px; }
.tia-footer__legal a { color: var(--subtle); font-size: 13px; }
.tia-footer__legal a:hover { color: var(--accent); }

/* ── Contact Widget ───────────────────────────────────────── */
.tia-widget-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #06222c;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: none;
  transition: filter .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(var(--accent-rgb),.35);
}
.tia-widget-trigger:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(var(--accent-rgb),.45);
}
.tia-widget {
  position: fixed;
  bottom: 0; right: 0;
  z-index: 55;
  width: min(480px, 100vw);
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(17,5,12,.97);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 24px 0 0 0;
  padding: 32px;
  transform: translateY(110%);
  transition: transform .38s cubic-bezier(.2,.8,.2,1);
}
.tia-widget.is-open { transform: translateY(0); }
.tia-widget-overlay {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.tia-widget-overlay.is-open { opacity: 1; pointer-events: all; }
.tia-widget__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.tia-widget__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 8px; }
.tia-widget__close {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px; height: 40px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  flex: none;
  transition: border-color .2s;
}
.tia-widget__close:hover { border-color: rgba(255,255,255,.4); }
.tia-widget__direct {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tia-widget__direct-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--subtle);
  text-decoration: none;
  transition: color .25s;
}
.tia-widget__direct-link:hover { color: var(--accent); }

/* ── Forms ────────────────────────────────────────────────── */
.tia-form-row { display: flex; gap: 14px; }
.tia-form-row--2 > * { flex: 1; }
.tia-form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.tia-form-group label { font-size: 12.5px; color: #cfccca; font-weight: 500; letter-spacing: .02em; }
.tia-form-group input,
.tia-form-group textarea,
.tia-form-group select {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.tia-form-group input::placeholder,
.tia-form-group textarea::placeholder { color: var(--subtle); }
.tia-form-group input:focus,
.tia-form-group textarea:focus,
.tia-form-group select:focus {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),.06);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.15);
}
.tia-form-group textarea { resize: vertical; min-height: 100px; }
.tia-form-privacy { font-size: 12px; color: var(--subtle); margin-top: 10px; text-align: center; }
.tia-form-error { font-size: 13px; color: #ff6b6b; margin-top: 8px; }

/* ── Insights / Articles ──────────────────────────────────── */
.tia-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.tia-filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: #cfccca;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s, border-color .2s, color .2s;
}
.tia-filter-tab:hover,
.tia-filter-tab.is-active {
  background: rgba(var(--accent-rgb),.12);
  border-color: rgba(var(--accent-rgb),.3);
  color: var(--accent);
}
.tia-article-card__thumb {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: rgba(255,255,255,.04);
}
.tia-article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.tia-card:hover .tia-article-card__thumb img { transform: scale(1.04); }
.tia-article-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--subtle);
}

/* ── Detail pages ─────────────────────────────────────────── */
.tia-detail-content { max-width: 720px; }
.tia-detail-content h2 { font-size: clamp(18px,2vw,26px); font-weight: 600; margin: 36px 0 14px; }
.tia-detail-content p  { font-size: clamp(15px,1.2vw,17px); color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.tia-detail-content ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.tia-detail-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(15px,1.2vw,17px);
  color: var(--muted);
  line-height: 1.6;
}
.tia-detail-content ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  margin-top: .6em;
}

.tia-outcomes {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(24px,3vw,40px);
}

.tia-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  font-size: 13px;
  color: #cfccca;
}

/* ── Scroll reveal ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Cursor glow ──────────────────────────────────────────── */
#tia-cursor-glow {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.08) 0%, transparent 65%);
  transform: translate(-50%,-50%);
  transition: transform .1s linear;
  mix-blend-mode: screen;
}
@media (hover: none) { #tia-cursor-glow { display: none; } }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tia-grid--3  { grid-template-columns: repeat(2,1fr); }
  .tia-caps     { grid-template-columns: repeat(3,1fr); }
  .tia-hero__inner { grid-template-columns: 1fr; }
  .tia-hero__graphic { display: none; }
  .tia-founder { grid-template-columns: 1fr; }
  .tia-founder__image-wrap { max-width: 360px; }
}
@media (max-width: 768px) {
  .tia-nav { display: none; }
  .tia-nav-toggle { display: flex; }
  .tia-grid--3,
  .tia-grid--2  { grid-template-columns: 1fr; }
  .tia-caps     { grid-template-columns: repeat(2,1fr); }
  .tia-footer__links { flex-direction: column; }
  .tia-widget   { width: 100vw; border-radius: 24px 24px 0 0; }
  .tia-form-row--2 { flex-direction: column; }
}
@media (max-width: 480px) {
  .tia-caps { grid-template-columns: 1fr; }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .tia-header, .tia-widget-trigger, .tia-widget, .tia-aurora, .tia-mobile-nav { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── WordPress editor content (WYSIWYG output) ────────────── */
.tia-wp-content h2 { font-size: clamp(18px,2vw,26px); font-weight: 600; letter-spacing: -.02em; margin: 36px 0 14px; color: #fff; }
.tia-wp-content h3 { font-size: clamp(16px,1.6vw,21px); font-weight: 600; margin: 28px 0 10px; color: #fff; }
.tia-wp-content p  { font-size: clamp(15px,1.2vw,17px); color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.tia-wp-content ul,
.tia-wp-content ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.tia-wp-content ul li,
.tia-wp-content ol li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: clamp(15px,1.2vw,17px); color: var(--muted); line-height: 1.65;
}
.tia-wp-content ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: none; margin-top: .6em;
}
.tia-wp-content ol { counter-reset: tia-ol; }
.tia-wp-content ol li { counter-increment: tia-ol; }
.tia-wp-content ol li::before {
  content: counter(tia-ol);
  font-size: 11px; font-weight: 700; color: var(--accent);
  min-width: 20px; margin-top: .2em;
}
.tia-wp-content strong { color: #fff; font-weight: 600; }
.tia-wp-content em { font-style: italic; }
.tia-wp-content blockquote {
  margin: 24px 0; padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: rgba(255,255,255,.03);
  border-radius: 0 12px 12px 0;
  font-style: italic; color: #fff; font-weight: 300;
}
.tia-wp-content a { color: var(--accent); }
.tia-wp-content a:hover { color: #fff; }
.tia-wp-content img { border-radius: 12px; max-width: 100%; height: auto; margin: 24px 0; }
.tia-wp-content hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

@keyframes tia-glow    { 0%,100%{opacity:.40;transform:translate(-50%,-50%) scale(1);}50%{opacity:.66;transform:translate(-50%,-50%) scale(1.12);} }
@keyframes tia-ripple  { 0%{transform:scale(.5);opacity:.8;}100%{transform:scale(2);opacity:0;} }
@keyframes tia-spin    { to{transform:rotate(360deg);} }
@keyframes tia-marquee { from{transform:translateX(0);}to{transform:translateX(-50%);} }

/* ── Hero pill fix ───────────────────────────────────────── */
.tia-hero-pill { white-space: nowrap !important; }

/* ── Hero CTA buttons ─────────────────────────────────────── */
.tia-hero-btns { flex-wrap: nowrap !important; }
.tia-hero-btns a,
.tia-hero-btns button { white-space: nowrap !important; min-width: 0; }

/* ── Keynote row hover ────────────────────────────────────── */
a[data-kn-row]:hover,
div[data-kn-row]:hover {
  background: rgba(0,151,178,0.08) !important;
}
/* ── Enquire button hover ─────────────────────────────────── */
button.tia-contact-open:hover {
  background: var(--accent) !important;
  color: #06222c !important;
  border-color: var(--accent) !important;
}

/* ==========================================================================
   Footer Styles — extracted from inline styles
   ========================================================================== */
.tia-ftr-footer-1 { position:relative; z-index:1; border-top:1px solid rgba(255,255,255,0.07); padding:clamp(48px,6vw,80px) clamp(20px,5vw,72px) 0; }
.tia-ftr-div-1 { max-width:1440px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:clamp(32px,4vw,64px); padding-bottom:48px; flex-wrap:wrap; }
.tia-ftr-el-1 { display:block; margin-bottom:24px; }
.tia-ftr-el-2 { height:72px; width:auto; }
.tia-ftr-p-1 { font-size:14.5px; color:#8f8c8b; line-height:1.6; margin:0 0 18px; max-width:26ch; }
.tia-ftr-div-2 { font-size:11.5px; letter-spacing:0.22em; color:var(--accent); font-weight:600; margin-bottom:24px; }
.tia-ftr-div-3 { display:flex; gap:10px; }
.tia-ftr-el-3 { width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.15); display:inline-flex; align-items:center; justify-content:center; color:#cfccca; text-decoration:none; transition:border-color .2s,color .2s; }
.tia-ftr-div-4 { font-size:11.5px; letter-spacing:0.22em; color:#8f8c8b; font-weight:600; margin-bottom:20px; }
.tia-ftr-div-5 { display:flex; flex-direction:column; gap:13px; }
.tia-ftr-el-4 { font-size:14.5px; color:#cfccca; text-decoration:none; transition:color .2s; }
.tia-ftr-a-1 { font-size:14.5px; color:#cfccca; text-decoration:none; cursor:pointer; transition:color .2s; }
.tia-ftr-el-5 { display:inline-flex; align-items:center; gap:9px; background:var(--accent); color:#06222c; font-size:14px; font-weight:600; padding:12px 20px; border-radius:100px; text-decoration:none; transition:filter .2s; }
.tia-ftr-div-6 { max-width:1440px; margin:0 auto; border-top:1px solid rgba(255,255,255,0.07); padding:20px 0; display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:13px; color:#8f8c8b; flex-wrap:wrap; }
.tia-ftr-span-1 { display:flex; gap:20px; align-items:center; }
.tia-ftr-el-6 { color:#8f8c8b; text-decoration:none; transition:color .2s; }


/* Mobile layout fixes — 2026-07-26 */
@media (max-width: 700px) {
  html, body, #tia-page { max-width: 100%; overflow-x: hidden; }

  .tia-hero-div-11 { width: 100%; flex-direction: column; align-items: stretch; }
  .tia-hero-div-11 .tia-hero-el-12,
  .tia-hero-div-11 .tia-hero-button-13 {
    width: 100%; max-width: 100%; box-sizing: border-box;
    justify-content: center; text-align: center; white-space: normal !important;
    padding-left: 18px; padding-right: 18px;
  }
  .tia-hero-div-14 {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px; width: 100%;
  }
  .tia-hero-div-15, .tia-hero-div-17 { font-size: clamp(34px, 12vw, 48px); }
  .tia-hero-div-16 { font-size: 10px; letter-spacing: .1em; }

  .tia-hero-div-18 { width: 100%; min-height: 210px; aspect-ratio: auto; }
  .tia-hero-svg-22 {
    display: block; width: 100%; max-width: 100%; height: auto; min-width: 0;
  }

  .tia-hero-div-24 { gap: 20px; align-items: flex-start; }
  .tia-hero-span-25 { width: 100%; line-height: 1.5; }
  .tia-logos-div-1 { width: 100%; overflow: hidden; }
  .tia-logos-div-2 { gap: 18px !important; justify-content: center; }
  .tia-logos-el-3 { height: 42px !important; margin-right: 0; }

  .tia-logos-section-4, .tia-dim-section-11 { padding-top: 56px; padding-bottom: 64px; }
  .tia-problem-span-7 { text-align: center; line-height: 1.5; }
  .tia-problem-h2-1, .tia-dim-h2-1, .tia-testi-h2-13 {
    max-width: 100%; overflow-wrap: anywhere;
  }

  .tia-testi-div-3 { width: 100%; overflow: hidden; }
  .tia-testi-div-5 { width: 100%; min-width: 100%; }
  .tia-testi-div-6 { width: 100%; box-sizing: border-box; padding: 24px 20px; }
  .tia-testi-p-7 { font-size: 17px; }
  .tia-testi-div-8 { align-items: flex-start; }

  .tia-insights-div-10 {
    width: 100%; box-sizing: border-box; padding: 40px 20px; border-radius: 18px;
  }
  .tia-insights-h2-14 { font-size: clamp(30px, 10vw, 42px); }
  .tia-insights-el-16 {
    display: flex; width: 100%; max-width: 100%; box-sizing: border-box;
    justify-content: center; text-align: center; white-space: normal;
    line-height: 1.25; padding: 16px 18px;
  }
  .tia-insights-el-16 svg { flex: none; }
  .tia-insights-div-17 { width: 100%; max-width: 100%; }
  .tia-cta-div-1 { width: 100%; flex-direction: column; }
  .tia-cta-input-2, .tia-cta-button-3 {
    width: 100%; max-width: 100%; box-sizing: border-box;
  }
  .tia-cta-consent { align-items: flex-start !important; text-align: left; }
  .tia-cta-consent input { flex: none; margin-top: 2px; }
}


/* Mobile influence chart viewport fix — 2026-07-26 */
@media (max-width: 900px) {
  .tia-hero-section-1,
  .tia-hero-div-3,
  .tia-hero-div-8 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .tia-hero-div-18 {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    min-width: 0 !important;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }
  .tia-hero-div-18 .tia-hero-svg-22 {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto;
  }
}


/* Mobile section spacing fix — 2026-07-26 */
@media (max-width: 900px) {
  .tia-hero-section-1 { padding-bottom: 28px !important; }
  .tia-hero-div-18 { margin-bottom: 0 !important; }

  .tia-hero-section-23 {
    padding: 0 20px 24px !important;
  }
  .tia-hero-div-24 {
    min-height: 0 !important;
    padding: 18px 0 !important;
    gap: 14px !important;
  }
  .tia-hero-span-25 {
    margin: 0 !important;
  }
  .tia-logos-div-1 {
    min-height: 0 !important;
    height: auto !important;
  }
  .tia-logos-div-2 {
    min-height: 0 !important;
    padding: 0 !important;
    gap: 14px !important;
  }
  .tia-logos-el-3 {
    height: 34px !important;
    max-width: 92px;
    object-fit: contain;
    opacity: 1;
  }

  #methodology.tia-logos-section-4 {
    padding-top: 32px !important;
    padding-bottom: 48px !important;
  }
}


/* Mobile carousel height and horizontal overflow fix — 2026-07-26 */
html, body, #tia-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
}
@supports not (overflow: clip) {
  html, body, #tia-page { overflow-x: hidden !important; }
}
@media (max-width: 900px) {
  .tia-dim-section-11,
  .tia-keynotes-div-1,
  .tia-testi-div-3,
  .tia-testi-div-4,
  .tia-testi-div-5 {
    max-width: 100%;
    min-width: 0;
  }
  .tia-testi-div-3 {
    width: 100%;
    overflow: hidden !important;
    transition: height .35s ease;
  }
  .tia-testi-div-4 { width: 100%; align-items: flex-start; }
  .tia-testi-div-5 { flex: 0 0 100%; width: 100%; }
  .tia-testi-div-11 { margin-top: 20px; }
}


/* Mobile small-label alignment — 2026-07-26 */
@media (max-width: 900px) {
  .tia-problem-div-5 {
    align-items: flex-start !important;
    margin: 34px 0 28px !important;
  }
  .tia-problem-span-6,
  .tia-problem-span-8 { display: none !important; }
  .tia-problem-span-7 {
    padding: 0 !important;
    text-align: left !important;
  }
}


/* Mobile: preserve screen space by allowing the header to scroll away */
@media (max-width: 768px) {
  .tia-header {
    position: static !important;
    top: auto !important;
  }
}
