/* Velo Studio page: the silk stage at the top (studio-silk.js). Three
   chapters (hero, figures, closing line) on one stage; a scroll, swipe or key
   plays a transition between them, then the page scrolls on normally.
   Without the script (.sl-on is never set) the chapters simply stack. */
.sl-wrap { --sl-ink: #09193E; --sl-sky: #7FAEF0; --sl-paper: #FAFCFE;
  position: relative; color: #fff;
  background: radial-gradient(55% 45% at 0% 0%, rgba(124, 92, 230, .22), rgba(124, 92, 230, 0) 70%), radial-gradient(55% 45% at 100% 0%, rgba(124, 92, 230, .18), rgba(124, 92, 230, 0) 70%), radial-gradient(120% 80% at 50% 0%, #13295e 0%, var(--sl-ink) 62%) var(--sl-ink); }
.sl-stage { position: relative; isolation: isolate; }
.sl-stage canvas, .sl-dots, .sl-hint { display: none; }
.sl-on .sl-stage canvas.sl-bpcv { z-index: 1; opacity: 0; pointer-events: none; }
.sl-ch { position: relative; z-index: 2; display: grid; place-items: center; text-align: center; padding: 120px 24px 72px; }

.sl-on { height: calc(var(--n, 3) * 100vh); height: calc(var(--n, 3) * 100svh); }
.sl-on .sl-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sl-on .sl-stage canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sl-on .sl-stage:after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(56% 42% at 50% 46%, rgba(9, 25, 62, .5), rgba(9, 25, 62, 0) 72%); }
.sl-on .sl-ch { position: absolute; inset: 0; padding: 0 24px; will-change: opacity, transform, filter; }
.sl-on .sl-ch[data-ch="1"], .sl-on .sl-ch[data-ch="2"], .sl-on .sl-ch[data-ch="3"], .sl-on .sl-ch[data-ch="4"], .sl-on .sl-ch[data-ch="5"] { opacity: 0; visibility: hidden; }
.sl-on .sl-dots { display: none; }   /* the chapter marks are off for now */
.sl-on .sl-hint { display: block; pointer-events: none; }   /* never in the way of the buttons under it */

/* Hero */
.sl-hero-in { width: min(1180px, 100%); padding-top: 40px; display: flex; flex-direction: column; align-items: center; }
.sl-ch h1 { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; line-height: 1.06; letter-spacing: -.03em; margin: 0 0 28px; text-shadow: 0 2px 30px rgba(9, 25, 62, .55); }
.sl-ch h1 span { display: block; white-space: nowrap; }
/* Wins over the site-wide heading sizes, which would wrap the blue line on phones. */
.sl-ch .sl-hero-in h1 { font-size: max(21px, min(84px, 5.6vw)) !important; }
.sl-ch h1 em { font-style: normal; color: var(--sl-sky); }
.sl-lead { font-family: 'Hanken Grotesk', sans-serif; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 720px; margin: 0 0 38px; text-shadow: 0 1px 18px rgba(9, 25, 62, .7); }
.sl-btn { display: inline-flex; align-items: center; background: #fff; color: var(--sl-ink); font-weight: 700; font-size: 15.5px; padding: 14px 26px; border-radius: 13px; text-decoration: none; border: 1px solid rgba(255, 255, 255, .86); transition: transform .2s ease, box-shadow .2s ease; }
.sl-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -18px rgba(0, 0, 0, .5); }
.sl-lang { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .6); text-decoration: none; }
.sl-lang:hover { color: #fff; }
.sl-in { animation: sl-in 1s ease-out both; }
h1.sl-in { animation-delay: .4s; } .sl-lead.sl-in { animation-delay: .6s; } .sl-btn.sl-in { animation-delay: .75s; } .sl-lang.sl-in { animation-delay: .9s; }
@keyframes sl-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Figures and the closing line */
.sl-stats { width: min(1000px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sl-stat b { display: block; font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(44px, 5.4vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 26px rgba(9, 25, 62, .7); }
.sl-stat span { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; }
.sl-line { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: clamp(30px, 4vw, 56px); line-height: 1.1; letter-spacing: -.025em; margin: 0; text-shadow: 0 2px 26px rgba(9, 25, 62, .7); }
.sl-line span, .sl-line em { display: block; }
.sl-line em { font-style: normal; color: var(--sl-sky); }

/* Where you are: three quiet marks on the right, and a word under the hero. */
.sl-dots { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); z-index: 3; flex-direction: column; gap: 14px; }
.sl-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sl-dots button:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: transform .4s ease, background .4s ease; }
.sl-dots button[aria-current="true"]:before { background: #fff; transform: scale(1.5); }
.sl-dots button:focus-visible { outline: 2px solid var(--sl-sky); outline-offset: 2px; border-radius: 50%; }
.sl-hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .55); animation: sl-in 1s ease-out 1.4s both; }
.sl-hint:after { content: ""; display: block; width: 1px; height: 26px; margin: 10px auto 0; background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); animation: sl-drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes sl-drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.sl-fade { height: 120px; background: linear-gradient(180deg, #09193E, #FAFCFE); }

@media (max-width: 900px) {
  .sl-lead { font-size: 17px; }
  .sl-stats { grid-template-columns: 1fr; gap: 38px; }
  .sl-dots { right: 12px; }
}
@media (max-width: 600px) { .sl-on .sl-dots { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .sl-in, .sl-hint, .sl-hint:after { animation: none; }
}

/* Hebrew page: Heebo for the copy (the figures keep Hanken), the marks on the left. */
[dir=rtl] .sl-wrap h1, [dir=rtl] .sl-wrap h1 span, [dir=rtl] .sl-wrap h1 em, [dir=rtl] .sl-lead, [dir=rtl] .sl-btn, [dir=rtl] .sl-line, [dir=rtl] .sl-line span, [dir=rtl] .sl-line em, [dir=rtl] .sl-stat span, [dir=rtl] .sl-hint { font-family: 'Heebo', 'Hanken Grotesk', sans-serif; }
[dir=rtl] .sl-wrap h1, [dir=rtl] .sl-line { letter-spacing: -.02em; }
[dir=rtl] .sl-stat b { font-family: 'Hanken Grotesk', sans-serif; }
[dir=rtl] .sl-hint { letter-spacing: .08em; font-size: 12px; }
[dir=rtl] .sl-lang { font-family: 'Hanken Grotesk', sans-serif; }
[dir=rtl] .sl-dots { right: auto; left: 28px; }
@media (max-width: 900px) { [dir=rtl] .sl-dots { left: 12px; } }

/* What we build together (English page): the fourth chapter. The camera
   rises over the silk, the waves flatten into straight lines and a drafting
   grid unfolds; the product is drawn in the middle and the six parts of the
   company lock in around it (studio-silk.js). On phones a cloud of points
   draws each part in turn above the list. Without the script it is a plain list. */
.sl-bp { display: block; text-align: left; }
.bp-head, .bp-list, .bp-note { max-width: 980px; margin-left: auto; margin-right: auto; }
.bp-eb { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--sl-sky); margin: 0 0 14px; }
.sl-bp h2 { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 14px; color: #fff; text-shadow: 0 2px 26px rgba(9, 25, 62, .7); }
.bp-sub { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .66); max-width: 520px; margin: 0; }
.bp-list { list-style: none; padding: 0; margin-top: 40px; margin-bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.bp-t { display: block; appearance: none; background: none; border: 0; padding: 0; margin: 0 0 6px; font-family: 'Hanken Grotesk', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #fff; text-align: inherit; cursor: default; }
.bp-d { display: block; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .62); }
.bp-note { margin-top: 36px; margin-bottom: 0; font-size: 13px; color: rgba(255, 255, 255, .42); }

.sl-on .sl-bp { padding: 0; text-align: center; }
.sl-on .bp-head { position: absolute; left: 24px; right: 24px; top: 96px; text-align: center; }
.sl-on .sl-bp h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 10px; }
.sl-on .bp-sub { margin: 0 auto; font-size: 15.5px; }
.sl-on .bp-list { display: block; margin: 0; max-width: none; }
.sl-on .bp-list li { position: absolute; width: 260px; text-align: left; opacity: 0; }
.sl-on .bp-list li.r { text-align: right; }
/* Only the titles show; a click opens the description like a drawer. */
.sl-on .bp-t { display: inline-flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; border-radius: 6px; transition: color .25s ease; }
.sl-on .bp-t:hover, .sl-on li.open .bp-t { color: var(--sl-sky); }
.sl-on .bp-t:focus-visible { outline: 2px solid var(--sl-sky); outline-offset: 4px; }
.sl-on .bp-t:after { content: ""; flex: none; width: 11px; height: 11px; opacity: .6; background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
.sl-on li.open .bp-t:after { transform: rotate(45deg); opacity: 1; }
.sl-on .bp-list .bp-d { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease, margin .35s ease; }
.sl-on .bp-list li.open .bp-d { max-height: 130px; opacity: 1; margin-top: 8px; }
.sl-on .bp-note { position: absolute; left: 24px; right: 24px; bottom: 24px; margin: 0; max-width: none; text-align: center; }
@media (max-height: 819px) { .sl-on .bp-sub { display: none; } }
@media (max-width: 759px) {
  .bp-list { grid-template-columns: 1fr; gap: 22px; }
  .sl-on .bp-head { top: 84px; text-align: left; }
  .sl-on .sl-bp h2 { font-size: 26px; margin: 0; }
  .sl-on .bp-sub { display: none; }
  .sl-on .bp-list { position: absolute; left: 24px; right: 24px; bottom: 76px; }
  .sl-on .bp-list li { position: static; width: auto; opacity: 1; padding: 6px 0; }
  .sl-on .bp-t { display: flex; width: 100%; justify-content: space-between; font-size: 16px; color: rgba(255, 255, 255, .85); }
  .sl-on .bp-list li.open .bp-d { max-height: 90px; margin-top: 4px; }
  .sl-on .bp-note { bottom: 20px; font-size: 11px; text-align: left; }
}

/* The partnership and the journey (English page): the fifth and sixth
   chapters. The dark sheet lifts off a printed one and the product is
   dimensioned in ink; then the paper tips back into a floor running to a lit
   horizon, with the four stages along the road (studio-silk.js). Without the
   script they are plain sections on paper. */
.sl-pt, .sl-jr { display: block; text-align: left; color: var(--sl-ink); background: var(--sl-paper); }
.pt-copy, .jr-head, .jr-list { max-width: 980px; margin-left: auto; margin-right: auto; }
.pt-eb, .jr-eb { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #1A4F9C; margin: 0 0 14px; }
.sl-pt h2, .sl-jr h2 { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 22px; color: var(--sl-ink); }
.sl-pt h2 span, .sl-jr h2 span { display: block; }
.sl-pt h2 span + span, .sl-jr h2 span + span { color: #1A4F9C; }
.pt-body { font-size: 17px; line-height: 1.65; color: #3A4658; margin: 0 0 16px; max-width: 540px; }
.pt-fine { font-size: 13.5px; line-height: 1.55; color: #6B7789; margin: 0; max-width: 540px; }
.jr-list { list-style: none; padding: 0; margin-top: 40px; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.jr-list small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #1A4F9C; margin-bottom: 6px; }
.jr-list h3 { margin: 0 0 6px; font-size: 19px; }
.jr-list p { font-size: 14px; line-height: 1.55; color: #4A5668; margin: 0; }
.jr-ticks { display: none; }

.sl-on .sl-stage:after { opacity: calc(1 - var(--pp, 0)); }
.sl-on .sl-pt, .sl-on .sl-jr { padding: 0; background: none; }
.sl-on .pt-copy { position: absolute; left: 7vw; top: 50%; transform: translateY(-50%); width: min(560px, 42vw); max-width: none; margin: 0; }
.sl-on .sl-pt h2 { font-size: clamp(34px, 3.7vw, 54px); }
.sl-on .sl-pt h2 span { white-space: nowrap; }
.sl-on .jr-head { position: absolute; left: 24px; right: 24px; top: 96px; text-align: center; max-width: none; }
.sl-on .sl-jr h2 { font-size: clamp(28px, 2.8vw, 40px); margin: 0; }
/* One stage at a time: the next comes in from below as the current one recedes toward the horizon. */
.sl-on .jr-list { position: absolute; left: 0; right: 0; height: 0; display: block; margin: 0; max-width: none; opacity: 0; }
.sl-on .jr-list li { position: absolute; left: 50%; top: 0; width: min(600px, 86vw); text-align: center; opacity: 0; transform: translate(-50%, -30%) scale(1.18); transition: opacity .8s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.sl-on .jr-list li.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sl-on .jr-list li.out { opacity: 0; transform: translate(-50%, -95%) scale(.55); }
.sl-on .jr-list small { font-size: 12px; }
.sl-on .jr-list h3 { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.03em; color: var(--sl-ink); margin: 4px 0 12px; }
.sl-on .jr-list p { font-size: 16px; line-height: 1.6; }
.sl-on .jr-ticks { display: flex; position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); gap: 36px; opacity: 0; }
.jr-tk { position: relative; touch-action: manipulation; appearance: none; background: none; border: 0; padding: 0 0 10px; cursor: pointer; color: #6B7789; font: 600 14px 'Hanken Grotesk', sans-serif; white-space: nowrap; transition: color .3s ease; }
.jr-tk:before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: rgba(26, 79, 156, .14); }
.jr-tk i { position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: #1A4F9C; }
.jr-tk.on, .jr-tk:hover { color: var(--sl-ink); }
.jr-tk:focus-visible { outline: 2px solid #1A4F9C; outline-offset: 4px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { .sl-on .jr-list li { transition: none; } }
@media (max-width: 759px) {
  .jr-list { grid-template-columns: 1fr; gap: 22px; }
  .sl-on .pt-copy { left: 24px; right: 24px; top: 84px; transform: none; width: auto; }
  .sl-on .sl-pt h2 { font-size: 28px; margin-bottom: 16px; }
  .sl-on .pt-body { font-size: 15px; margin-bottom: 12px; }
  .sl-on .pt-fine { font-size: 12.5px; }
  .sl-on .jr-head { top: 84px; text-align: left; }
  /* Wins over the site-wide phone heading size, which would wrap each line in two. */
  .sl-on .jr-head h2 { font-size: min(26px, 5.1vw) !important; }
  .sl-on .sl-jr h2 span { white-space: nowrap; }
  .sl-on .jr-list h3 { font-size: 30px; }
  .sl-on .jr-list p { font-size: 15px; }
  /* Phones: four short bars, the stage names stay for screen readers. */
  .sl-on .jr-ticks { gap: 10px; bottom: 22px; }
  .jr-tk { width: 44px; height: 24px; padding: 0; }
  .jr-tk span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
