/* ═══ Investor page ═══ */

.investor-main {
  overflow: clip;
}

.investor-hero {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px) 0 clamp(64px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: clamp(38px, 7vw, 92px);
}

.investor-hero h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 6vw, 6.8rem);
}

.investor-lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.thesis-card {
  position: relative;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 34px 100px rgba(44, 54, 57, 0.2);
  overflow: hidden;
}

.thesis-label {
  display: inline-flex;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-card h2 {
  margin-bottom: 36px;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  line-height: 1;
  text-wrap: balance;
}

.thesis-list {
  margin: 0;
  display: grid;
  gap: 10px;
}

.thesis-list div {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.thesis-list dt {
  margin-bottom: 5px;
  font-weight: 850;
}

.thesis-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.5;
}

.investor-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0;
}

.investor-heading {
  max-width: 850px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.investor-heading h2,
.market-copy h2,
.stage-summary h2,
.founder-panel h2,
.investor-contact-card h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  line-height: 0.98;
  text-wrap: balance;
}

.investor-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.investor-card {
  min-height: 330px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 70px rgba(44, 54, 57, 0.07);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}

.investor-card:hover {
  transform: translateY(-5px);
  border-color: rgba(33, 141, 188, 0.34);
  box-shadow: 0 30px 86px rgba(44, 54, 57, 0.12);
}

.investor-card-index {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 72px;
  place-items: center;
  border-radius: 16px;
  color: var(--coffee);
  background: rgba(33, 141, 188, 0.12);
  font-weight: 900;
}

.investor-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.investor-card p,
.market-copy p,
.stage-summary p,
.founder-copy p,
.investor-contact-card > p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.investor-scene-section {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(70px, 9vw, 118px);
}

.investor-scene {
  position: relative;
  min-height: 620px;
  margin: 0;
  border-radius: 38px;
  background: var(--coffee-deep);
  box-shadow: 0 34px 110px rgba(44, 54, 57, 0.17);
  overflow: hidden;
  isolation: isolate;
}

.investor-scene-media,
.investor-scene-media::after {
  position: absolute;
  inset: 0;
}

.investor-scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.9) contrast(1.03);
  transform: scale(1.015);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.investor-scene-media::after {
  content: "";
  z-index: 1;
  /* A flat charcoal veil keeps the white text readable on the photo. */
  background: rgba(44, 54, 57, 0.62);
}

.scene-network {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.scene-network svg {
  width: 100%;
  height: 100%;
}

.scene-network path {
  fill: none;
  stroke: rgba(221, 233, 234, 0.44);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0.08 0.12;
}

.scene-node {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 9px rgba(33, 141, 188, 0.20);
}

.node-one { left: 10%; top: 72%; }
.node-two { left: 46%; top: 41%; }
.node-three { right: 9%; top: 33%; }
.node-four { right: 17%; bottom: 30%; }

.scene-caption {
  position: absolute;
  left: clamp(28px, 5vw, 62px);
  bottom: clamp(28px, 5vw, 58px);
  z-index: 3;
  max-width: 620px;
  color: #ffffff;
}

.scene-caption .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.scene-caption h2 {
  margin-bottom: 26px;
  font-size: clamp(2.5rem, 5vw, 5.3rem);
  line-height: 0.96;
  text-wrap: balance;
}

.scene-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scene-pills span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 850;
}

.market-panel {
  padding: clamp(30px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(350px, 0.7fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(44, 54, 57, 0.09);
}

.market-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.market-steps li {
  padding: 18px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.market-steps li:hover {
  transform: translateX(5px);
  border-color: rgba(33, 141, 188, 0.34);
}

.market-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: var(--coffee-deep);
  font-weight: 900;
}

.market-steps strong,
.market-steps small {
  display: block;
}

.market-steps small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  gap: 18px;
}

.stage-summary,
.stage-principles {
  padding: clamp(30px, 5vw, 58px);
  border-radius: 32px;
}

.stage-summary {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 22px 74px rgba(44, 54, 57, 0.08);
}

.stage-badge {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--coffee);
  background: rgba(33, 141, 188, 0.12);
  font-size: 0.84rem;
  font-weight: 900;
}

.stage-principles {
  display: grid;
  align-content: center;
  gap: 12px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 26px 80px rgba(44, 54, 57, 0.15);
}

.stage-principles div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.stage-principles strong,
.stage-principles span {
  display: block;
}

.stage-principles span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.investor-roadmap {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.investor-roadmap li {
  min-height: 265px;
  padding: 24px;
  border-top: 3px solid var(--cyan);
  border-radius: 0 0 24px 24px;
  background: var(--white);
}

.investor-roadmap li > span {
  display: block;
  margin-bottom: 58px;
  color: var(--cyan-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.investor-roadmap strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.investor-roadmap p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.founder-panel {
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(44, 54, 57, 0.08);
}

.investor-contact {
  padding-top: clamp(42px, 6vw, 76px);
}

.investor-contact-card {
  padding: clamp(42px, 7vw, 84px);
  border: 1px solid var(--line);
  border-radius: 38px;
  color: var(--ink);
  text-align: center;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(44, 54, 57, 0.10);
}

.investor-contact-card .eyebrow {
  color: var(--cyan-deep);
}

.investor-contact-card h2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.investor-contact-card > p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.investor-contact-card .hero-actions {
  justify-content: center;
}

.investor-contact-card .button {
  color: #ffffff;
  background: var(--coffee-deep);
}

.investor-contact-card .button.secondary {
  color: var(--coffee-deep);
  background: var(--white);
  border-color: rgba(44, 54, 57, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
  .investor-hero-copy {
    opacity: 0;
    transform: translateY(12px);
    animation: hero-copy-enter 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards;
  }

  .thesis-card::after {
    content: "";
    position: absolute;
    right: -44px;
    top: 18%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(221, 233, 234, 0.28);
    border-radius: 999px;
    box-shadow: 0 0 0 30px rgba(221, 233, 234, 0.05), 0 0 0 62px rgba(221, 233, 234, 0.03);
    animation: thesis-orbit 7s ease-in-out infinite;
    pointer-events: none;
  }

  .scene-network path {
    animation: network-flow 7s linear infinite;
  }

  .scene-network path:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 9s;
  }

  .scene-node {
    animation: scene-node-pulse 2.8s ease-in-out infinite;
  }

  .scene-node:nth-of-type(2) { animation-delay: 0.7s; }
  .scene-node:nth-of-type(3) { animation-delay: 1.4s; }
  .scene-node:nth-of-type(4) { animation-delay: 2.1s; }

  .investor-scene:hover .investor-scene-media img {
    transform: scale(1.045);
  }
}

@media (max-width: 980px) {
  .investor-hero,
  .market-panel,
  .stage-layout,
  .founder-panel {
    grid-template-columns: 1fr;
  }

  .investor-hero {
    padding-top: 30px;
  }

  .investor-card-grid {
    grid-template-columns: 1fr;
  }

  .investor-card {
    min-height: 0;
  }

  .investor-card-index {
    margin-bottom: 38px;
  }

  .investor-roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .investor-hero,
  .investor-section {
    width: min(100% - 28px, 1160px);
  }

  .investor-hero {
    padding-top: 22px;
  }

  .investor-hero h1 {
    font-size: clamp(2.66rem, 12vw, 4rem);
  }

  .thesis-card,
  .market-panel,
  .stage-summary,
  .stage-principles,
  .founder-panel,
  .investor-contact-card {
    border-radius: 26px;
  }

  .market-panel,
  .stage-summary,
  .stage-principles,
  .founder-panel,
  .investor-contact-card {
    padding: 26px 22px;
  }

  .investor-roadmap {
    grid-template-columns: 1fr;
  }

  .investor-roadmap li {
    min-height: 0;
  }

  .investor-roadmap li > span {
    margin-bottom: 34px;
  }

  .investor-scene-section {
    padding-top: 24px;
  }

  .investor-scene {
    min-height: 0;
    border-radius: 26px;
    background: #ffffff;
  }

  .investor-scene-media {
    position: relative;
    height: 390px;
  }

  .investor-scene-media::after {
    background: rgba(44, 54, 57, 0.5);
  }

  .scene-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 26px 22px 28px;
    color: var(--ink);
  }

  .scene-caption .eyebrow {
    color: var(--coffee);
  }

  .scene-caption h2 {
    font-size: clamp(2.25rem, 10.8vw, 3.3rem);
  }

  .scene-pills span {
    border-color: var(--line);
    background: rgba(255, 250, 243, 0.88);
  }
}

/* ── Investor hero: text entrance ── */
@keyframes hero-copy-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes network-flow {
  to { stroke-dashoffset: -1; }
}

@keyframes scene-node-pulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(33, 141, 188, 0.16); }
  50% { box-shadow: 0 0 0 15px rgba(33, 141, 188, 0.03); }
}

@keyframes thesis-orbit {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(-12px, 18px, 0) scale(1.06); opacity: 1; }
}
