/* The Gigfox Webs page (decisions MO3, CP1, CP4, CP5, CP6, GD1), on the Gigfox design system's dark theme, which the
   design system calls the brand's native mode: indigo grounds, white type, the brand gradient, orange for the one
   thing to click (Start a project). Outfit stands in for Gilroy: 700 structural, 400 for reading.
   Motion: only tied to the visitor's own scrolling (scroll-driven animations), never on its own, never looping;
   inside @supports and prefers-reduced-motion: no-preference, so without them the page is still and complete. */
@font-face{font-family:"Outfit";font-style:normal;font-weight:400;font-display:swap;src:url(/sr/fonts/outfit-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Outfit";font-style:normal;font-weight:700;font-display:swap;src:url(/sr/fonts/outfit-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Outfit Fallback";font-style:normal;font-weight:400;src:local("Arial"),local("ArialMT"),local("Liberation Sans"),local("LiberationSans"),local("Arimo");size-adjust:99.14%;ascent-override:100.87%;descent-override:26.23%;line-gap-override:0%;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Outfit Fallback";font-style:normal;font-weight:700;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("LiberationSans-Bold"),local("Arimo Bold");size-adjust:94.95%;ascent-override:105.31%;descent-override:27.38%;line-gap-override:0%;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic Fallback";font-style:normal;font-weight:600;src:local("Noto Sans Arabic Bold"),local("NotoSansArabic-Bold");size-adjust:87.84%;ascent-override:123.52%;descent-override:47.24%;line-gap-override:0%;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:600;font-display:swap;src:url(/sr/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

:root{
  /* Gigfox tokens, dark theme (design-system tokens.json) */
  --brand-indigo:#161546; --brand-orchid:#ad53a0; --brand-orange:#ff7300; --on-brand-orange:#161546;
  --gradient-from:#2b144f; --gradient-via:var(--brand-orchid); --gradient-to:var(--brand-orange);
  --surface:#161546; --surface-muted:#221f5b; --surface-inverse:#ffffff;
  --ink:#ffffff; --ink-muted:#c9c7de; --ink-inverse:#161546;
  --border:#7d79b5; --border-subtle:#332f70; --focus-ring:#ff7300;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:24px; --space-6:32px; --space-7:48px; --space-8:64px; --space-9:96px;
  --radius-sm:6px; --radius-md:10px; --radius-lg:16px; --radius-xl:24px; --radius-pill:999px;
  --shadow-sm:0 1px 2px 0 rgba(0,0,0,.50); --shadow-md:0 6px 16px -4px rgba(0,0,0,.55); --shadow-lg:0 20px 40px -12px rgba(0,0,0,.65);
  --font:"Gilroy","Outfit","Outfit Fallback","IBM Plex Sans Arabic","IBM Plex Sans Arabic Fallback","Century Gothic",Futura,system-ui,sans-serif;
  --bar-h:72px;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--bar-h) + var(--space-4))}
body{margin:0;font:400 16px/26px var(--font);color:var(--ink);background:var(--surface)}
[dir="rtl"] body{font-size:17px;line-height:30px}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
h1,h2,h3{font-family:var(--font);font-weight:700;margin:0}
p{margin:0}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3{letter-spacing:0!important;line-height:1.4!important}
.wrap{max-width:76rem;margin:0 auto;padding:0 var(--space-5)}
.skip{position:absolute;inset-inline-start:var(--space-4);top:-100px;z-index:20;background:var(--surface-inverse);color:var(--ink-inverse);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);font-weight:700}
.skip:focus{top:var(--space-3)}
section h2{font-size:clamp(30px,4vw,44px);line-height:1.1;letter-spacing:-.02em}
::selection{background:var(--brand-orchid);color:#fff}

/* Buttons: orange for the one thing to click (on-brand-orange text, never white); outlined for the rest. */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:var(--space-3) var(--space-5);border-radius:var(--radius-md);font:700 15px/20px var(--font);letter-spacing:.01em;text-decoration:none;transition:background-color 120ms ease-out,border-color 120ms ease-out,color 120ms ease-out}
.btn--go{background:var(--brand-orange);color:var(--on-brand-orange)}
.btn--go:hover{background:#ff8a2b}
.btn--line{border:1px solid var(--border);color:var(--ink)}
.btn--line:hover{border-color:var(--ink);background:var(--surface-muted)}
.btn--big{min-height:56px;padding:var(--space-4) var(--space-6);font-size:17px}

/* Header (CP6): the white logo on indigo, the sections, the phone number and Start a project, always there. */
.bar{position:sticky;top:0;z-index:10;background:var(--surface);border-bottom:1px solid var(--border-subtle)}
.bar::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:2px;background:linear-gradient(90deg,var(--gradient-from),var(--gradient-via),var(--gradient-to))}
.bar__inner{display:flex;align-items:center;gap:var(--space-5);min-height:var(--bar-h)}
.bar__mark{display:inline-flex;align-items:center;gap:var(--space-3);text-decoration:none;flex:none}
.bar__mark img{height:32px;width:auto}
.bar__mark span{font:700 21px/1 var(--font);color:var(--ink-muted);padding-top:5px}
.bar__nav{margin-inline-start:auto}
.bar__nav ul{display:flex;gap:var(--space-1);list-style:none;margin:0;padding:0}
.bar__nav a{display:block;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);text-decoration:none;font:700 14px/20px var(--font);letter-spacing:.01em;color:var(--ink-muted);transition:color 120ms ease-out}
.bar__nav a:hover{color:var(--ink)}
.bar__lang{font:700 14px/20px var(--font);text-decoration:none;color:var(--ink-muted);padding:var(--space-2)}
.bar__lang:hover{color:var(--ink)}
.bar__call{display:inline-flex;align-items:center;gap:var(--space-2);text-decoration:none;font:700 14px/20px var(--font);white-space:nowrap;min-height:44px}
.bar__go{flex:none}
@media (max-width:68rem){.bar__nav{display:none}.bar__lang{margin-inline-start:auto}}
@media (max-width:40rem){
  :root{--bar-h:64px}
  .bar__inner{gap:var(--space-2)}
  .bar__mark img{height:26px}.bar__mark span{font-size:17px;padding-top:4px}
  .bar__call span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .bar__call{width:44px;justify-content:center}
  .bar__go{padding:var(--space-2) var(--space-3);font-size:14px}
}

/* Opening: the brand gradient as light behind the page, never behind the logo; the chooser (CP1); real demos. */
.hero{position:relative;overflow:clip;padding:var(--space-8) 0 var(--space-9)}
.hero::before{content:"";position:absolute;inset:-20% -10% -10%;pointer-events:none;
  background:
    radial-gradient(38rem 30rem at 82% 30%,rgba(173,83,160,.42),transparent 70%),
    radial-gradient(30rem 22rem at 70% 78%,rgba(255,115,0,.22),transparent 70%),
    radial-gradient(42rem 34rem at 12% 90%,rgba(43,20,79,.9),transparent 70%)}
[dir="rtl"] .hero::before{transform:scaleX(-1)}
.hero__inner{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--space-7);align-items:center}
.hero h1{font-size:clamp(40px,5.4vw,56px);line-height:1.07;letter-spacing:-.02em;max-width:9em}
.hero__lede{margin-top:var(--space-5);font-size:18px;line-height:28px;color:var(--ink-muted);max-width:34rem}
.choose{margin-top:var(--space-7)}
.choose__q{font-size:17px;line-height:24px}
.choose__list{list-style:none;margin:var(--space-4) 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}
.choice{display:flex;flex-direction:column;gap:var(--space-1);height:100%;padding:var(--space-4) var(--space-5);background:var(--surface-muted);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);text-decoration:none;transition:border-color 120ms ease-out,transform 120ms ease-out}
.choice:hover{border-color:var(--brand-orchid);transform:translateY(-2px)}
.choice__name{font:700 17px/24px var(--font)}
.choice__what{font-size:14px;line-height:22px;color:var(--ink-muted)}

.hero__art{perspective:1600px;margin-inline-end:calc(-1 * var(--space-7))}
.screens{position:relative;margin:0;aspect-ratio:16/12;transform-style:preserve-3d;transform:rotateY(-16deg) rotateX(8deg) rotateZ(1deg)}
[dir="rtl"] .screens{transform:rotateY(16deg) rotateX(8deg) rotateZ(-1deg)}
.screen{position:absolute;display:block;overflow:hidden;border-radius:var(--radius-lg);border:1px solid rgba(255,255,255,.16);box-shadow:var(--shadow-lg);background:var(--surface-muted)}
.screen img{width:100%}
.screen--front{width:82%;inset-inline-start:9%;top:16%;z-index:2}
.screen--a{width:56%;inset-inline-start:0;top:0;opacity:.75}
.screen--b{width:56%;inset-inline-end:0;top:46%;opacity:.75}
.screen--phone{width:21%;inset-inline-end:2%;top:28%;z-index:3;border-radius:22px;border:6px solid #0e0d33}

/* The statement: a full line of thought; its words light up in reading order as you scroll past it. A word not yet lit is white at 42% on indigo, about 3.9:1, above the 3:1 for text this large. */
.say{padding:var(--space-9) 0}
.say__text{font-size:clamp(26px,3.6vw,44px);line-height:1.22;letter-spacing:-.015em;font-weight:700;max-width:22em}
[dir="rtl"] .say__text{line-height:1.6;letter-spacing:0}

/* Work (MO3): the demos on a rail; without scroll animations it scrolls sideways by itself. */
.rail{padding:var(--space-8) 0}
.rail__head{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:var(--space-6);align-items:end}
.rail__head p{color:var(--ink-muted);font-size:18px;line-height:28px;max-width:36rem}
.rail__view{margin-top:var(--space-7);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}
.rail__track{display:flex;gap:var(--space-5);list-style:none;margin:0;padding:var(--space-2) max(var(--space-5),calc((100vw - 76rem)/2 + var(--space-5))) var(--space-5);width:max-content}
.work{width:min(24rem,78vw);scroll-snap-align:center;flex:none}
.work__link{display:flex;flex-direction:column;height:100%;text-decoration:none;background:var(--surface-muted);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);overflow:hidden;transition:border-color 120ms ease-out}
.work__link:hover{border-color:var(--border)}
.work__shot{display:block;aspect-ratio:16/10;overflow:hidden;border-bottom:1px solid var(--border-subtle)}
.work__cat{padding:var(--space-5) var(--space-5) 0;font:700 21px/28px var(--font)}
.work__style{padding:var(--space-1) var(--space-5) 0;font-size:14px;line-height:22px;color:var(--ink-muted)}
.work__intro{padding:var(--space-3) var(--space-5) 0;font-size:14px;line-height:22px;color:var(--ink-muted);flex:1}
.work__open{margin:var(--space-5);font:700 15px/20px var(--font);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--brand-orchid)}
.work__all{height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:var(--space-4);padding:var(--space-6);border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--gradient-from),var(--gradient-via))}
.work__all h3{font-size:26px;line-height:32px}
.work__all-links{display:flex;flex-wrap:wrap;gap:var(--space-3)}
.work__all .btn--line{border-color:rgba(255,255,255,.7)}

/* The Promise: ten cards that stack as you read them; what we never promise stays beside them. */
.promise{padding:var(--space-9) 0}
.promise__inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--space-7);align-items:start}
.promise__head{position:sticky;top:calc(var(--bar-h) + var(--space-6))}
.promise__head > p{margin-top:var(--space-4);color:var(--ink-muted);font-size:18px;line-height:28px}
.never{margin-top:var(--space-6);padding:var(--space-5);border:1px solid var(--border);border-radius:var(--radius-lg)}
.never h3{font-size:17px;line-height:24px}
.never p{margin-top:var(--space-2);font-size:14px;line-height:22px;color:var(--ink-muted)}
.pledges{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-5)}
.pledge{position:sticky;top:calc(var(--bar-h) + var(--space-6) + var(--i) * 10px);display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--space-5);align-items:start;min-height:12rem;padding:var(--space-6);background:var(--surface-muted);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}
.pledge__n{font:700 56px/1 var(--font);letter-spacing:-.02em;min-width:1.3em;color:var(--brand-orchid)}
.pledge h3{font-size:26px;line-height:32px}
.pledge p{margin-top:var(--space-3);color:var(--ink-muted);max-width:34rem}

/* AI search (MO3, Promise line 3): page to search index to answer, then what we do for it. */
.ai{padding:var(--space-9) 0;background:linear-gradient(180deg,var(--surface),#100f38)}
.ai__head{max-width:46rem}
.ai__head p{margin-top:var(--space-4);color:var(--ink-muted);font-size:18px;line-height:28px}
.flow{position:relative;list-style:none;margin:var(--space-7) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-5)}
.flow::before{content:"";position:absolute;top:50%;inset-inline:16.6%;height:2px;background:linear-gradient(90deg,var(--gradient-via),var(--gradient-to));transform-origin:left center}
[dir="rtl"] .flow::before{transform-origin:right center;background:linear-gradient(270deg,var(--gradient-via),var(--gradient-to))}
.flow li{position:relative;justify-self:center;padding:var(--space-4) var(--space-5);background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-pill);font:700 17px/24px var(--font);text-align:center}
.ai__list{list-style:none;margin:var(--space-8) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6) var(--space-6)}
.ai__list li{padding-top:var(--space-4);border-top:1px solid var(--border)}
.ai__list h3{font-size:17px;line-height:24px}
.ai__list p{margin-top:var(--space-2);font-size:14px;line-height:22px;color:var(--ink-muted)}

/* Packages (CP4): three tiers side by side, no prices; the middle one carries the gradient as its edge. */
.pkg{padding:var(--space-9) 0}
.pkg__head{max-width:46rem}
.pkg__head p{margin-top:var(--space-4);color:var(--ink-muted);font-size:18px;line-height:28px}
.tiers{margin-top:var(--space-7);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-5)}
.tier{display:flex;flex-direction:column;padding:var(--space-6);background:var(--surface-muted);border:1px solid var(--border-subtle);border-radius:var(--radius-xl)}
.tier--mid{border:0;background:linear-gradient(var(--surface-muted),var(--surface-muted)) padding-box,linear-gradient(135deg,var(--gradient-via),var(--gradient-to)) border-box;border:2px solid transparent}
.tier h3{font-size:26px;line-height:32px}
.tier__who{margin-top:var(--space-1);color:var(--ink-muted);font-size:14px;line-height:22px}
.tier dl{margin:var(--space-5) 0 var(--space-6);flex:1}
.tier dt{font:700 13px/16px var(--font);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted);margin-top:var(--space-5)}
[dir="rtl"] .tier dt{letter-spacing:0;font-size:14px}
.tier dt:first-child{margin-top:0}
.tier dd{margin:var(--space-2) 0 0;font-size:15px;line-height:24px}
.extras{margin-top:var(--space-5);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5)}
.extra{padding:var(--space-6);border:1px solid var(--border-subtle);border-radius:var(--radius-xl)}
.extra h3{font-size:21px;line-height:28px}
.extra p{margin-top:var(--space-3);color:var(--ink-muted)}
.pkg__quote{margin-top:var(--space-5);font-size:14px;line-height:22px;color:var(--ink-muted)}

/* How a project runs (CP5): a real sequence, so numbered, on a line that fills as you go down it. */
.how{padding:var(--space-9) 0;border-top:1px solid var(--border-subtle)}
.how__inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--space-7);align-items:start}
.how__head{position:sticky;top:calc(var(--bar-h) + var(--space-6))}
.how__head p{margin-top:var(--space-4);color:var(--ink-muted);font-size:18px;line-height:28px}
.steps{position:relative;list-style:none;margin:0;padding:0;counter-reset:step}
.steps::before,.steps::after{content:"";position:absolute;top:20px;bottom:20px;inset-inline-start:19px;width:2px;background:var(--border-subtle)}
.steps::after{background:linear-gradient(180deg,var(--gradient-via),var(--gradient-to));transform-origin:top center;transform:scaleY(1)}
.steps li{position:relative;counter-increment:step;padding-inline-start:68px;padding-bottom:var(--space-6)}
.steps li:last-child{padding-bottom:0}
.steps li::before{content:counter(step);position:absolute;inset-inline-start:0;top:0;z-index:1;width:40px;height:40px;display:grid;place-items:center;border-radius:var(--radius-pill);background:var(--surface);border:2px solid var(--brand-orchid);font:700 15px/1 var(--font)}
.steps h3{font-size:21px;line-height:28px;padding-top:6px}
.steps p{margin-top:var(--space-2);color:var(--ink-muted);max-width:34rem}

/* The end: the gradient (stopped at orchid, so white text stays above 4.5:1) and a white button, since the header's
   orange Start a project is already in view. */
.end{padding:0 0 var(--space-9)}
.end__inner{padding:var(--space-9) var(--space-7);border-radius:var(--radius-xl);background:linear-gradient(135deg,var(--gradient-from),var(--gradient-via))}
.end h2{font-size:clamp(34px,5vw,56px);line-height:1.07;letter-spacing:-.02em;max-width:12em}
.end p{margin-top:var(--space-4);font-size:18px;line-height:28px;max-width:34rem}
.end__go{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4) var(--space-5);margin-top:var(--space-6)!important}
.end .btn--go{background:var(--surface-inverse);color:var(--ink-inverse)}
.end .btn--go:hover{background:#ecebf5}
.end__go span a{font-weight:700}

.foot{padding:var(--space-7) 0;border-top:1px solid var(--border-subtle)}
.foot__inner{display:flex;gap:var(--space-5);align-items:flex-start}
.foot p{font-size:14px;line-height:22px}
.foot__small{margin-top:var(--space-2);color:var(--ink-muted)}

@media (max-width:60rem){
  .hero{padding-top:var(--space-7)}
  .hero__inner,.rail__head,.promise__inner,.how__inner{grid-template-columns:minmax(0,1fr)}
  .hero__art{max-width:34rem;margin-inline-end:0}
  .promise__head,.how__head{position:static}
  .tiers,.ai__list{grid-template-columns:minmax(0,1fr)}
  .extras{grid-template-columns:minmax(0,1fr)}
  .ai__list{gap:var(--space-5)}
  .end__inner{padding:var(--space-7) var(--space-5)}
}
@media (max-width:40rem){
  .choose__list{grid-template-columns:minmax(0,1fr)}
  .flow{grid-template-columns:minmax(0,1fr);justify-items:start}
  .flow li{justify-self:start}
  .flow::before{top:0;bottom:0;inset-inline-start:24px;inset-inline-end:auto;width:2px;height:auto;background:linear-gradient(180deg,var(--gradient-via),var(--gradient-to));transform-origin:top center}
  .pledge{grid-template-columns:minmax(0,1fr);gap:var(--space-3);padding:var(--space-5);min-height:0}
  .pledge__n{font-size:44px}
  .pledge h3{font-size:21px;line-height:28px}
}

/* Scroll storytelling: only where the browser ties animations to scrolling and the visitor has not asked for less motion. */
@supports (animation-timeline: view()) {
@media (prefers-reduced-motion: no-preference) {
  /* The screens straighten and spread as the page leaves the opening. */
  .screens{animation:screens linear both;animation-timeline:scroll(root);animation-range:0 90vh}
  [dir="rtl"] .screens{animation-name:screens-rtl}
  .screen--a{animation:drift-a linear both;animation-timeline:scroll(root);animation-range:0 90vh}
  .screen--b{animation:drift-b linear both;animation-timeline:scroll(root);animation-range:0 90vh}
  .hero::before{animation:glow linear both;animation-timeline:scroll(root);animation-range:0 100vh}
  @keyframes screens{to{transform:rotateY(-4deg) rotateX(2deg) rotateZ(0deg) translateY(-2rem)}}
  @keyframes screens-rtl{to{transform:rotateY(4deg) rotateX(2deg) rotateZ(0deg) translateY(-2rem)}}
  @keyframes drift-a{to{translate:-6% -10%}}
  @keyframes drift-b{to{translate:6% 8%}}
  [dir="rtl"] .screen--a{animation-name:drift-a-rtl}
  [dir="rtl"] .screen--b{animation-name:drift-b-rtl}
  @keyframes drift-a-rtl{to{translate:6% -10%}}
  @keyframes drift-b-rtl{to{translate:-6% 8%}}
  @keyframes glow{to{translate:0 12%;opacity:.6}}

  /* The statement holds in place while its words fill in, line after line. */
  .say{height:240vh;padding:0;view-timeline-name:--say}
  .say__pin{position:sticky;top:0;height:100vh;display:grid;align-items:center}
  .say__text span{animation:word linear both;animation-timeline:--say;animation-range:contain calc(5% + var(--w) * 72%) contain calc(13% + var(--w) * 72%)}
  @keyframes word{from{color:rgba(255,255,255,.42)}to{color:var(--ink)}}

  /* The work rail moves sideways while the page scrolls down. */
  .rail{height:320vh;padding:0;view-timeline-name:--rail}
  .rail__pin{position:sticky;top:var(--bar-h);height:calc(100vh - var(--bar-h));display:flex;flex-direction:column;justify-content:center;overflow:clip}
  .rail__view{overflow:visible;scroll-snap-type:none;margin-top:var(--space-6)}
  .rail__track{animation:rail linear both;animation-timeline:--rail;animation-range:contain 0% contain 100%}
  [dir="rtl"] .rail__track{animation-name:rail-rtl}
  @keyframes rail{to{transform:translateX(calc(-100% + 100vw))}}
  @keyframes rail-rtl{to{transform:translateX(calc(100% - 100vw))}}

  /* The line from page to answer draws itself; the project line fills as you go down the steps. */
  .flow{view-timeline-name:--flow}
  .flow::before{animation:draw-x linear both;animation-timeline:--flow;animation-range:entry 40% cover 50%}
  @keyframes draw-x{from{transform:scaleX(0)}to{transform:scaleX(1)}}
  .steps{view-timeline-name:--steps}
  .steps::after{animation:draw-y linear both;animation-timeline:--steps;animation-range:entry 20% exit 60%}
  @keyframes draw-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
}
}
@media (prefers-reduced-motion: no-preference) and (max-width:40rem) {
  @supports (animation-timeline: view()) {
    .flow::before{animation-name:draw-y}
    .rail{height:300vh}
  }
}
