/* ============================================================
   TeachTorch Landing Page — Stylesheet v6
   Source: Figma NzvhgEG4dStlhjq7ehNP2Y / node 235:22 + 235:104

   Paste into: Appearance → Customize → Additional CSS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --tt-purple:      #7E3AF2;
  --tt-purple-dark: #6C2BD9;
  --tt-ink:         #111827;
  --tt-body:        #6B7280;
  --tt-border:      #E5E7EB;
  --tt-bg-light:    #F9FAFB;
  --tt-white:       #FFFFFF;
  --tt-font-sans:   'Roboto', system-ui, -apple-system, sans-serif;
  --tt-max-w:       92.5rem;
  --tt-section-py:  6rem;
  --tt-page-px:     clamp(1.5rem, 5vw, 5rem);
}

/* ── ASTRA HEADER / FOOTER SUPPRESSION ─────────────────────── */
/* Hide Astra's own header, page title, breadcrumbs and footer
   on the front page so our custom HTML block is the only content */
.home .site-header,
.home .ast-breadcrumbs-wrapper,
.home .entry-header,
.home .page-title,
.home .ast-page-title-bar,
.home .site-footer,
.home .footer-widget-area {
  display: none !important;
}
.home .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
.home .site-content,
.home .content-area,
.home #primary {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ── TOP SECTION BACKGROUND ─────────────────────────────── */
/* Replace the URL below with your WordPress uploaded image URL */
.tt-top {
  background-image: url('/assets/bg/tt-hero-bg.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  width: 100vw !important;
  position: relative !important;
  left: calc((100vw - 100%) / 2) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}
.tt-top--team {
  background-image: none;
  background-color: var(--tt-white);
}
/* Navbar and hero sit inside tt-top so no longer need their own bg */
.tt-navbar { background: transparent; border-bottom-color: rgba(229,231,235,0.6); }
.tt-hero   { background: transparent; }
.tt-logos  { background: transparent; }

/* Keep every full-width section aligned with the navbar content edges. */
.tt-logos,
.tt-proof,
.tt-features-v2,
.tt-cta,
.tt-footer {
  padding-left: 0;
  padding-right: 0;
}

/* ── FULL-WIDTH BREAKOUT ───────────────────────────────────── */
/* tt-top handles navbar+hero+logos — only remaining sections need breakout */
.tt-proof,
.tt-features-v2,
.tt-features,
.tt-cta,
.tt-team-grid-section,
.tt-footer {
  width: 100vw !important;
  position: relative !important;
  left: calc((100vw - 100%) / 2) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
body.tt-mobile-menu-open { overflow: hidden; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.tt-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--tt-font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none !important;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border: 0.0625rem solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.tt-btn--primary {
  background: var(--tt-purple) !important;
  color: var(--tt-white) !important;
  border-color: var(--tt-purple) !important;
}
.tt-btn--primary:hover { background: var(--tt-purple-dark) !important; border-color: var(--tt-purple-dark) !important; }
.tt-btn--sm { font-size: 0.875rem; padding: 0.5rem 1rem; min-height: 2.3125rem; }

/* ── LOGO ──────────────────────────────────────────────────── */
.tt-logo {
  display: inline-flex !important;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}
.tt-navbar .tt-logo {
  height: 1.875rem;
  gap: 0.5rem;
}
.tt-navbar .tt-logo__icon {
  width: 1.875rem;
  height: 1.875rem;
  display: block;
  flex-shrink: 0;
  transform: translateY(-0.0625rem);
}
.tt-navbar .tt-logo__text {
  height: 1.375rem;
  width: auto;
  max-width: 13rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
/* Footer logo smaller */
.tt-footer .tt-logo__svg { height: 3rem; }

/* ── SOCIAL LINKS ──────────────────────────────────────────── */
.tt-social-links { display: flex !important; align-items: center; gap: 1.25rem; }
.tt-social-link  { display: flex !important; align-items: center; justify-content: center; min-height: 2.3125rem; transition: opacity 0.15s; }
.tt-social-link:hover { opacity: 0.7; }

/* ── DIVIDER ───────────────────────────────────────────────── */
.tt-divider { border: none !important; border-top: 0.0625rem solid var(--tt-border) !important; margin: 1rem 0 0; }

/* ══════════════════════════════════════════════════════════ */
/*  NAVBAR                                                    */
/* ══════════════════════════════════════════════════════════ */
.tt-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent !important;
  border-bottom: 0.0625rem solid var(--tt-border);
  font-family: var(--tt-font-sans);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.tt-navbar.tt-navbar--scrolled {
  background-color: var(--tt-white) !important;
  box-shadow: 0 0.125rem 0.75rem rgba(17, 24, 39, 0.08);
}
.tt-navbar__inner {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 2rem;
  max-width: var(--tt-max-w);
  margin: 0 auto;
  padding: 1.5rem var(--tt-page-px);
  height: 4.875rem;
  min-height: 4.875rem;
}
.tt-nav { flex: 1; }
.tt-nav__list {
  display: flex !important;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}
.tt-nav__link {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--tt-ink) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.tt-nav__link:hover { color: var(--tt-purple) !important; }
.tt-navbar__cta {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}
.tt-hamburger {
  display: none;
  flex-direction: column;
  gap: 0.3125rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-shrink: 0;
}
.tt-hamburger span {
  display: block;
  width: 1.375rem;
  height: 0.125rem;
  background: var(--tt-ink);
  border-radius: 0.125rem;
}
.tt-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--tt-white);
  padding: var(--tt-page-px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  overflow-y: auto;
}
.tt-mobile-menu:not([hidden]) { display: flex; }
.tt-mobile-menu__top {
  position: absolute;
  top: var(--tt-page-px);
  left: var(--tt-page-px);
  right: var(--tt-page-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tt-mobile-menu__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 1.75rem;
  text-decoration: none;
}
.tt-mobile-menu__logo img:first-child {
  width: 1.75rem;
  height: 1.75rem;
}
.tt-mobile-menu__logo img:last-child {
  width: auto;
  height: 1.125rem;
}
.tt-mobile-menu__close {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--tt-bg-light);
  color: var(--tt-ink);
  font-family: var(--tt-font-sans);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}
.tt-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0 !important;
}
.tt-mobile-menu a { color: var(--tt-ink) !important; text-decoration: none !important; font-size: 1.25rem; font-weight: 600; }
.tt-mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.tt-mobile-menu__socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.tt-mobile-menu__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 14rem;
  min-height: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}
.tt-mobile-menu__socials a svg { flex: 0 0 1.375rem; }
.tt-mobile-menu__footer .tt-btn {
  height: 3rem;
  background: var(--tt-purple) !important;
  color: var(--tt-white) !important;
  border-color: var(--tt-purple) !important;
}

/* ══════════════════════════════════════════════════════════ */
/*  HERO — centered, full-width background                   */
/* ══════════════════════════════════════════════════════════ */
.tt-hero {
  background: transparent !important;
  min-height: calc(100svh - 4.9375rem);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 12.5vh, var(--tt-section-py)) var(--tt-page-px);
  left: 0 !important;
  text-align: center;
}
.tt-hero__inner {
  width: 100%;
  max-width: var(--tt-max-w);
  margin: 0 auto;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.tt-hero__text {
  width: min(100%, 56.25rem);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 56.25rem;
}
.tt-hero__heading {
  font-size: 3.75rem !important;
  font-weight: 900 !important;
  color: var(--tt-ink) !important;
  line-height: 1 !important;
  text-align: center !important;
  letter-spacing: -0.02em;
}
.tt-hero__subtext {
  font-size: 1.25rem !important;
  font-weight: 400;
  color: var(--tt-body) !important;
  line-height: 1.6;
  text-align: center !important;
  max-width: 48rem;
}
.tt-hero__actions {
  display: flex !important;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════ */
/*  CUSTOMER LOGOS                                            */
/* ══════════════════════════════════════════════════════════ */
.tt-logos {
  background: transparent !important;
  padding: 0 0 var(--tt-section-py);
  font-family: var(--tt-font-sans);
}
.tt-logos__inner {
  width: 100%;
  max-width: var(--tt-max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 0 var(--tt-page-px);
  box-sizing: border-box;
}
.tt-logos__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tt-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
/* Carousel viewport — clips the scrolling track */
.tt-logos__viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.tt-logos__track {
  display: flex !important;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: tt-logo-scroll 28s linear infinite;
}
.tt-logos__track:hover {
  animation-play-state: paused;
}
@keyframes tt-logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tt-logos__img {
  height: 3.25rem;
  width: auto;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
  flex-shrink: 0;
}
.tt-logos__img:hover { opacity: 1; filter: none; }

/* ══════════════════════════════════════════════════════════ */
/*  SOCIAL PROOF (node 235:104)                               */
/*  Layout: Left heading | Right 3 stats stacked vertically  */
/* ══════════════════════════════════════════════════════════ */
.tt-proof {
  background: var(--tt-white);
  padding: var(--tt-section-py) 0;
  font-family: var(--tt-font-sans);
}
.tt-proof__inner {
  width: 100%;
  max-width: var(--tt-max-w);
  margin: 0 auto;
  display: flex !important;
  gap: 6rem;
  align-items: center;
  padding: 0 var(--tt-page-px);
  box-sizing: border-box;
}
.tt-proof__left {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  max-width: 43.25rem;
  flex-shrink: 0;
}
.tt-proof__heading {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: var(--tt-ink) !important;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.tt-proof__sub {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--tt-body);
  line-height: 1.6;
}
/* Stats: 3 items stacked vertically on the right */
.tt-proof__stats {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  gap: 2.5rem;
}
.tt-stat {
  display: flex !important;
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
}
.tt-stat__icon { flex-shrink: 0; }
.tt-stat__content {
  display: flex !important;
  flex-direction: column;
  gap: 0.5rem;
}
.tt-stat__label {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--tt-ink) !important;
  line-height: 1.25;
}
.tt-stat__desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--tt-body);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════ */
/*  FEATURES / BENEFITS — tabbed interface                    */
/* ══════════════════════════════════════════════════════════ */
.tt-features { display: none !important; }
.tt-features-v2 {
  background: var(--tt-bg-light);
  padding: var(--tt-section-py) 0;
  font-family: var(--tt-font-sans);
}
.tt-features-v2__inner {
  width: 100%;
  max-width: var(--tt-max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  padding: 0 var(--tt-page-px);
  box-sizing: border-box;
}
.tt-features-v2__header {
  width: min(100%, 40rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.tt-features-v2__header h2 {
  color: var(--tt-ink);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
}
.tt-features-v2__header p {
  color: var(--tt-body);
  font-size: 1.25rem;
  line-height: 1.5;
}
.tt-features-v2__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
}
.tt-features-v2__column > h3 {
  color: var(--tt-ink);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  padding-bottom: 1rem;
  border-bottom: 0.0625rem solid var(--tt-border);
}
.tt-features-v2__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
}
.tt-feature-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tt-feature-v2__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--tt-ink);
  font-size: 1rem;
  line-height: 1.5;
}
.tt-feature-v2__title img {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
}
.tt-feature-v2 p {
  padding-left: 1.75rem;
  color: var(--tt-body);
  font-size: 1rem;
  line-height: 1.5;
}
.tt-features-v2__testimonial {
  width: min(100%, 48rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.tt-features-v2__quote {
  width: 3rem;
  height: 2.25rem;
}
.tt-features-v2__testimonial blockquote {
  color: var(--tt-ink);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.625;
}
.tt-features-v2__testimonial figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--tt-body);
  font-size: 0.875rem;
  line-height: 1.25;
}
.tt-features-v2__testimonial figcaption img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.tt-features-v2__testimonial figcaption strong,
.tt-features-v2__testimonial figcaption span[aria-hidden] {
  color: var(--tt-ink);
  font-weight: 600;
}

@media (max-width: 60rem) {
  .tt-features-v2__columns { gap: 2rem; }
}
@media (max-width: 48rem) {
  .tt-features-v2__inner { gap: 4rem; }
  .tt-features-v2__columns { grid-template-columns: 1fr; gap: 3rem; }
  .tt-features-v2__header h2 { font-size: 2rem; }
  .tt-features-v2__header p { font-size: 1.125rem; }
  .tt-features-v2__testimonial blockquote { font-size: 1.25rem; }
  .tt-features-v2__testimonial figcaption { flex-wrap: wrap; }
}

.tt-features {
  background: var(--tt-bg-light);
  padding: var(--tt-section-py) 0;
  font-family: var(--tt-font-sans);
}
.tt-features__inner {
  max-width: var(--tt-max-w);
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  padding-left: var(--tt-page-px);
  padding-right: var(--tt-page-px);
  box-sizing: border-box;
}
.tt-features__header {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  gap: 1rem;
  width: 100% !important;
  text-align: center !important;
  margin: 0 auto !important;
}
.tt-features .tt-features__inner .tt-features__header .tt-features__heading,
#features .tt-features__heading,
#features h2.tt-features__heading {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: var(--tt-ink) !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#features .tt-features__sub {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: var(--tt-body) !important;
  line-height: 1.6 !important;
  max-width: 37.5rem !important;
  text-align: center !important;
  margin: 0 auto !important;
  display: block !important;
}

/* ── TAB BAR ─────────────────────────────────────────────── */
.tt-tabs {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.tt-tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.tt-tab {
  font-family: var(--tt-font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--tt-body);
  background: var(--tt-white);
  border: 0.0938rem solid var(--tt-border);
  border-radius: 62.4375rem;
  padding: 0.625rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tt-tab:hover {
  border-color: var(--tt-purple);
  color: var(--tt-purple);
}
.tt-tab--active {
  background: var(--tt-purple) !important;
  border-color: var(--tt-purple) !important;
  color: #fff !important;
}

/* ── TAB PANELS ──────────────────────────────────────────── */
.tt-panel {
  display: none;
  align-items: center;
  gap: 5rem;
  background: var(--tt-white);
  border-radius: 1.25rem;
  padding: 4rem;
  box-shadow: 0 0.125rem 1.5rem rgba(0,0,0,0.06);
  animation: tt-fade-in 0.3s ease;
}
.tt-panel--active {
  display: flex !important;
}
@keyframes tt-fade-in {
  from { opacity: 0; transform: translateY(0.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}
.tt-panel__number {
  font-size: 7.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--tt-purple);
  opacity: 0.12;
  flex-shrink: 0;
  width: 10rem;
  text-align: center;
  letter-spacing: -0.25rem;
  font-variant-numeric: tabular-nums;
}
.tt-panel__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tt-panel__heading {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: var(--tt-ink) !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}
.tt-panel__body {
  font-size: 1.125rem !important;
  color: var(--tt-body) !important;
  line-height: 1.7 !important;
  max-width: 40rem;
  margin: 0 !important;
}

@media (max-width: 48rem) {
  .tt-panel {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }
  .tt-panel__number {
    font-size: 5rem;
    width: auto;
  }
  .tt-tabs__bar {
    gap: 0.5rem;
  }
  .tt-tab {
    font-size: 0.875rem;
    padding: 0.5rem 1.125rem;
  }
}
/* ══════════════════════════════════════════════════════════ */
/*  BOTTOM CTA                                                */
/* ══════════════════════════════════════════════════════════ */
.tt-cta {
  background: var(--tt-white);
  padding: 6rem 0;
  font-family: var(--tt-font-sans);
  text-align: center;
}
.tt-cta__inner {
  width: 100%;
  max-width: var(--tt-max-w);
  margin: 0 auto;
  padding: 0 var(--tt-page-px);
  box-sizing: border-box;
  text-align: center !important;
}
.tt-cta__content {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
}
.tt-cta__content * { text-align: center !important; }

/* Astra override — force CTA centering with full path specificity */
#contact.tt-cta .tt-cta__inner .tt-cta__content,
#contact.tt-cta .tt-cta__inner .tt-cta__content h2,
#contact.tt-cta .tt-cta__inner .tt-cta__content p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.tt-cta__heading {
  font-family: var(--tt-font-sans);
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: var(--tt-ink) !important;
  line-height: 1.25;
  letter-spacing: -0.0225rem;
  max-width: 40rem;
  text-align: center !important;
}
.tt-cta__sub {
  font-family: var(--tt-font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--tt-body);
  text-align: center !important;
}
.tt-cta__actions { display: flex !important; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.tt-cta__actions .tt-btn {
  height: 3rem;
  border-width: 0;
}

/* ══════════════════════════════════════════════════════════ */
/*  FOOTER                                                    */
/* ══════════════════════════════════════════════════════════ */
.tt-footer {
  background: var(--tt-white);
  border-top: 0;
  padding: 0;
  font-family: var(--tt-font-sans);
}
.tt-footer__inner {
  width: 100%;
  max-width: var(--tt-max-w);
  margin: 0 auto;
  padding: 4rem var(--tt-page-px);
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}
.tt-footer__content {
  width: min(100%, 24rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.tt-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  height: 1.875rem;
  text-decoration: none;
}
.tt-footer__logo-icon {
  width: 1.875rem;
  height: 1.875rem;
  display: block;
}
.tt-footer__logo-text {
  width: auto;
  height: 1.5rem;
  display: block;
}
.tt-footer__copyright {
  color: var(--tt-body);
  font-size: 1rem;
  line-height: 1.5;
}
.tt-footer__social-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.tt-footer__social-links .tt-social-link {
  min-height: 1.5rem;
}
.tt-footer__brand,
.tt-footer__inner > .tt-social-links {
  display: none !important;
}
.tt-footer__copy { font-size: 0.9375rem; color: var(--tt-body); }

/* Team page uses the same centered footer content without the legacy inline SVG. */
.tt-footer--team .tt-footer__inner {
  align-items: center;
}
.tt-footer--team .tt-footer__brand {
  display: flex !important;
  align-items: center;
  flex-direction: column;
  gap: 1.25rem;
  width: min(100%, 24rem);
  text-align: center;
}
.tt-footer--team .tt-footer__brand::before {
  content: '';
  display: block;
  width: 12.3125rem;
  height: 1.875rem;
  background-image: url('/assets/tt-logo-icon-final.svg'), url('/assets/tt-logo-text-final.svg');
  background-repeat: no-repeat;
  background-position: left center, right center;
  background-size: 1.875rem 1.875rem, auto 1.5rem;
}
.tt-footer--team .tt-footer__brand .tt-logo {
  display: none !important;
}
.tt-footer--team .tt-footer__copy {
  font-size: 1rem;
  line-height: 1.5;
}
.tt-footer--team .tt-footer__brand .tt-social-links {
  display: flex !important;
  align-items: center;
  gap: 1.25rem;
}
.tt-footer--team .tt-footer__brand .tt-social-link {
  min-height: 1.5rem;
}



/* ── TWO-COLUMN TAB LAYOUT ───────────────────────────────── */
.tt-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.tt-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.tt-col__heading {
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  color: var(--tt-ink) !important;
  margin: 0 !important;
  padding-bottom: 1.25rem;
  border-bottom: 0.125rem solid var(--tt-purple);
  display: inline-block;
}
/* Panels inside columns are smaller to fit side by side */
.tt-two-col .tt-panel {
  padding: 2.5rem;
  gap: 2rem;
}
.tt-two-col .tt-panel__number {
  font-size: 5rem;
  width: 6.25rem;
  letter-spacing: -0.125rem;
}
.tt-two-col .tt-panel__heading {
  font-size: 1.25rem !important;
}
.tt-two-col .tt-panel__body {
  font-size: 1rem !important;
}
.tt-two-col .tt-tabs__bar {
  justify-content: flex-start;
  gap: 0.5rem;
}
.tt-two-col .tt-tab {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

@media (max-width: 56.25rem) {
  .tt-two-col {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .tt-two-col .tt-tabs__bar {
    flex-wrap: wrap;
  }
}

/* ══════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                */
/* ══════════════════════════════════════════════════════════ */
@media (max-width: 75rem) {
  .tt-proof__inner    { gap: 4rem; }
  .tt-proof__left     { max-width: 30rem; }
}

@media (max-width: 60rem) {
  :root { --tt-section-py: 4.5rem; }
  .tt-proof__inner    { flex-direction: column !important; gap: 3rem; }
  .tt-proof__left     { max-width: 100%; }
  .tt-navbar .tt-logo { height: 1.875rem; }
  .tt-navbar .tt-logo__icon { width: 1.875rem; height: 1.875rem; }
  .tt-navbar .tt-logo__icon { transform: translateY(-0.0625rem); }
  .tt-navbar .tt-logo__text { height: 1.25rem; max-width: 11.5rem; }
}

@media (max-width: 48rem) {
  :root { --tt-section-py: 3.5rem; }
  .tt-nav, .tt-navbar__cta { display: none !important; }
  .tt-hamburger { display: flex !important; }
  /* Hamburger top-right: logo left, hamburger right */
  .tt-navbar__inner {
    justify-content: space-between !important;
    align-items: center !important;
  }
  .tt-navbar .tt-logo { height: 1.75rem; gap: 0.375rem; }
  .tt-navbar .tt-logo__icon { width: 1.75rem; height: 1.75rem; }
  .tt-navbar .tt-logo__icon { transform: translateY(-0.0625rem); }
  .tt-navbar .tt-logo__text { height: 1.125rem; max-width: 9.5rem; }
  .tt-hero__heading { font-size: clamp(2rem, 8vw, 3.25rem) !important; }
  /* Proof section: stack vertically */
  .tt-proof__inner { flex-direction: column !important; gap: 3rem !important; }
  .tt-proof__left { max-width: 100% !important; }
  /* Two-col features: single column */
  .tt-two-col { grid-template-columns: 1fr !important; gap: 3.5rem !important; }
  .tt-two-col .tt-tabs__bar { flex-wrap: wrap; }
  /* Panel sizing on mobile */
  .tt-panel { padding: 2rem 1.5rem !important; flex-direction: column !important; gap: 1.25rem !important; }
  .tt-panel__number { font-size: 4rem !important; width: auto !important; }
  .tt-two-col .tt-panel { padding: 1.75rem 1.25rem !important; }
}

@media (max-width: 30rem) {
  .tt-hero__actions { flex-direction: column !important; align-items: center; }
  .tt-stat { flex-direction: column; gap: 0.75rem; }
  .tt-proof__stats { gap: 2rem; }
  .tt-tab { font-size: 0.8125rem !important; padding: 0.5rem 0.875rem !important; }
  .tt-cta__heading { font-size: 1.75rem !important; }
}

/* ════════════════════════════════════════════════════════════
   TEAM PAGE
   ════════════════════════════════════════════════════════════ */

/* ── TEAM HERO ─────────────────────────────────────────── */
.tt-team-page-hero {
  background: var(--tt-white);
  padding: 3rem var(--tt-page-px) 2rem;
  text-align: center;
  font-family: var(--tt-font-sans);
}
.tt-team-page-hero__inner {
  width: 100%;
  max-width: var(--tt-max-w);
  margin: 0 auto;
}
.tt-team-page-hero h1 {
  color: var(--tt-ink);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
}

.tt-team-hero {
  background: var(--tt-white);
  padding: 6rem var(--tt-page-px) 4rem;
  text-align: center;
  font-family: var(--tt-font-sans);
}
.tt-team-hero__inner {
  max-width: var(--tt-max-w);
  margin: 0 auto;
}
.tt-team-hero__heading {
  font-size: 3rem !important;
  font-weight: 900 !important;
  color: var(--tt-ink) !important;
  margin: 0 0 1rem !important;
  line-height: 1.15 !important;
}
.tt-team-hero__sub {
  font-size: 1.125rem !important;
  color: var(--tt-body) !important;
  max-width: 37.5rem;
  margin: 0 auto !important;
  line-height: 1.6 !important;
}

/* ── TEAM GRID SECTION — full-width breakout ─────────── */
.tt-team-grid-section {
  background: var(--tt-bg-light);
  padding: var(--tt-section-py) var(--tt-page-px);
  font-family: var(--tt-font-sans);
  /* Full-width breakout — same pattern as .tt-proof etc */
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  box-sizing: border-box;
}
.tt-team-grid-inner {
  max-width: var(--tt-max-w);
  margin: 0 auto;
  padding: 0 var(--tt-page-px);
}
.tt-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 2.5rem;
}

/* ── MEMBER CARD ─────────────────────────────────────── */
.tt-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}
.tt-member--no-link { cursor: default; }

/* Circular photo */
.tt-member__photo-wrap {
  position: relative;
  width: 15rem;
  height: 15rem;
  flex-shrink: 0;
}
.tt-member__photo {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tt-member:hover .tt-member__photo { transform: scale(1.04); }

/* Bio overlay on hover */
.tt-member__overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(126, 58, 242, 0.90);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.75rem;
  gap: 0.625rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}
.tt-member:hover .tt-member__overlay { opacity: 1; }
.tt-member__bio {
  font-size: 0.8125rem !important;
  color: rgba(255,255,255,0.95) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.tt-member__linkedin {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  letter-spacing: 0.03em;
  opacity: 0.85;
  white-space: nowrap;
}

/* Name + role below photo */
.tt-member__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}
.tt-member__name {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--tt-ink) !important;
}
.tt-member__role {
  font-size: 0.875rem !important;
  color: var(--tt-body) !important;
}

/* Active nav link on team page */
.tt-nav__link--active {
  color: var(--tt-purple) !important;
  font-weight: 600 !important;
}

/* ── TEAM RESPONSIVE ──────────────────────────────────── */
@media (max-width: 64rem) {
  .tt-team-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .tt-member__photo-wrap { width: 12.5rem; height: 12.5rem; }
  .tt-member__photo { width: 12.5rem; height: 12.5rem; }
}
@media (max-width: 48.125rem) {
  .tt-team-hero__heading { font-size: 2.25rem !important; }
  .tt-team-hero { padding: 4rem var(--tt-page-px) 3rem; }
  .tt-team-grid { grid-template-columns: 1fr; gap: 3rem; }
  .tt-team-grid-inner { padding: 0; }
  .tt-member__photo-wrap { width: 10rem; height: 10rem; }
  .tt-member__photo { width: 10rem; height: 10rem; }
  .tt-member { gap: 0.75rem; }
  .tt-member__photo-wrap { display: contents; }
  .tt-member__photo { order: 1; }
  .tt-member__info { order: 2; }
  .tt-member__overlay {
    position: static;
    order: 3;
    width: 100%;
    padding: 0;
    gap: 0;
    background: transparent;
    opacity: 1;
    text-align: center;
  }
  .tt-member__bio {
    max-width: 36rem;
    color: var(--tt-body) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  .tt-member__linkedin { display: none; }
}
@media (max-width: 30rem) {
  .tt-team-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tt-member__photo-wrap { width: 8.125rem; height: 8.125rem; }
  .tt-member__photo { width: 8.125rem; height: 8.125rem; }
  .tt-member__name { font-size: 0.9375rem !important; }
  .tt-member__bio { font-size: 0.6875rem !important; }
  .tt-member__linkedin { display: none; }
}
