/* Tech4Cancer — Home page styles */

@keyframes t4c-draw { to { stroke-dashoffset: 0; } }
@keyframes t4c-beat { 0%, 100% { transform: scale(1); opacity: 1; } 45% { transform: scale(1.5); opacity: .5; } }
.t4c-scribble { stroke-dasharray: 1040; stroke-dashoffset: 1040; animation: t4c-draw 1.6s ease forwards .35s; }
.t4c-ecg { stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: t4c-draw 2.6s cubic-bezier(.6,.02,.2,1) forwards; }

@keyframes t4c-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-strip {
  overflow: hidden;
  direction: ltr;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex;
  direction: ltr;
  width: max-content;
  animation: t4c-marquee 42s linear infinite;
}
.logo-track.rev { animation-direction: reverse; }
.logo-item {
  flex: 0 0 auto;
  width: 168px;
  height: 76px;
  margin-inline-end: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-strip:hover .logo-track { animation-play-state: paused; }

/* Hero */
.t4c-hero { background: var(--page-bg); padding: 92px 48px 96px; text-align: center; }
.t4c-hero-visual { max-width: 1120px; margin: 0 auto 48px; position: relative; height: 130px; border-top: 1px solid rgba(21,23,28,0.12); }
.t4c-hero-visual svg { width: 100%; height: 130px; display: block; }
.t4c-hero-visual .t4c-beat {
  position: absolute; top: 6px; left: 50%; transform: translateX(-9px);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--warm); animation: t4c-beat 1.6s ease-in-out infinite;
}
.t4c-hero-inner { max-width: 920px; margin: 0 auto; }
.t4c-hero-eyebrow { font-size: 24px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 26px; }
.t4c-hero-title {
  font-weight: 600; font-size: 76px; line-height: 1.12; margin: 0 0 28px;
  letter-spacing: -0.01em; color: var(--ink-text);
}
.t4c-hero-title .t4c-highlight { position: relative; display: inline-block; color: var(--warm); }
.t4c-hero-title .t4c-highlight svg {
  position: absolute; left: -42px; right: -42px; top: -24px;
  width: calc(100% + 84px); height: calc(100% + 52px);
  overflow: visible; pointer-events: none;
}
.t4c-hero-lede { font-size: 21px; line-height: 1.62; color: var(--body-text); max-width: 56ch; margin: 0 auto 38px; font-weight: 500; }
.t4c-hero-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.t4c-link-underline { font-weight: 700; font-size: 16px; color: var(--ink-text); border-bottom: 2px solid var(--warm); padding-bottom: 3px; text-decoration: none; }
.t4c-hero-stats { display: flex; justify-content: center; gap: 64px; margin-top: 60px; flex-wrap: wrap; }
.t4c-hero-stats .t4c-stat-num { font-weight: 600; font-size: 60px; color: var(--accent); line-height: 1; }
.t4c-hero-stats .t4c-stat-num .unit { font-size: 26px; font-weight: 600; }
.t4c-hero-stats .t4c-stat-label { font-size: 14.5px; color: #6a7282; margin-top: 6px; font-weight: 600; }

/* Logo marquee bands */
.t4c-logo-band { background: var(--page-bg); padding: 0 0 64px; }

/* Why now */
.t4c-why { background: #FFFFFF; padding: 52px 48px; }
.t4c-why-inner { max-width: 1120px; margin: 0 auto; }
.t4c-why h2 { font-weight: 600; font-size: 42px; margin: 0 0 48px; color: var(--ink-text); }
.t4c-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.t4c-why-grid > div { padding: 4px 40px; border-left: 1px solid rgba(21,23,28,0.13); }
.t4c-why-grid > div:first-child { padding-left: 40px; padding-right: 0; }
.t4c-why-grid > div:last-child { border-left: none; padding-left: 0; }
.t4c-why-num { font-weight: 600; font-size: 60px; line-height: 1; color: var(--accent); }
.t4c-why-num .unit { font-size: 26px; font-weight: 600; }
.t4c-why-num .sep { font-size: 34px; color: var(--warm); }
.t4c-why-grid p { font-size: 18px; line-height: 1.55; color: #2f3645; margin: 20px 0 0; font-weight: 600; }

/* Story */
.t4c-story { background: var(--page-bg); padding: 96px 48px; }
.t4c-story-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.t4c-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--warm); margin-bottom: 18px; }
.t4c-story h2 { font-weight: 600; font-size: 46px; line-height: 1.15; margin: 0 0 24px; color: var(--ink-text); }
.t4c-story p { font-size: 19px; line-height: 1.68; color: var(--body-text); margin: 0 0 20px; font-weight: 500; }
.t4c-story-photo {
  display: block; width: 100%; height: 440px; border-radius: 18px;
  object-fit: cover;
}
.t4c-photo-credit { font-size: 12px; color: #8b93a3; margin-top: 8px; font-weight: 500; }

/* Partners / quotes */
.t4c-partners { background: #FFFFFF; padding: 96px 48px; }
.t4c-partners-inner { max-width: 1080px; margin: 0 auto; }
.t4c-partners-head { text-align: center; margin-bottom: 56px; }
.t4c-partners-head h2 { font-weight: 600; font-size: 46px; margin: 0; color: var(--ink-text); }
.t4c-quotes { display: none; }
.t4c-quote { display: flex; flex-direction: column; }
.t4c-quote-mark { font-weight: 700; font-size: 64px; line-height: 0.5; color: var(--warm); height: 34px; }
.t4c-quote p { font-weight: 500; font-size: 24px; line-height: 1.55; color: var(--ink-text); margin: 0 0 22px; }
.t4c-quote-attr { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--warm); letter-spacing: 0.04em; }
.t4c-partners-logos { margin-top: 64px; }

/* Vision */
.t4c-vision { background: var(--page-bg); padding: 80px 48px 56px; }
.t4c-vision-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.t4c-vision h2 { font-weight: 600; font-size: 50px; line-height: 1.2; margin: 0 0 26px; color: var(--ink-text); }
.t4c-vision p { font-size: 19.5px; line-height: 1.7; color: var(--body-text); margin: 0 auto 14px; font-weight: 500; max-width: 70ch; }
.t4c-vision .t4c-link-accent { display: inline-block; margin-top: 18px; }

.t4c-link-accent { font-weight: 700; font-size: 17px; color: var(--accent); text-decoration: none; }

/* Final CTA */
.t4c-final-cta { background: var(--ink); padding: 92px 48px; text-align: center; }
.t4c-final-cta-inner { max-width: 820px; margin: 0 auto; }
.t4c-final-cta h2 { font-weight: 600; font-size: 48px; line-height: 1.22; margin: 0 0 20px; color: #fff; }
.t4c-final-cta h2 .t4c-highlight-warm { color: var(--warm); }
.t4c-final-cta p { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 0 0 38px; font-weight: 500; }
.t4c-final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .t4c-hero-title { font-size: 48px; }
  .t4c-why-grid { grid-template-columns: 1fr; gap: 32px; }
  .t4c-why-grid > div { border-left: none !important; padding: 0 !important; }
  .t4c-story-inner { grid-template-columns: 1fr; gap: 32px; }
  .t4c-story-photo, .t4c-photo-credit { display: none; }
  .t4c-vision h2, .t4c-story h2, .t4c-partners-head h2, .t4c-final-cta h2 { font-size: 32px; }
}
