/* Telhaverde — Full-site stylesheet
   Palette:
   --brand-primary:      #0F1923
   --accent-deco:        #1A6BFF
   --accent-aa-light:    #0D4FCE
   --accent-aa-dark:     #5A9BFF
   --fg-light-1:         #0F1923
   --fg-light-2:         #4A5568
   --fg-dark-1:          #F7F7F5
   --fg-dark-2:          #9BAAB8
   --bg-light:           #F7F7F5
   --bg-white:           #FFFFFF
   --bg-dark:            #0F1923
   --bg-dark-alt:        #162130
   --border-light:       #E2E6EA
   --border-dark:        #253545
*/

/* =========================================================
   RESET + BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #0F1923;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

address { font-style: normal; }

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --brand-primary: #0F1923;
  --accent-deco: #1A6BFF;
  --accent-aa-light: #0D4FCE;
  --accent-aa-dark: #5A9BFF;
  --fg-light-1: #0F1923;
  --fg-light-2: #4A5568;
  --fg-dark-1: #F7F7F5;
  --fg-dark-2: #9BAAB8;
  --bg-light: #F7F7F5;
  --bg-white: #FFFFFF;
  --bg-dark: #0F1923;
  --bg-dark-alt: #162130;
  --border-light: #E2E6EA;
  --border-dark: #253545;
  --container-max: 1160px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --nav-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
}

/* =========================================================
   TYPOGRAPHY SCALE
   ========================================================= */
.tv-display {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0F1923;
}

.tv-section-headline {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #0F1923;
}

.tv-card-title {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  color: #0F1923;
}

.tv-caption {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4A5568;
}

.tv-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #4A5568;
}

/* =========================================================
   CONTAINER
   ========================================================= */
.tv-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* =========================================================
   NAV
   Layout tree: nav.tv-nav (fixed, full-width)
     .tv-nav__inner (flex row, max-width container)
       .tv-nav__logo
       .tv-nav__links (ul)
       .tv-nav__mobile-toggle
   ========================================================= */
.tv-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E6EA;
  transition: box-shadow 0.2s ease;
}

.tv-nav--scrolled {
  box-shadow: 0 1px 12px rgba(15, 25, 35, 0.08);
}

.tv-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.tv-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.tv-nav__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.tv-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
}

.tv-nav__links li { display: block; }

.tv-nav__link {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0F1923;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
  position: relative;
}

.tv-nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #0D4FCE;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.tv-nav__link:hover { color: #0D4FCE; }
.tv-nav__link:hover::after { transform: scaleX(1); }
.tv-nav__link--active { color: #0D4FCE; }
.tv-nav__link--active::after { transform: scaleX(1); }

.tv-nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #0F1923;
  flex-direction: column;
  gap: 5px;
}

.tv-nav__hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #0F1923;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.tv-nav--open .tv-nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tv-nav--open .tv-nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.tv-nav--open .tv-nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .tv-nav__mobile-toggle {
    display: flex;
  }

  .tv-nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem var(--container-pad) 1.75rem;
    gap: 0.25rem;
    border-bottom: 1px solid #E2E6EA;
    box-shadow: 0 4px 16px rgba(15, 25, 35, 0.08);
  }

  .tv-nav--open .tv-nav__links {
    display: flex;
  }

  .tv-nav__link {
    font-size: 1rem;
    padding: 0.5rem 0;
    display: block;
    width: 100%;
  }
}

/* =========================================================
   FOOTER
   Layout: footer.tv-footer (bg-dark)
     .tv-footer__inner > .tv-footer__row-1 + .tv-footer__row-2
   ========================================================= */
.tv-footer {
  background-color: #0F1923;
  color: #F7F7F5;
  padding: 3.5rem 0 2rem;
}

.tv-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.tv-footer__row-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #253545;
  flex-wrap: wrap;
}

.tv-footer__logo img {
  height: 26px;
  width: auto;
}

.tv-footer__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

.tv-footer__nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: #9BAAB8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tv-footer__nav-link:hover { color: #F7F7F5; }

.tv-footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.tv-footer__social {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tv-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #253545;
  border-radius: 50%;
  color: #9BAAB8;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.tv-footer__social a:hover {
  color: #F7F7F5;
  border-color: #5A9BFF;
}

.tv-footer__social a i {
  font-size: 0.9rem;
}

.tv-footer__row-2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.75rem;
  flex-wrap: wrap;
}

.tv-footer__contact {
  font-size: 0.8rem;
  color: #9BAAB8;
  line-height: 1.6;
}

.tv-footer__contact a {
  color: #9BAAB8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tv-footer__contact a:hover { color: #F7F7F5; }

.tv-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.tv-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tv-footer__legal-link {
  font-size: 0.775rem;
  color: #9BAAB8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tv-footer__legal-link:hover { color: #F7F7F5; }

.tv-footer__copy {
  font-size: 0.775rem;
  color: #9BAAB8;
}

.tv-footer__disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #253545;
  font-size: 0.75rem;
  color: #9BAAB8;
  line-height: 1.6;
  max-width: 820px;
}

/* =========================================================
   SECTION UTILITIES
   ========================================================= */
.tv-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.tv-section--sm {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.tv-section--bg-white {
  background-color: #FFFFFF;
}

.tv-section--bg-light {
  background-color: #F7F7F5;
}

.tv-section--bg-dark {
  background-color: #0F1923;
}

.tv-section--bg-dark-alt {
  background-color: #162130;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  line-height: 1;
}

.tv-btn--primary {
  background-color: #0D4FCE;
  color: #FFFFFF;
  border-color: #0D4FCE;
}

.tv-btn--primary:hover {
  background-color: #0A3FA8;
  border-color: #0A3FA8;
  color: #FFFFFF;
}

.tv-btn--ghost {
  background-color: transparent;
  color: #0D4FCE;
  border-color: #0D4FCE;
}

.tv-btn--ghost:hover {
  background-color: #0D4FCE;
  color: #FFFFFF;
}

/* =========================================================
   SECTION LINK (arrow text link)
   ========================================================= */
.tv-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0D4FCE;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.tv-section-link:hover { gap: 0.7rem; color: #0D4FCE; }

/* =========================================================
   PAGE TOP SPACER (accounts for fixed nav)
   ========================================================= */
.tv-page-top {
  padding-top: var(--nav-height);
}

/* =========================================================
   HERO — index.html word-stacking manifesto
   Layout: section.tv-hero (full viewport, bg-white)
     .tv-hero__inner (flex-col centered)
   ========================================================= */
.tv-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  padding: var(--nav-height) var(--container-pad) 0;
}

.tv-hero__inner {
  max-width: 820px;
  width: 100%;
  text-align: center;
}

.tv-hero__line {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0F1923;
  display: block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tv-hero__line--visible {
  opacity: 1;
  transform: translateY(0);
}

.tv-hero__rule {
  display: block;
  width: 60px;
  height: 1px;
  background-color: #1A6BFF;
  margin: 2.2rem auto;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.5s ease 0.9s, transform 0.5s ease 0.9s;
}

.tv-hero__rule--visible {
  opacity: 1;
  transform: scaleX(1);
}

.tv-hero__subtext {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: #4A5568;
  max-width: 580px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 1.1s, transform 0.6s ease 1.1s;
}

.tv-hero__subtext--visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   STAT BAND — index.html
   Layout: section.tv-section--bg-light
     .tv-container > .tv-stat-band
       .tv-stat-item × 3 (separated by pseudo-element dividers)
   ========================================================= */
.tv-stat-band {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.tv-stat-item {
  flex: 1;
  min-width: 160px;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.tv-stat-item + .tv-stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background-color: #E2E6EA;
}

.tv-stat-item__value {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: #0F1923;
  letter-spacing: -0.02em;
}

.tv-stat-item__label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4A5568;
}

@media (max-width: 600px) {
  .tv-stat-band { flex-direction: column; }
  .tv-stat-item { padding: 1.5rem var(--container-pad); }
  .tv-stat-item + .tv-stat-item::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
  }
}

/* =========================================================
   THESIS GLIMPSE — index.html
   Layout: section.tv-section--bg-white
     .tv-container > .tv-thesis-glimpse (2-col grid)
       .tv-thesis-glimpse__left
       .tv-thesis-glimpse__right
   ========================================================= */
.tv-thesis-glimpse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.tv-thesis-glimpse__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tv-thesis-glimpse__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tv-thesis-glimpse__quote {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.45;
  color: #0F1923;
  letter-spacing: -0.01em;
}

.tv-thesis-glimpse__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.25rem;
}

.tv-pillar {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.tv-pillar__num {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1A6BFF;
  padding-top: 0.15rem;
  flex-shrink: 0;
  min-width: 1.5rem;
}

.tv-pillar__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4A5568;
}

.tv-thesis-glimpse__cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .tv-thesis-glimpse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tv-thesis-glimpse__cta {
    justify-content: flex-start;
  }
}

/* =========================================================
   PORTFOLIO PREVIEW — index.html
   Layout: section.tv-section--bg-light
     .tv-container
       .tv-portfolio-preview__header
       .tv-portfolio-grid (flex-wrap)
         .tv-portfolio-logo × 14
       .tv-portfolio-preview__footer
   ========================================================= */
.tv-portfolio-preview__header {
  margin-bottom: 2.5rem;
}

.tv-portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tv-portfolio-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 72px;
  padding: 12px 16px;
  border: 1px solid #E2E6EA;
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.tv-portfolio-logo:hover {
  border-color: #1A6BFF;
  box-shadow: 0 2px 12px rgba(26, 107, 255, 0.1);
}

.tv-portfolio-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tv-portfolio-logo__name {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0F1923;
  text-align: center;
  line-height: 1.2;
}

.tv-portfolio-preview__footer {
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .tv-portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tv-portfolio-logo {
    width: 100%;
  }
}

/* =========================================================
   TEAM PREVIEW — index.html
   Layout: .tv-team-preview__grid (3-col)
     .tv-team-card × 3
   ========================================================= */
.tv-team-preview__header {
  margin-bottom: 2.5rem;
}

.tv-team-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tv-team-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tv-team-card__portrait {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-sm);
  background-color: #E2E6EA;
}

.tv-team-card__name {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 0.2rem;
}

.tv-team-card__role {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4A5568;
  margin-bottom: 0.5rem;
}

.tv-team-card__bio {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #4A5568;
}

.tv-team-preview__footer {
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .tv-team-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .tv-team-preview__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   LATEST INSIGHTS — index.html
   Layout: .tv-insights-preview__grid (3-col)
     .tv-insight-card × 3
   ========================================================= */
.tv-insights-preview__header {
  margin-bottom: 2.5rem;
}

.tv-insights-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tv-insight-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid #E2E6EA;
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  transition: border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.tv-insight-card:hover {
  border-color: #1A6BFF;
}

.tv-insight-card__date {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4A5568;
}

.tv-insight-card__title {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  color: #0F1923;
}

.tv-insight-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4A5568;
  flex: 1;
}

.tv-insight-card__author {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9BAAB8;
  margin-top: 0.25rem;
}

.tv-insights-preview__footer {
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .tv-insights-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .tv-insights-preview__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SUB-PAGE HERO (thesis / portfolio / team / insights)
   Layout: section.tv-subhero (bg-white, top-padded)
     .tv-container > .tv-subhero__inner
   ========================================================= */
.tv-subhero {
  background-color: #FFFFFF;
  padding: calc(var(--nav-height) + clamp(3rem, 6vw, 5rem)) 0 clamp(2.5rem, 5vw, 4rem);
}

.tv-subhero__inner {
  max-width: 760px;
}

.tv-subhero__eyebrow {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A6BFF;
  margin-bottom: 1.25rem;
  display: block;
}

.tv-subhero__headline {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0F1923;
  margin-bottom: 1.25rem;
}

.tv-subhero__subtext {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4A5568;
  max-width: 580px;
}

.tv-subhero__ornament {
  display: block;
  width: 48px;
  height: 3px;
  background-color: #1A6BFF;
  margin-top: 2rem;
  border-radius: 2px;
}

/* =========================================================
   THESIS PAGE
   ========================================================= */
.tv-thesis-body {
  max-width: 720px;
}

.tv-thesis-body__para {
  font-size: 1rem;
  line-height: 1.8;
  color: #4A5568;
  margin-bottom: 1.5rem;
}

.tv-thesis-body__para:last-child {
  margin-bottom: 0;
}

.tv-fund-scale {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.tv-fund-scale__facts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tv-fund-fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #E2E6EA;
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
}

.tv-fund-fact__name {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0F1923;
}

.tv-fund-fact__detail {
  font-size: 0.85rem;
  color: #4A5568;
  line-height: 1.5;
}

.tv-fund-fact__status {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1A6BFF;
  margin-top: 0.25rem;
}

.tv-fund-scale__philosophy {
  font-size: 1rem;
  line-height: 1.75;
  color: #4A5568;
}

@media (max-width: 720px) {
  .tv-fund-scale {
    grid-template-columns: 1fr;
  }
}

.tv-how-we-work {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 820px;
}

.tv-work-item {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #E2E6EA;
}

.tv-work-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tv-work-item__label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A6BFF;
  margin-bottom: 0.75rem;
  display: block;
}

.tv-work-item__headline {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 0.9rem;
}

.tv-work-item__body {
  font-size: 0.975rem;
  line-height: 1.75;
  color: #4A5568;
}

.tv-what-we-look-for {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tv-criterion-card {
  padding: 1.75rem;
  border: 1px solid #E2E6EA;
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
}

.tv-criterion-card__title {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 0.75rem;
}

.tv-criterion-card__body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #4A5568;
}

@media (max-width: 840px) {
  .tv-what-we-look-for {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .tv-what-we-look-for {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PORTFOLIO PAGE
   ========================================================= */
.tv-portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tv-portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid #E2E6EA;
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.tv-portfolio-card:hover {
  border-color: #1A6BFF;
  box-shadow: 0 4px 16px rgba(26, 107, 255, 0.08);
}

.tv-portfolio-card__logo-box {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
}

.tv-portfolio-card__logo-box img {
  max-width: 140px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tv-portfolio-card__logo-img {
  max-width: 120px;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

/* When logo-box contains only the text fallback (no image), hide the box entirely —
   company name is already shown in tv-portfolio-card__name below */
.tv-portfolio-card__logo-box .tv-portfolio-logo__name {
  display: none;
}

.tv-portfolio-card__logo-box:not(:has(img)) {
  display: none;
}

.tv-portfolio-card__name {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 0.4rem;
}

.tv-portfolio-card__sector {
  font-size: 0.775rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4A5568;
  margin-bottom: 0.5rem;
}

.tv-portfolio-card__year {
  font-size: 0.775rem;
  font-weight: 400;
  color: #9BAAB8;
  margin-top: auto;
  padding-top: 0.75rem;
}

.tv-portfolio-note {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #4A5568;
  max-width: 680px;
}

@media (max-width: 1024px) {
  .tv-portfolio-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .tv-portfolio-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .tv-portfolio-full-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TEAM PAGE
   ========================================================= */
.tv-partner-bios {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.tv-partner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.tv-partner--reverse {
  grid-template-columns: 1fr 280px;
}

.tv-partner--reverse .tv-partner__portrait {
  order: 2;
}

.tv-partner--reverse .tv-partner__bio {
  order: 1;
}

.tv-partner__portrait {
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background-color: #E2E6EA;
}

.tv-partner__name {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 0.3rem;
}

.tv-partner__role {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1A6BFF;
  margin-bottom: 1.25rem;
  display: block;
}

.tv-partner__bio-text {
  font-size: 1rem;
  line-height: 1.78;
  color: #4A5568;
  margin-bottom: 1.25rem;
}

.tv-partner__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0D4FCE;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tv-partner__linkedin:hover { color: #0A3FA8; }

@media (max-width: 840px) {
  .tv-partner {
    grid-template-columns: 1fr;
  }

  .tv-partner--reverse {
    grid-template-columns: 1fr;
  }

  .tv-partner__portrait {
    width: 200px;
    height: 200px;
  }

  .tv-partner--reverse .tv-partner__portrait {
    order: 0;
  }

  .tv-partner--reverse .tv-partner__bio {
    order: 0;
  }
}

.tv-contact-block {
  max-width: 600px;
}

.tv-contact-block__headline {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #0F1923;
  margin-bottom: 0.75rem;
}

.tv-contact-block__body {
  font-size: 1rem;
  line-height: 1.7;
  color: #4A5568;
  margin-bottom: 1.5rem;
}

.tv-contact-block__details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.tv-contact-block__line {
  font-size: 0.95rem;
  color: #4A5568;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tv-contact-block__line a {
  color: #0D4FCE;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tv-contact-block__line a:hover { color: #0A3FA8; }

.tv-contact-block__address {
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.65;
  font-style: normal;
}

/* =========================================================
   INSIGHTS INDEX PAGE
   ========================================================= */
.tv-articles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tv-article-row {
  display: grid;
  grid-template-columns: 120px 1fr 160px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #E2E6EA;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
  border-left: 3px solid transparent;
}

.tv-article-row:first-child {
  border-top: 1px solid #E2E6EA;
}

.tv-article-row:hover {
  background-color: #F7F7F5;
  border-left-color: #1A6BFF;
}

.tv-article-row__date {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9BAAB8;
  flex-shrink: 0;
}

.tv-article-row__title {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0F1923;
  line-height: 1.35;
}

.tv-article-row__author {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9BAAB8;
  text-align: right;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .tv-article-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    border-left-width: 3px;
  }

  .tv-article-row__author {
    text-align: left;
  }
}

/* =========================================================
   ARTICLE PAGE (individual insights article)
   Layout: body > nav + main.tv-article-page + footer
     .tv-article-header (max-width 720px, centered)
     .tv-article-body (max-width 720px, centered)
     .tv-article-back
   ========================================================= */
.tv-article-page {
  padding-top: var(--nav-height);
}

.tv-article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--container-pad) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid #E2E6EA;
}

.tv-article-header__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tv-article-header__date {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9BAAB8;
}

.tv-article-header__author {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9BAAB8;
}

.tv-article-header__author::before {
  content: '·';
  margin-right: 1rem;
}

.tv-article-header__title {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0F1923;
}

.tv-article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--container-pad);
}

.tv-article-body h2 {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #0F1923;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

.tv-article-body h3 {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #0F1923;
  margin-top: 2em;
  margin-bottom: 0.6em;
  line-height: 1.35;
}

.tv-article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4A5568;
  margin-bottom: 1.25em;
}

.tv-article-body ul,
.tv-article-body ol {
  padding-left: 1.75em;
  margin-bottom: 1.25em;
}

.tv-article-body ul { list-style: disc; }
.tv-article-body ol { list-style: decimal; }

.tv-article-body li {
  font-size: 1rem;
  line-height: 1.7;
  color: #4A5568;
  margin-bottom: 0.4em;
}

.tv-article-body blockquote {
  border-left: 3px solid #1A6BFF;
  padding-left: 1.5rem;
  margin: 2em 0;
  font-style: italic;
  color: #4A5568;
}

.tv-article-back {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--container-pad) clamp(3rem, 6vw, 5rem);
}

.tv-article-back__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0D4FCE;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.tv-article-back__link:hover { gap: 0.8rem; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.tv-legal-page {
  padding-top: var(--nav-height);
}

.tv-legal-container {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--container-pad);
}

.legal-article {
  color: #0F1923;
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E2E6EA;
}

.legal-header h1 {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #0F1923;
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: #4A5568;
  line-height: 1.6;
}

.legal-article section {
  margin-bottom: 2rem;
}

.legal-article h2 {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.legal-article p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4A5568;
  margin-bottom: 0.9rem;
}

.legal-article ul,
.legal-article ol {
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
}

.legal-article ul { list-style: disc; }
.legal-article ol { list-style: decimal; }

.legal-article li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4A5568;
  margin-bottom: 0.4rem;
}

.legal-article a {
  color: #0D4FCE;
  text-decoration: underline;
  text-decoration-color: rgba(13, 79, 206, 0.3);
  transition: text-decoration-color 0.15s ease;
}

.legal-article a:hover {
  text-decoration-color: #0D4FCE;
}

.legal-article address {
  font-style: normal;
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.8;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid #E2E6EA;
  color: #4A5568;
  line-height: 1.55;
}

.legal-table th {
  font-weight: 500;
  color: #0F1923;
  background-color: #F7F7F5;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #0F1923;
  border-top: 1px solid #253545;
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9BAAB8;
  flex: 1;
  min-width: 240px;
}

.cookie-banner__text a {
  color: #5A9BFF;
  text-decoration: underline;
  text-decoration-color: rgba(90, 155, 255, 0.4);
}

.cookie-banner__text a:hover {
  text-decoration-color: #5A9BFF;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  line-height: 1;
  color: #F7F7F5;
}

.cookie-banner__btn--secondary {
  background-color: transparent;
  border-color: #253545;
  color: #9BAAB8;
}

.cookie-banner__btn--secondary:hover {
  border-color: #9BAAB8;
  color: #F7F7F5;
}

.cookie-banner__btn--primary {
  background-color: #0D4FCE;
  border-color: #0D4FCE;
  color: #F7F7F5;
}

.cookie-banner__btn--primary:hover {
  background-color: #0A3FA8;
  border-color: #0A3FA8;
  color: #F7F7F5;
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* =========================================================
   FADE-IN ANIMATION (IntersectionObserver)
   ========================================================= */
.tv-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tv-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SECTION LABEL
   ========================================================= */
.tv-section-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A6BFF;
  margin-bottom: 0.75rem;
  display: block;
}

/* =========================================================
   UTILITY HELPERS
   ========================================================= */
.tv-mt-xs { margin-top: 0.75rem; }
.tv-mt-sm { margin-top: 1.5rem; }
.tv-mt-md { margin-top: 2.5rem; }
.tv-mt-lg { margin-top: 4rem; }

.tv-text-muted { color: #4A5568; }
.tv-text-accent { color: #0D4FCE; }
.tv-text-deco { color: #1A6BFF; }

.tv-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;
}

/* =========================================================
   RESPONSIVE HELPERS
   ========================================================= */
@media (max-width: 480px) {
  .tv-article-row {
    padding: 1rem 0;
  }
}
