:root {
  --navy: #0b1633;
  --navy-2: #13224a;
  --blue: #1d4f9e;
  --sky: #5cc8f2;
  --ink: #141a2e;
  --muted: #5f687a;
  --line: #e6e9f0;
  --white: #ffffff;
  --mist: #b9c4dd;
  --stripe: linear-gradient(90deg, #f7c6e6 0 16.66%, #8b77a8 0 33.33%, #1754a3 0 50%, #00ab4e 0 66.66%, #94cf4a 0 83.33%, #00b4f0 0);
  --font: "Montserrat", system-ui, sans-serif;
}
html[lang="he"] { --font: "Heebo", "Montserrat", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.stripe { height: 5px; background: var(--stripe); }
.mark { font-family: "Montserrat", sans-serif; font-weight: 800; letter-spacing: -.5px; text-decoration: none; }

/* Header: transparent over the film, solid once scrolled */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; color: var(--white); transition: background .3s, color .3s, box-shadow .3s; }
header.solid { background: rgba(255,255,255,.96); color: var(--navy); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 16px; }
.nav .mark { font-size: 24px; color: inherit; }
/* Logo lockup: SCVC wordmark over "Schneider Children's VC", as in the brand logo */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: inherit; font-family: "Montserrat", sans-serif; line-height: 1; direction: ltr; }
.logo b { font-size: 59px; font-weight: 800; letter-spacing: -1.5px; }
/* The subtitle is exactly as wide as SCVC, flush on both sides */
.logo small { width: 0; min-width: 100%; text-align: justify; text-align-last: justify; font-size: 13.5px; font-weight: 400; letter-spacing: 0; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; opacity: .9; }
.nav-links a:hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--navy) !important; }
.btn-glass { background: rgba(255,255,255,.14); color: var(--white) !important; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.btn-dark { background: var(--navy); color: var(--white) !important; }
.btn-dark:hover { background: var(--blue); }
header .btn { padding: 9px 18px; background: rgba(255,255,255,.16); color: var(--white) !important; border: 1px solid rgba(255,255,255,.4); }
header.solid .btn { background: var(--navy); border-color: var(--navy); }
.play { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
html[dir="rtl"] .play { border-width: 6px 10px 6px 0; border-color: transparent currentColor transparent transparent; }

/* Film hero */
.film { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); color: var(--white); }
.film video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); transform-origin: center 30%; }
video.bg { transition: opacity .8s ease; }
video.bg.fading { opacity: 0; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,51,.45) 0%, rgba(11,22,51,.25) 35%, rgba(11,22,51,.9) 100%); }
.film .content { position: relative; z-index: 1; padding-bottom: 12vh; width: 100%; }
.film h1 { font-size: clamp(44px, 8vw, 104px); line-height: 1; letter-spacing: -2.5px; margin: 0 0 22px; font-weight: 800; max-width: 980px; }
html[lang="he"] .film h1 { letter-spacing: -1px; line-height: 1.05; }
.film p { font-size: clamp(22px, 2.9vw, 32px); font-weight: 500; line-height: 1.35; color: rgba(255,255,255,.92); margin: 0 0 38px; max-width: 760px; }
.film .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { position: absolute; z-index: 1; bottom: 28px; left: 50%; width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.8)); }

/* Strategic partners band, right under the film */
.partners { padding: 22px 0; border-bottom: 1px solid var(--line); }
.partners .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.partners p { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.partners .partner-link { display: block; width: 100%; max-width: 252px; transition: opacity .2s; }
.partners .partner-link:hover { opacity: .8; }
.partners img { display: block; width: 100%; height: auto; }

/* The Stanford quote */
.quote-band { padding: 130px 0 30px; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 940px; font-size: clamp(24px, 3.3vw, 40px); line-height: 1.35; font-weight: 500; color: var(--ink); letter-spacing: -.4px; }
.quote-band blockquote strong { color: var(--blue); font-weight: 800; }
.quote-band cite { display: block; margin-top: 18px; font-size: 11px; font-style: italic; color: var(--muted); opacity: .85; }
.quote-band + .statement { padding-top: 90px; }

/* Big statements */
.statement { padding: 150px 0; text-align: center; }
.statement h2 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.08; letter-spacing: -1.5px; margin: 0 auto 26px; color: var(--navy); font-weight: 800; max-width: 920px; }
html[lang="he"] .statement h2 { letter-spacing: -.5px; }
.statement p { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.statement .grad { background: linear-gradient(90deg, #8b77a8, #1754a3 40%, #00ab4e 75%, #00b4f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark { background: var(--navy); color: var(--white); }
.dark h2 { color: var(--white); }
.dark p { color: var(--mist); }

/* Content sections */
section { padding: 110px 0; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.dark .label { color: var(--sky); }
.title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 48px; color: var(--navy); font-weight: 800; max-width: 760px; }
.dark .title { color: var(--white); }

.title + .lead-in { margin-top: -24px; }
.lead-in { font-size: clamp(17px, 1.8vw, 20px); font-weight: 500; color: var(--mist); margin: 0 0 44px; max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; max-width: 900px; }
.steps div { border-top: 3px solid var(--line); padding-top: 22px; }
.steps div:nth-child(1) { border-color: #1754a3; }
.steps div:nth-child(2) { border-color: #00ab4e; }
.steps b { display: block; font-size: 22px; color: var(--navy); margin-bottom: 8px; letter-spacing: -.3px; }
.steps span { color: var(--muted); font-size: 16px; }
.fine { font-size: 13.5px; color: var(--muted); margin: 44px 0 0; max-width: 900px; }
.dark .fine { color: var(--mist); }
.fine sup, .steps sup { color: var(--sky); font-weight: 700; }
.dark .steps b { color: var(--white); }
.dark .steps span { color: var(--mist); }

.cos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.co { background: var(--white); border-radius: 20px; padding: 30px 28px; }
.co-logo { height: 60px; display: flex; align-items: center; margin-bottom: 18px; }
.co-logo img { display: block; max-height: 100%; max-width: 240px; width: auto; height: auto; }
.co span { color: var(--muted); font-size: 16px; }
.co-soon { grid-column: 1 / -1; background: transparent; border: 1.5px dashed rgba(185,196,221,.45); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 28px; }
.co-soon small { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sky); }
.co-soon b { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.3px; color: var(--white); }

.unicorn { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; }
.unicorn img { width: 100%; max-width: 380px; height: auto; display: block; }
.unicorn p { margin-inline: auto !important; }
.unicorn h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -1.5px; color: var(--navy); margin: 0 0 22px; font-weight: 800; }
html[lang="he"] .unicorn h2 { letter-spacing: -.5px; }
.unicorn p { font-size: 19px; color: var(--muted); margin: 0; max-width: 620px; }
.unicorn p.kicker { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 14px; max-width: none; }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.people h4 { margin: 0; font-size: 17px; color: var(--navy); }
.people p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.people > div { display: flex; align-items: center; gap: 16px; }
.people img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: var(--line); }
.people a.in { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-start: 4px; border-radius: 4px; background: #0a66c2; color: #fff; font: 700 11px/1 Arial, sans-serif; text-decoration: none; vertical-align: 2px; }
.people a.in:hover { background: #004182; }
.subhead { font-size: 14px; font-weight: 700; color: var(--navy); margin: 56px 0 20px; }

/* Closing, over the film's last scene */
.closing { position: relative; overflow: hidden; background: var(--navy); color: var(--white); text-align: center; padding: 160px 0 140px; }
.closing video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); transform-origin: center 30%; }
.closing::after { content: ""; position: absolute; inset: 0; background: rgba(11,22,51,.72); }
.closing .wrap { position: relative; z-index: 1; }
.closing h2 { font-size: clamp(36px, 6vw, 76px); line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 28px; font-weight: 800; }
html[lang="he"] .closing h2 { letter-spacing: -.5px; }
.motto { font-size: clamp(16px, 2vw, 20px); font-weight: 600; color: var(--mist); margin: 0 0 48px; }
.motto span { color: var(--white); }
/* "Healthy" stays put while the word after it cycles, as in the film */
.motto:has(.rotate) { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; color: var(--white); margin-bottom: 56px; }
.rotate { display: inline-block; position: relative; height: 1.15em; vertical-align: bottom; text-align: start; transition: width .5s ease; }
.rotate span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(.45em); transition: opacity .6s ease, transform .6s ease; }
.rotate span.on { opacity: 1; transform: none; }
.rotate span.out { opacity: 0; transform: translateY(-.45em); }
.rotate span:nth-child(1) { color: #f7c6e6; }
.rotate span:nth-child(2) { color: #00b4f0; }
.rotate span:nth-child(3) { color: #94cf4a; }
.closing a.email { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--white); text-decoration: none; border-bottom: 2px solid var(--sky); }
.closing .small { margin: 14px 0 0; color: var(--mist); font-size: 15px; }
.closing .submit-cta { padding: 16px 30px; font-size: 16px; }
.closing .contact-line { margin: 30px 0 0; color: var(--mist); font-size: 16px; }
.closing .contact-line a.email { font-size: inherit; font-weight: 600; border-bottom-width: 1px; }

/* Venture submission page */
.submit-page { max-width: 640px; margin: 0 auto; padding: 56px 16px 80px; }
.submit-page .mark { font-weight: 900; font-size: 28px; color: var(--navy); text-decoration: none; letter-spacing: -.5px; }
.submit-page h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -1px; color: var(--navy); margin: 36px 0 12px; font-weight: 800; }
.submit-page .intro { color: var(--muted); font-size: 17px; margin: 0 0 36px; }
.vform { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.vform .full { grid-column: 1 / -1; }
.vform label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.vform label small { font-weight: 500; color: var(--muted); }
.vform input, .vform select, .vform textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); outline: none; }
.vform textarea { min-height: 130px; resize: vertical; }
.vform input:focus, .vform select:focus, .vform textarea:focus { border-color: var(--navy); }
.vform input[type=file] { padding: 10px; }
.vform .hp { display: none; }
.vform .btn { justify-self: start; padding: 14px 28px; font-size: 15px; }
.vform .legal { font-size: 12.5px; color: var(--muted); margin: 0; }
.submit-page .status { margin-top: 18px; font-size: 15px; min-height: 22px; }
.submit-page .status.err { color: #c0392b; }
.submit-page .thanks { display: none; padding: 32px; border-radius: 14px; background: #f1f8f3; border: 1px solid #cfe9d6; }
.submit-page .thanks h2 { margin: 0 0 8px; color: var(--navy); font-size: 24px; }
.submit-page .thanks p { margin: 0; color: var(--muted); }
.submit-page.sent .vform, .submit-page.sent .intro { display: none; }
.submit-page.sent .thanks { display: block; }
.submit-page .back { display: inline-block; margin-top: 40px; color: var(--muted); font-size: 14px; text-decoration: none; }
@media (max-width: 600px) { .vform { grid-template-columns: 1fr; } }

footer { padding: 30px 0 38px; font-size: 13px; color: var(--muted); }
footer .top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
footer .top a { text-decoration: none; font-weight: 600; color: var(--navy); }
footer p { margin: 0; }

/* Film modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(5,10,24,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal video { width: 100%; max-width: 1100px; max-height: 86vh; border-radius: 12px; background: #000; }
.modal .close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }
html[dir="rtl"] .modal .close { right: auto; left: 22px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 820px) {
  .nav-links a:not(.btn):not(.lang) { display: none; }
  .nav-links { gap: 14px; }
  .nav { height: 80px; }
  .logo b { font-size: 48.5px; letter-spacing: -1px; }
  .logo small { font-size: 11.15px; margin-top: 3px; }
  .statement { padding: 96px 0; }
  section { padding: 76px 0; }
  .steps, .cos { grid-template-columns: 1fr; gap: 24px; }
  .unicorn { gap: 28px; }
  .unicorn img { max-width: 260px; }
  .people { grid-template-columns: 1fr 1fr; }
  .closing { padding: 110px 0 96px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .people { grid-template-columns: 1fr; }
}

/* Investors page */
.gate { min-height: calc(100vh - 10px); display: grid; place-items: center; padding: 40px 16px; }
.gate-card { width: 100%; max-width: 420px; text-align: center; }
.gate-art { display: block; width: 132px; height: 132px; border-radius: 26px; margin: 0 auto 22px; }
.gate-card .mark { font-size: 40px; display: inline-block; margin-bottom: 6px; color: var(--navy); }
.gate-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.gate-card h1 { font-size: 26px; letter-spacing: -.5px; margin: 0 0 8px; color: var(--navy); }
.gate-card .note { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.gate-card form { display: flex; gap: 8px; }
.gate-card input { flex: 1; min-width: 0; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: 15px; outline: none; }
.gate-card input:focus { border-color: var(--navy); }
.gate-card .btn { background: var(--navy); color: var(--white); }
.gate-card .btn:hover { background: var(--blue); }
.gate-card .err { color: #c0392b; font-size: 14px; min-height: 22px; margin: 12px 0 0; }
.gate-card .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.gate-card .btn-outline { background: transparent; color: var(--navy) !important; border: 1.5px solid var(--navy); }
.gate-card .btn-outline:hover { background: var(--navy); color: var(--white) !important; }
.gate-card .legal { margin-top: 36px; font-size: 12px; color: var(--muted); line-height: 1.55; }
.deck-viewer { position: fixed; inset: 0; z-index: 100; background: rgba(11,22,51,.96); overflow-y: auto; padding: 64px 16px 40px; }
.deck-viewer[hidden] { display: none; }
.deck-viewer .pages { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.deck-viewer canvas { width: 100%; height: auto; display: block; border-radius: 6px; background: #fff; }
.deck-viewer .close { position: fixed; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.back { display: inline-block; margin-top: 28px; font-size: 13px; color: var(--muted); }

/* Team: portrait cards; management as three large cards, the other groups as a four-column grid */
.team2 .title { margin-bottom: 8px; }
.rail-head { margin: 56px 0 22px; border-bottom: 1px solid var(--line); }
.rail-head .subhead { display: inline-block; margin: 0 0 -1px; padding-bottom: 12px; border-bottom: 3px solid #1754a3; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
.rail-head.g2 .subhead { border-color: #00ab4e; }
.rail-head.g3 .subhead { border-color: #00b4f0; }

.pc { margin: 0; }
.pc .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #eef1f6; }
.pc img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .6s; }
.pc:hover img { filter: grayscale(0); transform: scale(1.04); }
.pc a.in { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 4px; background: #0a66c2; color: #fff; font: 700 13px/26px Arial, sans-serif; text-align: center; text-decoration: none; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.pc:hover a.in, .pc a.in:focus { opacity: 1; transform: none; }
/* Photos stay black and white everywhere; on touch screens a tap shows colour, and the LinkedIn badge is always visible */
.pc:active img { filter: grayscale(0); }
@media (hover: none) { .pc a.in { opacity: 1; transform: none; } }
.pc figcaption { padding-top: 14px; }
.pc b { display: block; font-size: 16px; color: var(--navy); letter-spacing: -.2px; }
.pc span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }

/* Same card width in both grids: three across for management, four across for the rest */
.lead-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 564px; }
.lead-cards .pc b { font-size: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; max-width: 760px; }

@media (max-width: 760px) {
  .lead-cards, .grid4 { gap: 22px 14px; }
  .pc b, .lead-cards .pc b { font-size: 14px; }
  .pc span { font-size: 12px; }
}
@media (max-width: 520px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .lead-cards { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
