/* All-caps Velocity headings: approved exception to sentence case, Isaac, Oct 11, 2026 */
/* ==========================================================================
   Velocity (/services/velocity/): page styles only. Loads after site.css.
   Tokens only, no raw hex. Accent: --velocity for marks, --velocity-text for
   accent text on light, --velocity-night on navy.
   Signature visuals: speed streaks, 6-10-4-5 flow, Day 0/30/90 launch track,
   skewed pills (.btn--skew from site.css).
   ========================================================================== */

/* Type: Barlow 800 italic caps (.display-italic) as in the approved mockup */
.vel-h1{font-size:clamp(3.5rem, 8.4vw, 7.75rem);line-height:.88;max-width:11ch}
.vel-h2{font-size:clamp(2.5rem, 5vw, 4.25rem);line-height:.92;max-width:16ch}
.vel-lead{max-width:40ch}
.vel-link{color:var(--acc-text);font-weight:600;text-decoration:underline;text-decoration-color:color-mix(in srgb, currentColor 40%, transparent);text-underline-offset:4px;transition:text-decoration-color var(--dur-ui) ease-out}
.vel-link:hover{text-decoration-color:currentColor}

/* Hero */
.vel-hero__grid{display:grid;grid-template-columns:minmax(0, 1.45fr) minmax(0, 1fr);gap:clamp(2.5rem, 5vw, 3rem);align-items:center}
.vel-photo{border-radius:28px 28px 28px 4px;transform:rotate(2deg)}
.vel-photo > img{color:transparent} /* hides broken-image alt text until the photo ships; alt is still announced */

/* Speed streaks. Decorative. Transform and opacity only: the striped layer
   slides one pattern period (420px). It runs twice (4.4s) and stops, so it
   never loops for more than 5 seconds. */
.vel-streaks{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.vel-streaks__run{
  position:absolute;top:0;bottom:0;left:-30%;width:180%;
  background:repeating-linear-gradient(90deg, transparent 0 140px, color-mix(in srgb, var(--velocity) 16%, transparent) 140px 260px, transparent 260px 420px);
  -webkit-mask-image:repeating-linear-gradient(180deg, black 0 3px, transparent 3px 26px);
  mask-image:repeating-linear-gradient(180deg, black 0 3px, transparent 3px 26px);
  transform:skewX(-18deg);
}
.vel-streaks--band{opacity:.7}
@keyframes vel-rush{from{transform:translateX(0) skewX(-18deg)}to{transform:translateX(-420px) skewX(-18deg)}}

/* Flow strip: 6 questions, 10 point score, 4 tiers, 5 tools */
.vel-flow{padding-block:44px}
.vel-flow__list{list-style:none;display:grid;grid-template-columns:repeat(4, minmax(0, 1fr))}
.vel-flow__step{display:flex;align-items:center;gap:14px;padding:10px 16px 10px 0}
.vel-flow__step:not(:last-child)::after{content:"\2192" / "";margin-left:auto;font-style:italic;font-weight:800;font-size:1.75rem;color:var(--velocity)}
.vel-flow__big{font-weight:500;font-size:2.75rem;line-height:1;color:var(--acc-text);min-width:1.4em}
.vel-flow__text{display:flex;flex-direction:column;gap:2px;line-height:1.35}
.vel-flow__text strong{font-weight:700;font-size:1rem}
.vel-flow__text span{font-size:.9375rem;color:var(--text-soft)}

/* Problem split */
.vel-split{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(460px, 100%), 1fr));gap:40px 72px}
.vel-split__body{--stack-gap:18px}

/* Launch track */
.vel-track__rail{position:relative;padding-top:8px}
.vel-track__line{position:absolute;left:0;right:0;top:22px;height:6px;border-radius:6px;background:repeating-linear-gradient(90deg, var(--velocity-text) 0 26px, transparent 26px 38px);transform-origin:0 50%}
.vel-track__list{list-style:none;position:relative;display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));gap:20px}
.vel-track__stop{display:flex;flex-direction:column;gap:12px}
.vel-track__dot{width:34px;height:34px;border-radius:50%;background:var(--white);border:4px solid var(--fog-deep);box-shadow:0 0 0 2px var(--velocity-text)}
.vel-track__dot--start{background:var(--velocity-text)}
.vel-track__dot--gate{background:var(--velocity)}
.vel-track__when{font-weight:500;font-size:.875rem;color:var(--acc-text)}
.vel-track__title{font-size:1.375rem;font-weight:700;line-height:1.25}

/* Five tools */
.vel-lanes{list-style:none;display:flex;flex-direction:column;gap:10px}
.vel-lane{display:grid;grid-template-columns:56px minmax(0, 1.2fr) minmax(0, 2fr);gap:20px;align-items:center;padding:20px 26px;border-radius:18px;background:var(--white);border:1px solid var(--line);box-shadow:0 10px 30px color-mix(in srgb, var(--velocity-text) 6%, transparent)}
.vel-lane__k{font-weight:500;font-size:1.75rem;color:var(--acc-text)}
.vel-lane__name{font-size:1.25rem;font-weight:700;line-height:1.3}

/* Inside the engagement (navy) */
.vel-gets{list-style:none;display:grid;grid-template-columns:repeat(auto-fit, minmax(min(340px, 100%), 1fr));gap:0 40px}
.vel-gets > li{display:grid;grid-template-columns:40px minmax(0, 1fr);gap:14px;padding:22px 0;border-top:1px solid var(--line)}
.vel-gets .stack{--stack-gap:4px}
.vel-gets__k{font-style:italic;font-weight:800;font-size:1.625rem;line-height:1.1;color:var(--acc-text)}
.vel-gets__title{font-size:1.1875rem;font-weight:700;line-height:1.3}
.vel-gets p{font-size:.9375rem;line-height:1.55;color:var(--text-soft)}

/* Closing band: left aligned, as in the mockup */
.vel-band{background:linear-gradient(180deg, var(--fog-deep) 0%, var(--fog) 100%)}
.vel-band__inner{align-items:flex-start;text-align:left}
.vel-band__title{font-weight:800;font-size:clamp(3rem, 7vw, 6.5rem);line-height:.9}

/* Motion. Nothing moves under reduced motion (site.css kills all animation). */
@keyframes vel-dash{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes vel-dash-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@media (prefers-reduced-motion: no-preference){
  .vel-streaks__run{animation:vel-rush 2.2s linear 2}
  .vel-track__line{animation:vel-dash 1.2s var(--ease-out) both}
  @supports (animation-timeline: view()){
    .vel-track__line{animation-timeline:view();animation-range:entry 10% cover 40%}
  }
}

/* Responsive */
@media (max-width: 980px){
  .vel-hero__grid{grid-template-columns:minmax(0, 1fr)}
  .vel-photo{max-width:420px;width:100%}
  .vel-flow__list{grid-template-columns:repeat(2, minmax(0, 1fr));row-gap:8px}
  .vel-flow__step:nth-child(2)::after{content:none}
  /* Track turns vertical: rail on the left */
  .vel-track__list{grid-template-columns:minmax(0, 1fr);gap:28px;padding-left:56px}
  .vel-track__line{left:14px;right:auto;top:8px;bottom:0;width:6px;height:auto;background:repeating-linear-gradient(180deg, var(--velocity-text) 0 26px, transparent 26px 38px);transform-origin:50% 0}
  .vel-track__dot{position:absolute;left:0;margin-top:-4px}
  .vel-track__stop{position:relative;margin-left:-56px;padding-left:56px}
  @media (prefers-reduced-motion: no-preference){
    .vel-track__line{animation-name:vel-dash-y}
  }
}
@media (max-width: 719.98px){
  .vel-lane{grid-template-columns:44px minmax(0, 1fr);gap:4px 14px;padding:18px 20px}
  .vel-lane > p{grid-column:2}
}
@media (max-width: 480px){
  .vel-flow__list{grid-template-columns:minmax(0, 1fr)}
  .vel-flow__step::after{content:none !important}
}
