/* v2 homepage, Zamp-style layouts in the Stratos Technologies site. The home page and the case studies load this. */

/* hero: one line, one ask */
.v2-hero h1 { max-width: 15ch; }
.v2-lede { font-size: 1.2rem; line-height: 1.55; color: #c9d8f2; margin: 16px 0 26px; max-width: 30rem; }
.v2-textlink { display: inline-flex; align-items: center; padding: 14px 6px; font-weight: 700; color: #fff; border-bottom: 2px solid rgba(244,123,32,.8); border-radius: 0; }
.v2-textlink:hover { color: #FFB27A; }
.v2-dark-link { color: var(--blue); }
.v2-dark-link:hover { color: var(--orange-ink); }

/* proof band under the hero */
.v2-bandwrap { margin-top: -44px; position: relative; z-index: 2; }
.v2-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 20px; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, #08144B 0%, #1535CC 55%, #F47B20 130%);
  box-shadow: var(--shadow-lg);
}
.v2-band > div { padding: 26px 26px 24px; border-right: 1px solid rgba(255,255,255,.14); }
.v2-band > div:last-child { border-right: 0; }
.v2-band b { display: block; font: 800 clamp(28px, 3.4vw, 42px)/1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; }
.v2-band span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.84); }

/* the problem: sky-to-peach wash, left-aligned big type, the timeline card */
.v2-problem { padding: 110px 0 96px; background: linear-gradient(180deg, #fff 0%, #DCE7FF 18%, #F3EEF0 52%, #FFE1C9 78%, #FFD3C2 100%); }
.v2-bigh { font: 800 clamp(34px, 4.6vw, 60px)/1.06 'Plus Jakarta Sans', sans-serif; letter-spacing: -.03em; color: var(--ink); max-width: 15ch; }
.v2-bigh span { color: var(--orange-ink); }
.v2-sub { margin-top: 20px; font-size: 20px; color: #2a3a6e; max-width: 46rem; }
.v2-sub2 { margin-top: 12px; font-size: 17px; color: var(--body); max-width: 50rem; line-height: 1.6; }

/* the chart: one still picture, same rows. Left: the usual way in months. Right: ours in weeks. */
.tl { margin-top: 48px; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(8,20,75,.12); overflow: hidden; }
.tl-row { display: grid; grid-template-columns: 230px 1fr 1fr; align-items: center; border-bottom: 1px solid #F1F3F8; }
.tl-lab { padding-left: 24px; font: 500 12.5px/1.25 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #55607d; }
.tl-head { align-items: end; border-bottom: 1px solid var(--border); }
.tl-head > .tl-lab { padding-bottom: 14px; color: #1f2a4d; font-weight: 600; }
.tl-col { padding: 20px 0 0; border-left: 1px solid var(--border); }
.tl-col b { display: block; padding-left: 14px; font: 800 19px/1.2 'Plus Jakarta Sans', sans-serif; }
.tl-h-u { color: #C2410C; }
.tl-h-o { color: var(--blue); }
.tl-col small { display: block; padding-left: 14px; margin-top: 3px; font-size: 13px; color: var(--body); }
.tl-ticks { display: grid; margin-top: 14px; }
.tl-ticks.t6 { grid-template-columns: repeat(6, 1fr); }
.tl-ticks.t4 { grid-template-columns: repeat(4, 1fr); }
.tl-ticks span { padding: 0 0 10px 8px; border-left: 1px solid #E3E7F0; font: 500 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #8A93A6; }
.tl-ticks span:first-child { border-left: 0; }
.tl-lane { position: relative; height: 38px; border-left: 1px solid var(--border); }
.tl-m { background-image: linear-gradient(90deg, #EEF1F7 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.tl-w { background: linear-gradient(90deg, #EEF1F7 1px, transparent 1px) 0 0 / calc(100% / 4) 100%, #F7F9FF; }
.tl-lane i { position: absolute; top: 50%; height: 14px; margin-top: -7px; border-radius: 6px; }
.tl-plan { background: #E4EAFF; border: 1px solid #B9C7F5; z-index: 2; }
.tl-over { background: repeating-linear-gradient(135deg, #FFF4EC 0 5px, #FFE6D4 5px 10px); border: 1px dashed #F4B58A; }
.tl-red { height: 16px !important; margin-top: -8px !important; background: linear-gradient(90deg, #F47B20, #E8542A 30%); border-radius: 8px 0 0 8px !important; }
.tl-ours { height: 18px !important; margin-top: -9px !important; background: linear-gradient(90deg, #1535CC, #3D63E0); border-radius: 9px !important; display: flex; align-items: center; overflow: hidden; }
.tl-ours em { padding-left: 10px; font: 600 11.5px/1 Inter, sans-serif; font-style: normal; color: #fff; white-space: nowrap; }
.tl-note { position: absolute; top: 50%; transform: translateY(-50%); font: 600 12px/1.2 Inter, sans-serif; font-style: normal; color: var(--ink); white-space: nowrap; }
.tl-foot { align-items: start; border-bottom: 0; background: #FAFBFE; }
.tl-foot .tl-key { padding: 16px 14px 18px; border-left: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 16px; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #1f2a4d; }
.tl-key span { display: inline-flex; align-items: center; gap: 8px; }
.tl-key i { display: inline-block; width: 26px; height: 9px; border-radius: 5px; }
.tl-key p { flex-basis: 100%; margin-top: 6px; font: 700 16px/1.35 'Plus Jakarta Sans', sans-serif; letter-spacing: 0; text-transform: none; color: #C2410C; }
.tl-key p.tl-good { color: var(--blue); }
.k-plan { background: #E4EAFF; border: 1px solid #B9C7F5; }
.k-over { background: repeating-linear-gradient(135deg, #FFF1E6 0 4px, #FFE3CE 4px 8px); border: 1px dashed #F4B58A; }
.k-red { background: #E8542A; }
.k-ours { background: #1535CC; }

.v2-answer { margin-top: 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 0; background: var(--navy); color: #c9d8f2; border-radius: 22px; overflow: hidden; }
.v2-answer > div { padding: 26px; border-right: 1px solid rgba(255,255,255,.12); }
.v2-answer > div:last-child { border-right: 0; }
.v2-answer h3 { color: #fff; font-size: 22px; line-height: 1.25; margin-top: 8px; }
.v2-answer b { display: block; color: #F47B20; font: 800 26px/1.1 'Plus Jakarta Sans', sans-serif; }
.v2-answer span:not(.kicker) { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.5; }

/* results: one statement per line, the metric highlighted inside it */
.v2-sts { border-top: 1px solid var(--border); max-width: 1080px; margin: 0 auto; }
.v2-st { display: grid; grid-template-columns: 52px 1fr 28px; align-items: center; gap: 24px; padding: 22px 10px; border-bottom: 1px solid var(--border); color: var(--ink); transition: background .2s ease, padding .2s ease; }
.v2-st:hover { background: var(--tint); padding-left: 18px; }
.v2-st p { font: 600 clamp(18px, 1.9vw, 23px)/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; color: #1f2a4d; }
.v2-st mark { background: linear-gradient(transparent 58%, #FFD2AE 58%); color: var(--ink); font-weight: 800; padding: 0 2px; }
.v2-st:nth-child(even) mark { background: linear-gradient(transparent 58%, #CFDAFF 58%); }
.v2-logo { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 13px; border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; }
.v2-logo img { width: 82%; height: 82%; object-fit: contain; }
.v2-logo img[src$=".jpg"] { width: 100%; height: 100%; object-fit: cover; }
.v2-mono { color: #fff; font: 800 15px/1 'Plus Jakarta Sans', sans-serif; border: 0; }
.v2-go { color: var(--orange); font-weight: 800; font-size: 20px; transition: transform .2s ease; }
.v2-st:hover .v2-go { transform: translateX(4px); }
.v2-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--body); }

/* case studies of impact: Zamp index cards, the metric leads */
.v2-csgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v2-cs { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.v2-cs:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(244,123,32,.45); }
.v2-cs-logo { height: 46px; display: flex; align-items: center; margin-bottom: 26px; }
.v2-cs-logo img { max-height: 40px; max-width: 170px; object-fit: contain; }
.v2-cs .cs-mev { display: flex; align-items: center; gap: 9px; font: 800 21px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.03em; color: #0B1437; }
.v2-cs .cs-mev svg { width: 34px; height: 34px; flex: none; }
.v2-cs .cs-mev b { color: #2E3BFF; }
.v2-cs-m { font: 800 clamp(30px, 3vw, 40px)/1.05 'Plus Jakarta Sans', sans-serif; letter-spacing: -.03em; color: var(--blue); }
.v2-cs:nth-child(3n+2) .v2-cs-m { color: var(--orange-ink); }
.v2-cs-l { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--body); }
.v2-cs p { margin: 18px 0 20px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 16px; line-height: 1.5; color: #1f2a4d; }
.v2-cs-tags { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.v2-cs-tags span { font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #55607d; background: var(--tint); border: 1px solid var(--border); border-radius: 999px; padding: 7px 10px; }

/* students and parents */
.v2-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.v2-vs-card { border-radius: 20px; padding: 28px; border: 1px solid var(--border); }
.v2-vs-card small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--body); }
.v2-vs-card h3 { margin: 8px 0 14px; font-size: 21px; }
.v2-vs-card ul { list-style: none; display: grid; gap: 10px; }
.v2-vs-card li { position: relative; padding-left: 28px; color: #2a3a6e; font-size: 15px; }
.v2-off { background: #F6F7FB; }
.v2-off li::before { content: "×"; position: absolute; left: 4px; top: -2px; color: #9aa3bd; font-weight: 800; font-size: 18px; }
.v2-on { background: linear-gradient(180deg, #fff5ec, #fff 70%); border-color: rgba(244,123,32,.35); border-top: 3px solid var(--orange); }
.v2-on small { color: var(--orange-ink); }
.v2-on li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--orange); font-weight: 800; }

.v2-quotes { margin-top: 36px; }
#team .rv-person h3 a { color: inherit; }
#team .rv-person h3 a:hover { color: var(--orange-ink); }

@media (max-width: 980px) {
  .tl-row { grid-template-columns: 1fr 1fr; }
  .tl-row > .tl-lab { grid-column: 1 / -1; padding: 12px 14px 4px; }
  .tl-head > .tl-lab, .tl-foot > .tl-lab { display: none; }
  .tl-col:first-of-type, .tl-row > .tl-lane.tl-m, .tl-foot .tl-key:first-of-type { border-left: 0; }
  .tl-note, .tl-ours em { font-size: 10.5px; }
  .v2-band { grid-template-columns: 1fr 1fr; }
  .v2-band > div:nth-child(2) { border-right: 0; }
  .v2-band > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .v2-answer { grid-template-columns: 1fr 1fr; }
  .v2-answer-h { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.12); }
  .v2-csgrid { grid-template-columns: 1fr 1fr; }
  .v2-vs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tl-row { grid-template-columns: 1fr; }
  .tl-lane { border-left: 0; height: 30px; }
  .tl-row > .tl-lane.tl-m { height: 24px; }
  .tl-col { border-left: 0; border-top: 1px solid var(--border); padding-top: 14px; }
  .tl-foot .tl-key { border-left: 0; border-top: 1px solid var(--border); }
  .tl-ticks span { font-size: 9px; letter-spacing: 0; padding-left: 3px; }
  .tl-col b { font-size: 15px; padding-left: 8px; }
  .tl-col small { padding-left: 8px; }
  .v2-band, .v2-csgrid, .v2-answer { grid-template-columns: 1fr; }
  .v2-band > div, .v2-answer > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .v2-st { grid-template-columns: 44px 1fr; gap: 14px; }
  .v2-st .v2-go { display: none; }
  .v2-logo { width: 44px; height: 44px; flex-basis: 44px; }
}
