/* ─────────────────────────────────────────────
   NEW AVENUE CAPITAL — Home Page Styles
   home.css
   Page-specific styles for index.html only.
   global.css is already loaded — do not redefine
   tokens, reset, nav, footer, or shared components.
───────────────────────────────────────────── */

/* ── Hero Split (homepage only) ── */
.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: calc(100vh - var(--nav-h));
}

.hero-photo {
  position: relative;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform-origin: center top;
  will-change: transform;
  display: block;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, var(--c-graphite) 100%);
  pointer-events: none;
}

.hero-content {
  background: var(--c-graphite);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4.5rem 5rem 3.5rem;
}

.hero-headline {
  color: var(--c-white);
  margin-bottom: 2rem;
}
/* Secondary accent line under the main hero headline — lighter, mixed-case,
   tracked and warmly coloured so "Working Capital for Tech Founders" reads as
   the headline and "No Equity Required" as a distinct sub-line. */
.hero-headline-accent {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.59em;
  font-weight: var(--fw-regular);
  letter-spacing: 0.05em;
  text-transform: none;
  line-height: 1.1;
  color: var(--c-sand);
}
@media (max-width: 768px) {
  .hero-headline-accent { font-size: 0.81em; margin-top: 0.85rem; }
}

.hero-sub {
  font-size: 15px;
  line-height: 1.82;
  color: var(--c-silver);
  margin-bottom: 3rem;
  max-width: 480px;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
@media (max-width: 640px) {
  .hero-sub { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

/* ── Enterprise Client Ticker (homepage only) ── */
.ticker {
  background: var(--c-graphite);
  border-top: var(--divider-terra);
  border-bottom: var(--divider-terra);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: scrollTicker 30s linear infinite;
}

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

.ticker-item {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  padding: 0 2.5rem;
}

.ticker-sep {
  color: rgba(141, 110, 100, 0.35);
  align-self: center;
}

@keyframes scrollTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── The Problem Section ── */
.problem-body {
  max-width: 680px;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

/* Remove default pull-quote margin inside grid cells */
.testimonials-grid .pull-quote {
  margin: 0;
}

/* ── Venture Credit Table Section ── */
.venture-credit-table {
  margin: 2.5rem 0;
  overflow-x: auto;
}

.venture-credit-supporting {
  max-width: 680px;
  margin-top: 2rem;
}

/* ── Fund at a Glance Section ── */
.fund-intro {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.fund-stats-wrapper {
  padding: 3.5rem 0;
  border-top: var(--divider);
  border-bottom: var(--divider);
}

.fund-stats-wrapper .stat-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .fund-stats-wrapper .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fund-closing {
  max-width: 580px;
  margin-top: 2.5rem;
}

/* ── Fund CTA Row ── */
.fund-cta-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: var(--divider);
  flex-wrap: wrap;
}

/* ── Venture Credit Comparison Cards ── */
.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 2px;
  margin-top: 3rem;
  align-items: start;
}

.compare-card {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.45);
}

.compare-card--featured {
  background: var(--c-graphite);
  border-top: 3px solid var(--c-terracotta);
  padding-top: 2.5rem;
}

.compare-card--muted {
  opacity: 0.82;
}

.compare-card-header {
  margin-bottom: 2rem;
}

.compare-card-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.compare-card--featured .compare-card-name {
  color: var(--c-white);
}

.compare-card-type {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-silver);
}

.compare-card--featured .compare-card-type {
  color: var(--c-terracotta);
}

.compare-attrs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 2rem;
  padding: 0;
}

.compare-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(86, 86, 86, 0.12);
  align-items: baseline;
}

.compare-card--featured .compare-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-attrs dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-silver);
  padding-top: 1px;
}

.compare-attrs dd {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-graphite);
  line-height: 1.4;
}

.compare-card--featured .compare-attrs dd {
  color: var(--c-white);
}

.compare-card--muted .compare-attrs dd {
  font-weight: 400;
}

.compare-card--featured .btn {
  margin-top: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    position: relative;
    min-height: max(60vh, 420px);
    display: flex;
    align-items: flex-end;
  }

  .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero-photo::after {
    background: rgba(0, 0, 0, 0.65) !important;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    background: transparent !important;
    padding: 3rem 1.5rem 3.5rem;
    width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .compare-cards {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .compare-card--muted { opacity: 1; }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 2.5rem 1.5rem 3.5rem;
  }

  .fund-cta-row {
    flex-direction: column;
  }
}

/* ── Founder Voices Carousel (homepage) ── */
/* ── Infinite card carousel ── */
.card-carousel {
  overflow: hidden;
  margin-top: 3rem;
  position: relative;
  /* Fade edges so cards emerge and disappear cleanly */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.card-carousel-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  animation: scrollTicker 35s linear infinite;
}
.card-carousel:hover .card-carousel-track {
  animation-play-state: paused;
}
.founder-card {
  flex: 0 0 320px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.founder-card-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--c-terracotta);
  margin-bottom: 1.5rem;
}
.founder-card-quote {
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  color: var(--c-silver);
  margin: 0 0 1.25rem;
  flex: 1;
}
.founder-card-name {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white);
  font-style: normal;
  display: block;
}
.founder-card-role {
  font-size: 11.5px;
  color: var(--c-silver);
  font-style: italic;
  display: block;
  margin-top: 0.2rem;
}
@media (max-width: 640px) {
  .founder-card { flex: 0 0 280px; padding: 1.5rem; }
  .founder-card-photo { width: 100px; height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .card-carousel-track { animation: none !important; transform: none !important; overflow-x: auto; touch-action: pan-x; -webkit-overflow-scrolling: touch; }
}

/* ── Teaser Eyebrow (shared across all homepage teaser sections) ── */
.teaser-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 1.25rem;
}

/* ── Investors Teaser ── */
.investors-teaser .section-headline {
  max-width: 600px;
  margin-bottom: 1.75rem;
}

.investors-teaser-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
  border-top: var(--divider-terra);
  padding-top: 1.75rem;
}

/* Tighten the vertical rhythm inside each stat item */
.investors-teaser-stats .stat-label-text {
  font-size: 12px;
  margin-bottom: 0.5rem;
}

.investors-teaser-stats .stat-number {
  margin-bottom: 0.375rem;
}

.investors-teaser-stats .stat-description {
  font-size: 14px;
  color: var(--c-silver);
  display: block;
  margin-top: 0;
}

.stat-unit {
  font-size: 0.55em;
  font-weight: var(--fw-bold);
  margin-left: 2px;
}

.investors-teaser-sub {
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.investors-teaser-prose {
  max-width: 680px;
  margin-bottom: 2.5rem;
}
.investors-teaser-prose .body-text + .body-text {
  margin-top: 1.25rem;
}

.investors-teaser-split {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 4rem;
  align-items: center;
}
.investors-teaser-copy {
  min-width: 0;
}
.investors-teaser-image {
  position: relative;
  overflow: hidden;
}
.investors-teaser-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 900px) {
  .investors-teaser-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .investors-teaser-image img {
    min-height: 280px;
    max-height: 360px;
  }
}

.investors-teaser-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .investors-teaser-stats {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .investors-teaser-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Founders / Borrow Teaser ── */
.founders-teaser-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.founders-teaser-copy .section-headline {
  margin-bottom: 2.5rem;
}

.founders-qualifier-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.founders-qualifier-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: var(--fs-body);
  color: var(--c-graphite);
  line-height: 1.6;
}

.founders-qualifier-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--c-terracotta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

.founders-teaser-quote {
  font-size: clamp(17px, 1.8vw, 22px);
  font-style: italic;
  color: var(--c-graphite);
  line-height: 1.65;
  border-left: 3px solid var(--c-terracotta);
  padding-left: 2rem;
}

@media (max-width: 860px) {
  .founders-teaser-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ── Portfolio Teaser ── */
.portfolio-teaser-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.portfolio-teaser-rows {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(86, 86, 86, 0.15);
}

.portfolio-teaser-row {
  display: grid;
  grid-template-columns: 100px 180px 1.2fr 1.8fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.25rem 1.5rem;
  border-top: 1px solid rgba(86, 86, 86, 0.15);
  background: transparent;
  transition: background 0.3s ease;
}

.portfolio-teaser-row:hover {
  background: rgba(255, 255, 255, 0.25);
}

.portfolio-teaser-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-teaser-col--status {
  align-items: flex-start;
}

.portfolio-teaser-col--logo {
  align-items: center;
}

.portfolio-teaser-col--meta {
  align-items: flex-start;
}

.portfolio-teaser-col--body {
  align-items: flex-start;
}

.portfolio-teaser-status {
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-terracotta);
}

.portfolio-teaser-logo {
  max-height: 56px;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-teaser-row:hover .portfolio-teaser-logo {
  opacity: 1;
  transform: scale(1.05);
}

.portfolio-teaser-name {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--c-black);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.portfolio-teaser-role {
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-graphite);
  line-height: 1.4;
}

.portfolio-teaser-body {
  font-size: var(--fs-body);
  color: var(--c-graphite);
  line-height: var(--lh-body);
}

@media (max-width: 900px) {
  .portfolio-teaser-row {
    grid-template-columns: 80px 140px 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }
  
  .portfolio-teaser-col--body {
    grid-column: span 3;
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .portfolio-teaser-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
    align-items: flex-start;
  }
  
  .portfolio-teaser-col--body {
    grid-column: span 1;
    margin-top: 0;
  }
  
  .portfolio-teaser-col--logo {
    align-items: flex-start;
  }
  
  .portfolio-teaser-logo {
    max-height: 36px;
    margin-bottom: 0.5rem;
  }
  
  .portfolio-teaser-name {
    margin-bottom: 0.15rem;
  }
  
  .portfolio-teaser-row:hover {
    background: transparent;
  }
}

/* ── Team Teaser ── */
.team-teaser .section-headline {
  max-width: 480px;
  margin-bottom: 3.5rem;
}

.team-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.team-teaser-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: -1px 0 0 -1px; /* collapse borders */
  transition: background 0.3s ease, transform 0.3s ease;
}
.team-teaser-member:hover {
  background: rgba(141, 110, 100, 0.04);
  transform: translateY(-2px);
}

.team-teaser-photo {
  width: 143px;
  height: 180px;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 1.1rem;
  border: 2px solid var(--c-terracotta);
  transition: box-shadow 0.3s ease;
}
.team-teaser-member:hover .team-teaser-photo {
  box-shadow: 0 6px 20px rgba(141, 110, 100, 0.2);
}

.team-teaser-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}
.team-teaser-member:hover .team-teaser-photo img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.team-teaser-name {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--c-black);
  margin-bottom: 0.2rem;
  transition: color 0.25s ease;
}
.team-teaser-member:hover .team-teaser-name {
  color: var(--c-terracotta);
}

.team-teaser-title {
  font-size: 10.5px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-terracotta);
}

.team-teaser-cta {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .team-teaser-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .team-teaser-member { padding: 1.75rem 0.75rem; }
  .team-teaser-photo { width: 120px; height: 150px; }
}
@media (max-width: 640px) {
  .team-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-teaser-member { padding: 1.5rem 1rem; }
  .team-teaser-photo { width: 120px; height: 150px; }
}
