@font-face{font-family:Dana;src:url('assets/dana-regular.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:Dana;src:url('assets/dana-black.woff2') format('woff2');font-weight:900;font-display:swap}
:root{--yellow:#FFF112;--ink:#373535;--dark:#201E1F;--gray:#606062;--silver:#D2D3D5;color-scheme:light;font-family:Dana,Tahoma,Arial,sans-serif;color:var(--ink);background:var(--yellow)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{font:inherit}button,a{touch-action:manipulation}svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px dashed currentColor;outline-offset:7px}img{display:block;max-width:100%;height:auto}figure{margin:0}[hidden]{display:none!important}.wrap{width:min(1320px,calc(100% - 100px));margin-inline:auto}.skip{position:fixed;top:-100px;right:24px;z-index:5;padding:12px;background:var(--ink);color:var(--yellow)}.skip:focus{top:12px}
.masthead{height:116px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ink)}.wordmark{text-decoration:none;display:flex;flex-direction:column;gap:5px}.wordmark>span{font:700 26px Arial,sans-serif;letter-spacing:-1.2px}.wordmark-dot{padding-inline-start:2px}.wordmark small{font-size:11px}.history-link{display:flex;align-items:center;gap:24px;text-decoration:none;font-size:13px}.history-link svg{width:22px;height:22px}
.hero{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:70px;min-height:650px;padding-block:72px 65px}.hero-copy h1{font-size:clamp(44px,4.8vw,76px);font-weight:900;line-height:1.36;letter-spacing:-2px;margin:0 0 26px}.lead{font-size:19px;line-height:1.9;margin:0 0 18px}.lead strong{font-weight:500}.intro{max-width:370px;font-size:14px;line-height:2.05;margin:0;color:var(--ink)}.read-story{display:inline-flex;align-items:center;gap:24px;margin-top:32px;font-size:12px;text-decoration:none}.read-story svg{width:20px;height:20px;transition:transform .25s}.read-story:hover svg{transform:translateY(4px)}
.film{min-width:0}.scene{position:relative;min-height:425px;display:grid;align-content:center;padding:24px}.registration{position:absolute;inset:0;pointer-events:none}.registration i{position:absolute;width:16px;height:16px;border:1px solid var(--ink)}.registration i:nth-child(1){top:0;right:0;border-left:0;border-bottom:0}.registration i:nth-child(2){top:0;left:0;border-right:0;border-bottom:0}.registration i:nth-child(3){bottom:0;right:0;border-left:0;border-top:0}.registration i:nth-child(4){bottom:0;left:0;border-right:0;border-top:0}.origins{display:grid;grid-template-columns:1fr 38px 1fr;align-items:center;gap:12px}.origin{text-align:center;transition:transform 1.8s cubic-bezier(.22,1,.36,1),opacity 1.2s ease}.origin img{height:185px;width:100%;object-fit:contain}.origin.arian img{padding:16px 0}.origin figcaption{font-size:14px;margin-top:22px;white-space:nowrap}.origin small,.result small{display:block;font-size:11px;margin-top:8px}.plus{align-self:center;margin-top:-50px;transition:opacity .7s,transform 1.4s}.plus svg{width:27px;height:27px;stroke-width:1}.result{text-align:center;margin:30px 0 0}.result img{width:155px;height:222px;object-fit:contain;margin-inline:auto}.result figcaption{font-size:19px;font-weight:900;margin-top:18px}.result small{font-weight:400}.convergence{display:none}.film-caption{display:flex;align-items:center;gap:20px;padding-block:20px;min-height:76px}.frame-index{font-size:11px;white-space:nowrap;direction:ltr}.film-caption p{font-size:13px;margin:0;line-height:1.8}.film-controls{border-top:1px solid var(--ink);padding-top:14px;display:flex;gap:12px;align-items:center;justify-content:space-between}.chapters{display:flex;gap:16px}.chapters button{background:none;border:0;border-bottom:2px solid transparent;padding:8px 0;font-size:11px;color:var(--ink)}.chapters button span{font-size:9px;margin-left:4px}.chapters button[aria-pressed=true]{border-bottom-color:var(--ink);font-weight:700}.playback{display:flex;align-items:center;gap:12px}.playback button{border:0;background:none;color:var(--ink);min-height:44px;font-size:10px;padding:2px}.playback svg{width:18px;height:18px}.playback button:hover{opacity:.65}
.motion .scene{height:425px}.motion .origins{position:absolute;inset:62px 22px auto}.motion .result{position:absolute;inset:49px 0 auto;margin:0;opacity:0;transform:translateY(22px) scale(.86);pointer-events:none;visibility:hidden;transition:opacity 1.8s ease,transform 2s cubic-bezier(.2,.75,.2,1),visibility 1.8s}.motion .convergence{display:block;position:absolute;inset:50%;width:1px;height:1px;pointer-events:none}.convergence span{position:absolute;width:180px;height:180px;left:-90px;top:-90px;border:1px solid var(--ink);transform:rotate(45deg) scale(.15);opacity:0;transition:transform 2.5s cubic-bezier(.2,.75,.2,1),opacity 1s}.convergence span:nth-child(2){transition-delay:.15s}.convergence span:nth-child(3){transition-delay:.3s}

.motion[data-stage="1"] .old{transform:translateX(-90px) scale(.55);opacity:0}.motion[data-stage="1"] .arian{transform:translateX(90px) scale(.55);opacity:0}.motion[data-stage="1"] .plus{opacity:0}.motion[data-stage="1"] .result{opacity:1;transform:translateY(0) scale(1);visibility:visible;pointer-events:auto}.motion[data-stage="1"] .convergence span{transform:rotate(45deg) scale(1.6);opacity:0}
.history{padding-block:30px 100px}.section-heading{display:flex;align-items:center;gap:24px;padding-bottom:30px;border-bottom:1px solid var(--ink)}.section-number{font:11px Arial,sans-serif;direction:ltr}.section-heading h2{font-size:22px;font-weight:900;margin:0}.section-heading a{font-size:11px;text-decoration:none;margin-inline-start:auto;white-space:nowrap}.section-heading a span{margin-inline-start:14px;font-size:20px}.timeline{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr)}.timeline li{padding:30px 28px 0;position:relative}.timeline li:first-child{padding-right:0}.timeline li:last-child{padding-left:0}.timeline li:not(:last-child):after{content:'';position:absolute;left:0;top:35px;bottom:0;width:1px;background:var(--ink);opacity:.25}.year{font-size:46px;font-weight:900;line-height:1.5}.milestone h3{font-size:17px;font-weight:900;margin:14px 0 12px}.milestone p{font-size:13px;line-height:2.2;margin:0;max-width:340px}.continuation{background:var(--ink);color:var(--yellow)}.continuation-inner{display:flex;align-items:center;gap:100px;padding-block:80px 75px}.continuation-mark{flex:0 0 170px;height:245px;background:var(--yellow);mask:url('assets/paya-current-brand.svg') center / contain no-repeat;-webkit-mask:url('assets/paya-current-brand.svg') center / contain no-repeat}.continuation-copy h2{font-size:clamp(34px,4vw,54px);font-weight:900;line-height:1.45;margin:0 0 20px}.continuation-copy p{font-size:14px;line-height:2;margin:0 0 28px;color:var(--silver)}.cta{display:inline-flex;align-items:center;gap:48px;text-decoration:none;background:var(--yellow);color:var(--ink);padding:16px 24px;font-size:14px;border:1px solid var(--yellow);transition:background .25s,color .25s}.cta svg{width:24px;height:24px;transition:transform .25s}.cta:hover{background:var(--ink);color:var(--yellow)}.cta:hover svg{transform:translateX(-5px)}footer{border-top:1px solid var(--gray);padding-block:23px;display:flex;justify-content:space-between;font-size:11px;color:var(--silver)}
.scene{overflow:clip}.film:not(.motion) .scene{height:auto;min-height:0}.film:not(.motion) .origins{padding-block:20px}
@media(min-width:1600px){.hero{min-height:740px}.motion .scene{height:470px}.motion .origins{top:80px}.motion .result{top:69px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{gap:35px;grid-template-columns:.9fr 1.1fr}.hero-copy h1{font-size:48px}.origin img{height:150px}.origin figcaption{font-size:12px}.chapters{gap:10px}.chapters button span{display:none}.film-controls{gap:8px}.playback{gap:9px}.lead{font-size:17px}.scene,.motion .scene{min-height:365px;height:365px}.motion .origins{inset:58px 12px auto}.motion .result{top:28px}.result img{height:205px;width:145px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.masthead{height:90px}.wordmark>span{font-size:23px}.history-link{font-size:11px;gap:12px}.hero{grid-template-columns:1fr;gap:42px;padding-block:38px 50px;min-height:0}.hero-copy h1{font-size:48px;margin-bottom:20px}.hero-copy h1 br{display:none}.lead{font-size:16px;line-height:1.9}.lead br{display:none}.intro{max-width:470px;font-size:13px}.read-story{display:none}.scene,.motion .scene{min-height:335px;height:335px}.motion .origins{inset:44px 10px auto}.origin img{height:155px}.origin figcaption{font-size:12px}.origin small{font-size:10px}.origins{gap:6px;grid-template-columns:1fr 30px 1fr}.result img{height:195px;width:140px}.result figcaption{font-size:18px;margin-top:13px}.film-caption{padding-block:17px;gap:14px;min-height:64px}.film-caption p{font-size:12px}.chapters{gap:18px}.chapters button{font-size:10px}.playback button{font-size:10px}.history{padding-block:20px 55px}.section-heading{gap:12px;flex-wrap:wrap;padding-bottom:24px}.section-heading h2{font-size:19px}.section-number{display:none}.section-heading a{font-size:10px}.timeline{grid-template-columns:1fr}.timeline li,.timeline li:first-child,.timeline li:last-child{padding:25px 0;display:grid;grid-template-columns:85px 1fr;gap:20px;border-bottom:1px solid var(--ink)}.timeline li:after{display:none}.timeline li:last-child{border-bottom:0}.year{font-size:32px}.milestone h3{margin:4px 0 10px;font-size:16px}.milestone p{font-size:12px;line-height:2.1}.continuation-inner{gap:32px;align-items:flex-start;padding-block:55px}.continuation-mark{flex-basis:85px;height:123px}.continuation-copy{min-width:0}.continuation-copy h2{font-size:32px}.continuation-copy p{font-size:12px}.continuation-copy p br{display:none}.cta{font-size:12px;padding:13px 16px;gap:18px}.cta svg{width:20px;height:20px}footer{font-size:10px;gap:20px}}
@media(max-width:370px){.hero-copy h1{font-size:42px}.origin img{height:130px}.origin figcaption{font-size:10px}.origin small{font-size:9px}.chapters{gap:10px}.film-controls{gap:5px}.continuation-inner{gap:20px}.continuation-mark{flex-basis:60px;height:90px}.continuation-copy h2{font-size:28px}.cta{padding:12px;gap:10px}.timeline li{grid-template-columns:65px 1fr;gap:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.motion .scene{height:auto;min-height:0}.motion .origins,.motion .result{position:relative;inset:auto;transform:none!important;opacity:1!important;visibility:visible!important}.motion .origins{padding-block:20px}.motion .origin{transform:none!important;opacity:1!important}.motion .result{margin-top:25px;padding-top:25px;border-top:1px solid var(--ink)}.motion .convergence{display:none}.motion .plus{opacity:1!important;transform:none!important}.film-controls{display:none!important}}

/* Automatic brand genealogy. Original logo assets retain their own colors. */
.motion[data-stage="0"] .result,.motion[data-stage="0"] .brand-child,.motion[data-stage="0"] .tree-lines i,.motion[data-stage="0"] .brand-tree{transition:none}
.wordmark{flex-direction:row;align-items:center;gap:15px}.header-logo{width:65px;height:54px;object-fit:contain}.wordmark-copy{display:flex;flex-direction:column;gap:5px}.wordmark-copy>span{font:700 24px Arial,sans-serif;letter-spacing:-1px}.wordmark-copy small{font-size:10px}
h1,h2,h3{white-space:nowrap;letter-spacing:0!important}
.hero{grid-template-columns:1fr;gap:32px;padding-block:44px 50px;min-height:0}.hero-copy{text-align:center}.hero-copy h1{font-size:clamp(25px,4.4vw,61px);line-height:1.35;letter-spacing:0;margin-bottom:17px;-webkit-text-stroke:0}.lead{font-size:17px;margin-bottom:10px}.lead br{display:none}.intro{max-width:none;font-size:13px}.read-story{display:none}.film{width:min(780px,100%);margin-inline:auto}
.scene,.motion .scene{min-height:660px;height:660px;padding:28px}.motion .origins{inset:85px 75px auto}.origin img{height:205px}.origin.arian img{padding:18px 0}.origin figcaption{font-size:15px}.origin small{font-size:11px}.motion .result{inset:42px 0 auto;transform-origin:top center}.result img{height:230px;width:165px}.result figcaption{font-size:21px}.result small{font-size:12px}
.motion[data-stage="2"] .old{transform:translateX(-90px) scale(.55);opacity:0}.motion[data-stage="2"] .arian{transform:translateX(90px) scale(.55);opacity:0}.motion[data-stage="2"] .plus{opacity:0}.motion[data-stage="2"] .result{opacity:1;transform:translateY(-12px) scale(.76);visibility:visible;pointer-events:auto}.motion[data-stage="2"] .convergence span{transform:rotate(45deg) scale(1.6);opacity:0}
.brand-tree{position:relative;margin-top:25px;padding-top:65px}.tree-lines{position:absolute;inset:0 0 auto;height:65px;pointer-events:none}.tree-lines i{display:block;position:absolute;background:var(--ink);transform-origin:top center}.trunk{top:0;left:calc(50% - .5px);width:1px;height:32px}.fork{top:31px;left:25%;width:50%;height:1px;transform-origin:center!important}.twig{top:31px;width:1px;height:34px}.twig-gold{right:25%}.twig-mohr{left:25%}.brand-children{display:grid;grid-template-columns:1fr 1fr;gap:34px;list-style:none;padding:0;margin:0}.brand-child{text-align:center;position:relative}.brand-child:before{content:'';position:absolute;top:-4px;left:calc(50% - 4px);width:8px;height:8px;border:1px solid var(--ink);border-radius:50%;background:var(--yellow)}.brand-link{display:flex;align-items:center;flex-direction:column;padding:23px 10px 18px;text-decoration:none;border-bottom:1px solid var(--ink)}.brand-link img{width:87px;height:87px;object-fit:contain}.brand-link h2{font-size:22px;font-weight:900;margin:16px 0 7px}.brand-link p{font-size:12px;line-height:1.9;margin:0 0 15px}.brand-domain{display:flex;align-items:center;gap:12px;font:14px Arial,sans-serif}.brand-domain svg{width:18px;height:18px;transition:transform .25s}.brand-link:hover .brand-domain svg{transform:translate(2px,-2px)}.brand-link:hover .brand-domain{text-decoration:underline;text-underline-offset:5px}
.motion .brand-tree{position:absolute;top:286px;inset-inline:45px;margin:0;visibility:hidden;pointer-events:none;transition:visibility 0s 1.5s}.motion .tree-lines i{opacity:0;transition:transform .75s ease,opacity .4s}.motion .trunk,.motion .twig{transform:scaleY(0)}.motion .fork{transform:scaleX(0)}.motion .brand-child{opacity:0;transform:translateY(20px);transition:opacity .8s ease,transform .9s cubic-bezier(.2,.75,.2,1)}.motion[data-stage="2"] .brand-tree{visibility:visible;pointer-events:auto;transition-delay:0s}.motion[data-stage="2"] .tree-lines i{transform:scale(1);opacity:1}.motion[data-stage="2"] .trunk{transition-delay:.35s}.motion[data-stage="2"] .fork{transition-delay:.8s}.motion[data-stage="2"] .twig{transition-delay:1.2s}.motion[data-stage="2"] .brand-child{opacity:1;transform:none;transition-delay:1.6s}.motion[data-stage="2"] .brand-child.mohr{transition-delay:1.9s}.film-caption{justify-content:center;min-height:62px;padding-block:18px;font-size:12px}.film:not(.motion) .scene{height:auto;min-height:0}.film:not(.motion) .result{margin-top:35px}.film:not(.motion) .brand-tree{margin-top:25px}.continuation-inner{flex-direction:column;gap:30px;text-align:center;align-items:center}.continuation-mark{flex:auto;width:105px;height:150px;object-fit:contain;background:none;mask:none;-webkit-mask:none}.continuation-copy h2{font-size:clamp(22px,3.5vw,48px);line-height:1.5}.section-heading h2{font-size:clamp(17px,2vw,22px)}
@media(max-width:760px){.header-logo{width:49px;height:41px}.wordmark{gap:10px}.wordmark-copy>span{font-size:19px}.wordmark-copy small{font-size:9px}.hero{padding-block:30px 35px;gap:25px}.hero-copy h1{font-size:clamp(22px,6.3vw,42px)}.lead{font-size:13px;line-height:1.9}.intro{font-size:11px;line-height:2;max-width:360px;margin-inline:auto}.scene,.motion .scene{height:595px;min-height:595px;padding:18px 10px}.motion .origins{inset:60px 7px auto}.origin img{height:145px}.origin figcaption{font-size:11px}.origin small{font-size:10px}.motion .result{top:30px}.result img{height:205px;width:145px}.result figcaption{font-size:20px}.result small{font-size:12px}.motion[data-stage="2"] .result{transform:translateY(-8px) scale(.78)}.motion .brand-tree{top:258px;inset-inline:12px}.brand-children{gap:16px}.brand-link{padding:20px 3px 16px}.brand-link img{width:68px;height:68px}.brand-link h2{font-size:19px;margin-top:14px}.brand-link p{font-size:10px;line-height:1.8;min-height:36px}.brand-domain{font-size:12px;gap:7px}.brand-domain svg{width:14px;height:14px}.film-caption{gap:10px}.film-caption p{font-size:11px}.frame-index{font-size:10px}.continuation-copy h2{font-size:clamp(21px,5.7vw,32px)}.continuation-copy p{max-width:350px}.continuation-copy .cta{font-size:13px}.milestone h3{font-size:15px}.section-heading{gap:9px}}
@media(max-width:370px){.wordmark-copy>span{font-size:17px}.wordmark-copy small{font-size:8px}.header-logo{width:42px;height:35px}.history-link{font-size:10px;gap:8px}.hero-copy h1{font-size:21px}.origin figcaption{font-size:10px}.origin img{height:130px}.brand-domain{font-size:11px}.brand-children{gap:12px}.brand-link p{font-size:9px}.milestone h3{font-size:13px}.section-heading h2{font-size:16px}.section-heading a{font-size:9px}.continuation-copy h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.motion .brand-tree{position:relative;top:auto;inset-inline:auto;visibility:visible;pointer-events:auto}.motion .brand-child{opacity:1;transform:none}.motion .tree-lines i{opacity:1;transform:none}.motion .scene{height:auto;min-height:0}}
.brand-children{gap:0}.brand-child{padding-inline:17px}
@media(max-width:760px){.brand-child{padding-inline:8px}}

/* All story beats share the same centered stage; only the tree reveal lifts Paya. */
.motion .scene{height:700px;min-height:700px;--paya-lift:155px}
.motion .origins{inset:50% 35px auto;transform:translateY(-50%)}
.motion .origin{transform:translateX(0) scale(1);will-change:transform,opacity;transition:transform 1.8s cubic-bezier(.37,0,.63,1),opacity 1s linear .8s}
.motion .origin img{height:285px}.motion .origin.arian img{padding:12px 0}
.motion .origin figcaption{font-size:17px;margin-top:24px}.motion .origin small{font-size:12px}
.motion .result{inset:50% 0 auto;transform-origin:center;transform:translateY(-50%) scale(.96);transition:opacity .9s linear .9s,transform 1.8s cubic-bezier(.37,0,.63,1),visibility 0s}
.motion .result img{height:330px;width:235px}.motion .result figcaption{font-size:26px;margin-top:20px}.motion .result small{font-size:16px}


.motion[data-stage="1"] .old,.motion[data-stage="2"] .old{transform:translateX(calc(-50% - 31px)) scale(.85);opacity:0}
.motion[data-stage="1"] .arian,.motion[data-stage="2"] .arian{transform:translateX(calc(50% + 31px)) scale(.85);opacity:0}
.motion[data-stage="1"] .result{transform:translateY(-50%) scale(1)}
.motion[data-stage="2"] .result{transform:translateY(calc(-50% - var(--paya-lift))) scale(.7);transition:opacity 2.2s ease,transform 2.6s cubic-bezier(.45,0,.2,1),visibility 0s}
.motion .convergence{inset:50%;transform:translateY(-25px)}
.motion .brand-tree{top:345px}
.motion[data-stage="2"] .trunk{transition-delay:2.35s}
.motion[data-stage="2"] .fork{transition-delay:2.8s}
.motion[data-stage="2"] .twig{transition-delay:3.2s}
.motion[data-stage="2"] .brand-child{transition-delay:3.6s}
.motion[data-stage="2"] .brand-child.mohr{transition-delay:3.9s}
.motion[data-stage="0"] .result{transition:none}
@media(max-width:760px){
 .motion .scene{height:625px;min-height:625px;--paya-lift:152px}
 .motion .origins{inset:50% 7px auto}
 .motion .origin img{height:190px}.motion .origin figcaption{font-size:11px}.motion .origin small{font-size:10px}
 .motion .result img{height:270px;width:192px}.motion .result figcaption{font-size:24px}.motion .result small{font-size:15px}
 .motion .brand-tree{top:294px}
 
 .motion[data-stage="1"] .old,.motion[data-stage="2"] .old{transform:translateX(calc(-50% - 21px)) scale(.85)}.motion[data-stage="1"] .arian,.motion[data-stage="2"] .arian{transform:translateX(calc(50% + 21px)) scale(.85)}
}
@media(prefers-reduced-motion:reduce){.motion .scene{height:auto;min-height:0}.motion .origins,.motion .result{position:relative;inset:auto;transform:none!important}.motion .brand-tree{position:relative;top:auto}}
/* Preserve the original logo colors on the dark closing section. */
.continuation-mark{box-sizing:content-box;background:var(--silver);padding:24px 32px;border-radius:12px;width:105px;height:150px;object-fit:contain;flex:none}
@media(max-width:760px){.continuation-mark{width:91px;height:130px;padding:20px 28px}}

/* Three branches share one parent and retain their order in RTL. */
.brand-children{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.fork{left:16.6667%;width:66.6667%}
.twig-gold{right:16.6667%}.twig-mohr{left:50%}.twig-anticopy{left:16.6667%}
.brand-link{height:100%}.brand-link p{min-height:46px}.brand-domain{margin-top:auto}
.motion[data-stage="2"] .brand-child.anticopy{transition-delay:4.2s}
@media(max-width:760px){
 .brand-child{padding-inline:5px}.brand-link{padding-inline:0}
 .brand-link img{width:60px;height:60px}.brand-link h2{font-size:17px}
 .brand-link p{font-size:10px;min-height:54px}.brand-domain{font-size:11px;gap:3px}
 .brand-domain svg{display:none}
}

/* The merge is painted by one RAF timeline, independent of CSS transition startup. */
.motion .origin,.motion[data-stage="1"] .result{transition:none}

/* Five children: three familiar marks, then two wider specialist branches. */
.brand-children{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:60px}
.brand-child{grid-column:span 2}.brand-child.software,.brand-child.colors{grid-column:span 3}
.brand-child.software h2{font-size:14px}.brand-child.colors h2{font-size:19px}
.brand-child.software:after,.brand-child.colors:after{content:'';position:absolute;top:-35px;left:50%;height:31px;width:1px;background:var(--ink)}
.brand-tree:before{content:'';position:absolute;left:0;top:31px;width:1px;height:329px;background:var(--ink)}
.brand-children:before{content:'';position:absolute;left:0;top:31px;width:16.6667%;height:1px;background:var(--ink)}
.brand-children:after{content:'';position:absolute;left:0;top:360px;width:75%;height:1px;background:var(--ink)}
.brand-link{min-height:270px}
.motion .scene{transition:height 2.6s ease,min-height 2.6s ease}
.motion[data-stage="2"] .scene{height:1030px;min-height:1030px}
.motion[data-stage="2"] .result{top:350px}
.motion .brand-tree:before,.motion .brand-children:before,.motion .brand-children:after{opacity:0;transition:opacity .8s 4.3s}
.motion[data-stage="2"] .brand-tree:before,.motion[data-stage="2"] .brand-children:before,.motion[data-stage="2"] .brand-children:after{opacity:1}
.motion[data-stage="2"] .brand-child.software{transition-delay:4.5s}
.motion[data-stage="2"] .brand-child.colors{transition-delay:4.8s}
@media(max-width:760px){
 .brand-children{row-gap:48px}.brand-link{min-height:225px}
 .brand-child.software,.brand-child.colors{grid-column:span 6;margin-left:18px}
 .brand-child.software h2{font-size:clamp(11px,3.3vw,14px)}.brand-child.colors h2{font-size:17px}
 .brand-child.software .brand-link,.brand-child.colors .brand-link{min-height:190px;padding-top:12px}
 .brand-child.software p,.brand-child.colors p{min-height:0}
 .brand-child.software:after,.brand-child.colors:after{top:-22px;height:18px}
 .brand-tree:before{height:533px}
 .brand-children:after{top:316px;width:calc(50% + 9px)}
 .brand-child.colors .brand-link:before{content:'';position:absolute;top:-22px;left:-18px;width:calc(50% + 18px);height:1px;background:var(--ink)}
 .brand-child.software:after{height:18px}
 .motion[data-stage="2"] .scene{height:1090px;min-height:1090px}
 .motion[data-stage="2"] .result{top:312.5px}
}
@media(prefers-reduced-motion:reduce){.motion[data-stage="2"] .scene{height:auto;min-height:0}}

/* On phones every child gets a full-width card on one continuous tree spine. */
@media(max-width:760px){
 .brand-children{display:grid;grid-template-columns:minmax(0,1fr);row-gap:22px;padding-right:24px}
 .brand-child,.brand-child.software,.brand-child.colors{grid-column:1;margin:0;padding:0;min-width:0}
 .brand-link,.brand-child.software .brand-link,.brand-child.colors .brand-link{min-height:190px;padding:12px 8px 16px}
 .brand-link img{width:64px;height:64px}
 .brand-link h2,.brand-child.colors h2{font-size:19px;margin:10px 0 6px}
 .brand-child.software h2{font-size:clamp(11px,3.2vw,14px)}
 .brand-link p{font-size:12px;min-height:0;margin:0 0 12px;line-height:1.8}
 .brand-domain{font-size:13px;margin-top:auto}
 .brand-domain svg{display:block;width:14px;height:14px}
 .tree-lines .fork{left:50%;width:50%}
 .tree-lines .twig{display:none}
 .brand-tree:before{left:auto;right:0;top:31px;height:auto;bottom:156px}
 .brand-children:before,.brand-children:after,.brand-child.colors .brand-link:before{display:none}
 .brand-child:before{top:30px;left:auto;right:-4px;z-index:1}
 .brand-child:after,.brand-child.software:after,.brand-child.colors:after{content:'';position:absolute;left:auto;right:-24px;top:34px;width:24px;height:1px;background:var(--ink)}
 .motion[data-stage="2"] .scene{height:1430px;min-height:1430px}
 .motion[data-stage="2"] .brand-tree:before{transition-delay:2.8s}
}

/* Draw the second desktop row in order: feeder, spine, rail, then stems. */
@media(min-width:1025px){
 .motion .brand-children:before{transform:scaleX(0);transform-origin:right;transition:transform .4s ease 3.8s,opacity .1s 3.8s}
 .motion .brand-tree:before{transform:scaleY(0);transform-origin:top;transition:transform .7s ease 4.2s,opacity .1s 4.2s}
 .motion .brand-children:after{transform:scaleX(0);transform-origin:left;transition:transform .7s ease 4.9s,opacity .1s 4.9s}
 .motion .brand-child.software:after,.motion .brand-child.colors:after{transform:scaleY(0);transform-origin:top;transition:transform .4s ease 5.6s}
 .motion[data-stage="2"] .brand-children:before,.motion[data-stage="2"] .brand-tree:before,.motion[data-stage="2"] .brand-children:after,.motion[data-stage="2"] .brand-child.software:after,.motion[data-stage="2"] .brand-child.colors:after{transform:scale(1)}
 .motion[data-stage="2"] .brand-child.software{transition-delay:5.6s}.motion[data-stage="2"] .brand-child.colors{transition-delay:5.9s}
}
/* Tablets use two equal columns. The fifth child is centered on its own row. */
@media(min-width:600px) and (max-width:1024px){
 .brand-children{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:54px 0;padding:0 20px 0 0}
 .brand-child,.brand-child.software,.brand-child.colors{grid-column:span 2;margin:0;padding:0 12px;min-width:0}
 .brand-child.colors{grid-column:2 / span 2}
 .brand-link,.brand-child.software .brand-link,.brand-child.colors .brand-link{height:260px;min-height:260px;padding:18px 0}
 .brand-link img{width:75px;height:75px}
 .brand-link h2{font-size:20px;margin:14px 0 8px}.brand-child.software h2{font-size:clamp(9px,1.55vw,14px)}.brand-child.colors h2{font-size:clamp(13px,2vw,19px)}
 .brand-link p{font-size:12px;min-height:46px;margin:0 0 15px}
 .brand-domain{font-size:13px}.brand-domain svg{display:block}
 .tree-lines .fork{left:calc(25% - 5px);width:calc(75% + 5px)}.tree-lines .twig{display:none}
 .brand-tree:before{left:auto;right:0;top:31px;bottom:auto;height:628px;transform-origin:top}
 .brand-children:before,.brand-children:after,.brand-child.colors .brand-link:before{display:none}
 .brand-child:before{top:-4px;left:calc(50% - 4px);right:auto}
 .brand-child:after,.brand-child.software:after,.brand-child.colors:after{content:'';position:absolute;top:-34px;left:50%;right:auto;width:1px;height:30px;background:var(--ink)}
 .brand-child:nth-child(3) .brand-link:before,.brand-child:nth-child(5) .brand-link:before{content:'';display:block;position:absolute;top:-34px;right:-20px;width:calc(150% + 20px);height:1px;background:var(--ink);transform-origin:right}
 .brand-child:nth-child(5) .brand-link:before{right:calc(-50% - 20px);width:calc(100% + 20px)}
 .motion .brand-tree:before{transform:scaleY(0);transition:transform 1.8s ease 3.3s,opacity .1s 3.3s}
 .motion .brand-child:after,.motion .brand-link:before{transform:scale(0);transform-origin:top;transition:transform .65s ease 3.5s}
 .motion .brand-child:nth-child(n+3):after,.motion .brand-child:nth-child(3) .brand-link:before{transition-delay:4.5s}
 .motion .brand-child:nth-child(5):after,.motion .brand-child:nth-child(5) .brand-link:before{transition-delay:5.5s}
 .motion[data-stage="2"] .brand-tree:before,.motion[data-stage="2"] .brand-child:after,.motion[data-stage="2"] .brand-link:before{transform:scale(1)}
 .motion[data-stage="2"] .brand-child.anticopy,.motion[data-stage="2"] .brand-child.software{transition-delay:4.6s}
 .motion[data-stage="2"] .brand-child.colors{transition-delay:5.6s}
 .motion[data-stage="2"] .scene{height:1340px;min-height:1340px}
}

/* Center one-pixel stems exactly on the centers of their eight-pixel nodes. */
@media(min-width:1025px){
 .twig-gold{right:calc(16.6667% - .5px)}
 .twig-mohr{left:calc(50% - .5px)}
 .twig-anticopy{left:calc(16.6667% - .5px)}
 .brand-child.software:after,.brand-child.colors:after{left:calc(50% - .5px)}
}
@media(min-width:600px) and (max-width:1024px){
 .brand-child:after,.brand-child.software:after,.brand-child.colors:after{left:calc(50% - .5px)}
}
@media(max-width:599px){
 .brand-child:after,.brand-child.software:after,.brand-child.colors:after{top:33.5px}
}

/* Full desktop width accommodates all five branches on a single rail. */
.twig-software,.twig-colors{display:none!important}
@media(min-width:1200px){
 .film{width:100%}
 .motion .origins{inset:50% auto auto 50%;width:min(710px,calc(100% - 70px));transform:translate(-50%,-50%)}
 .motion .brand-tree{inset-inline:25px}
 .brand-children{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0}
 .brand-child,.brand-child.software,.brand-child.colors{grid-column:auto;padding-inline:12px;margin:0}
 .brand-link{height:270px;min-height:270px;padding-inline:0}
 .brand-link h2{font-size:20px}.brand-child.software h2{font-size:clamp(10px,.93vw,13px)}.brand-child.colors h2{font-size:clamp(14px,1.25vw,18px)}
 .brand-tree:before,.brand-children:before,.brand-children:after,.brand-child.software:after,.brand-child.colors:after{display:none}
 .tree-lines .fork{left:10%;width:80%}
 .twig-gold{right:calc(10% - .5px);left:auto}
 .twig-mohr{left:calc(70% - .5px)}.twig-anticopy{left:calc(50% - .5px)}
 .twig-software{display:block!important;left:calc(30% - .5px)}.twig-colors{display:block!important;left:calc(10% - .5px)}
 .motion[data-stage="2"] .scene{height:720px;min-height:720px}
 .motion[data-stage="2"] .brand-child.software{transition-delay:4.5s}.motion[data-stage="2"] .brand-child.colors{transition-delay:4.8s}
}
@media(prefers-reduced-motion:reduce){.motion[data-stage="2"] .scene{height:auto;min-height:0}}

/* Historical narrative: two independent origins, a shared core, then the 1395 amendment. */
.story-prologue{width:min(900px,100%);margin:auto;text-align:center}
.history-origins{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
.history-origin img{height:170px;width:100%;object-fit:contain;margin:0 auto 18px}
.history-origin a{display:block}.history-origin strong,.history-core strong{display:block;font-size:22px;font-weight:900;white-space:nowrap}
.history-origin small,.history-core small{display:block;font-size:13px;margin-top:8px}
.history-origin p{font-size:13px;line-height:2;max-width:310px;margin:12px auto 0}
.history-paths{display:block;width:100%;height:95px;overflow:visible;stroke-width:1.2}
.history-paths path{vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:0}
.history-core img{height:130px;width:160px;object-fit:contain;margin:0 auto 15px}
.history-core strong{font-size:22px}.history-outgoing{height:70px;width:1px;background:var(--ink);margin:16px auto;transform-origin:top}
.motion .story-prologue{position:absolute;top:55px;left:50%;transform:translateX(-50%);width:min(900px,calc(100% - 40px))}
.motion .scene{height:760px;min-height:760px}
.motion .result{transition:none;top:380px;transform:translateY(-50%) scale(1)}
.motion[data-stage="2"] .result{top:350px;transition:transform 2.6s cubic-bezier(.45,0,.2,1),top 2.6s ease;transform:translateY(calc(-50% - var(--paya-lift))) scale(.7)}
.timeline{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1024px){.timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.timeline li{padding:25px!important}.history-origin strong{font-size:19px}}
@media(max-width:599px){
 .motion .scene{height:760px;min-height:760px}
 .motion .story-prologue{top:65px;width:calc(100% - 24px)}
 .history-origins{gap:18px}.history-origin img{height:115px}
 .history-origin strong{font-size:clamp(10px,3.3vw,17px)}.history-origin small{font-size:10px}
 .history-origin p{font-size:11px;line-height:1.9}.history-paths{height:80px}
 .history-core img{height:115px}.history-core strong{font-size:20px}.history-core small{font-size:11px}
 .motion[data-stage="2"] .result{top:312.5px}.timeline{grid-template-columns:1fr}.timeline li{padding:25px 0!important}
}
@media(prefers-reduced-motion:reduce){.story-prologue{position:relative}.history-core{opacity:1;transform:none}.history-paths path{stroke-dashoffset:0}}

.motion .history-outgoing{position:absolute;top:310px;left:50%;margin:0;height:60px}
.motion .result{top:555px}
.motion .scene{height:810px;min-height:810px}
.motion[data-stage="2"] .result{top:350px}
@media(max-width:599px){.motion .history-outgoing{top:290px;height:75px}.motion .result{top:530px}.motion[data-stage="2"] .result{top:312.5px}}

/* Each chapter travels upward as one connected track; logos never dissolve. */
.motion .story-prologue{will-change:transform}
.motion .history-core,.motion .history-origins,.motion .history-paths{opacity:1}
.motion .result,.motion[data-stage="2"] .result{transition:none;will-change:transform,top}
.motion .brand-child{opacity:1;clip-path:inset(100% -100vw 0);transition-property:clip-path,transform}
.motion[data-stage="2"] .brand-child{clip-path:inset(-40px -100vw -10px)}

.motion .scene{transition:height 2.6s ease,min-height 2.6s ease}

/* Keep connectors stationary and outside the card-content reveal mask. */
.motion .brand-child,.motion[data-stage="2"] .brand-child{clip-path:none;transform:none;transition:none}
.brand-child{--node-delay:4.1s}
.motion .brand-child:before{transform:scale(0);transition:transform .25s ease var(--node-delay)}
.motion[data-stage="2"] .brand-child:before{transform:scale(1)}
.motion .brand-link>*{clip-path:inset(100% 0 0);transform:translateY(12px);transition:clip-path .55s ease var(--node-delay),transform .55s ease var(--node-delay)}
.motion[data-stage="2"] .brand-link>*{clip-path:inset(0);transform:none}
.motion .brand-link{border-bottom-color:transparent;background-image:linear-gradient(var(--ink),var(--ink));background-position:center bottom;background-repeat:no-repeat;background-size:0% 1px;transition:background-size .55s ease var(--node-delay)}
.motion[data-stage="2"] .brand-link{background-size:100% 1px}
.motion[data-stage="0"] .brand-link{transition:none}
.motion .tree-lines i{opacity:1;transition:transform .5s ease}
.motion[data-stage="2"] .trunk{transition-delay:2.6s}
.motion[data-stage="2"] .fork{transition-delay:3.1s;transition-duration:.6s}
.motion[data-stage="2"] .twig{transition-delay:3.7s;transition-duration:.4s}
@media(min-width:1200px){
 .brand-child:nth-child(2){--node-delay:4.5s}.brand-child:nth-child(3){--node-delay:4.9s}.brand-child:nth-child(4){--node-delay:5.3s}.brand-child:nth-child(5){--node-delay:5.7s}
 .motion[data-stage="2"] .twig-mohr{transition-delay:4.1s}.motion[data-stage="2"] .twig-anticopy{transition-delay:4.5s}.motion[data-stage="2"] .twig-software{transition-delay:4.9s}.motion[data-stage="2"] .twig-colors{transition-delay:5.3s}
}
@media(min-width:1025px) and (max-width:1199px){
 .brand-child:nth-child(n+4){--node-delay:6.4s}
 .motion .brand-children:before{transition-delay:4.3s}.motion .brand-tree:before{transition-delay:4.7s}.motion .brand-children:after{transition-delay:5.4s;transition-duration:.6s}
 .motion .brand-child.software:after,.motion .brand-child.colors:after{transition-delay:6s}
}
@media(min-width:600px) and (max-width:1024px){
 .brand-child:nth-child(n+3){--node-delay:5.5s}.brand-child:nth-child(5){--node-delay:6.4s}
 .motion .brand-tree:before{transition:transform 1.8s linear 3.7s,opacity 0s 3.7s}
 .motion .brand-child:after{transition:transform .4s ease 3.7s}
 .motion .brand-child:nth-child(n+3):after{transition-delay:5.1s}.motion .brand-child:nth-child(5):after{transition-delay:6s}
 .motion .brand-child:nth-child(3) .brand-link:before{transform-origin:right;transition:transform .5s ease 4.6s}
 .motion .brand-child:nth-child(5) .brand-link:before{transform-origin:right;transition:transform .5s ease 5.5s}
}
@media(max-width:599px){
 .brand-child{--stem-delay:3.9s;--node-delay:4.3s}
 .brand-child:nth-child(2){--stem-delay:4.45s;--node-delay:4.85s}.brand-child:nth-child(3){--stem-delay:5s;--node-delay:5.4s}.brand-child:nth-child(4){--stem-delay:5.55s;--node-delay:5.95s}.brand-child:nth-child(5){--stem-delay:6.1s;--node-delay:6.5s}
 .motion .brand-tree:before{transform:scaleY(0);transform-origin:top;transition:transform 2.4s linear 3.7s,opacity 0s 3.7s}
 .motion[data-stage="2"] .brand-tree:before{transform:scaleY(1);transition-delay:3.7s}
 .motion .brand-child:after{transform:scaleX(0);transform-origin:right;transition:transform .4s ease var(--stem-delay)}
 .motion[data-stage="2"] .brand-child:after{transform:scaleX(1)}
}

.registered-purpose{font-size:17px;font-weight:400;line-height:1.9;max-width:660px;margin:14px auto 0;padding-inline:20px;white-space:normal}
.registered-purpose strong{font-weight:700}
.motion .brand-tree{top:calc(345px + var(--purpose-space,0px) + var(--person-space,0px))}
.motion[data-stage="2"] .scene{height:calc(1030px + var(--purpose-space,0px) + var(--person-space,0px));min-height:calc(1030px + var(--purpose-space,0px) + var(--person-space,0px))}
@media(min-width:1200px){.motion[data-stage="2"] .scene{height:calc(810px + var(--purpose-space,0px) + var(--person-space,0px));min-height:calc(810px + var(--purpose-space,0px) + var(--person-space,0px))}}
@media(min-width:600px) and (max-width:1024px){.motion[data-stage="2"] .scene{height:calc(1340px + var(--purpose-space,0px) + var(--person-space,0px));min-height:calc(1340px + var(--purpose-space,0px) + var(--person-space,0px))}}
@media(max-width:760px){.motion .brand-tree{top:calc(294px + var(--purpose-space,0px) + var(--person-space,0px))}.registered-purpose{font-size:16px;line-height:1.8;padding-inline:12px}}
@media(max-width:599px){.motion[data-stage="2"] .scene{height:calc(1430px + var(--purpose-space,0px) + var(--person-space,0px));min-height:calc(1430px + var(--purpose-space,0px) + var(--person-space,0px))}}

.continuation-copy h2{font-size:clamp(12px,3.05vw,40px);white-space:nowrap}
@media(max-width:599px){.continuation-copy h2{font-size:clamp(10px,2.9vw,17px)}}

/* Stagger the two roots on one continuously scrolling track. */
.history-origins{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;column-gap:30px;row-gap:100px}
.origin-person{grid-column:1;grid-row:1;margin:0}
.origin-company{grid-column:2;grid-row:2;margin:0}
.history-paths{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.history-core{position:relative;margin-top:120px}
.motion .history-origin{position:relative;z-index:1}
.motion .history-origins{display:block}
.motion .origin-person{width:calc(50% - 15px);margin-left:auto;transform-origin:top center}
.motion .origin-company{position:absolute;left:0;top:130px;width:calc(50% - 15px)}
@media(max-width:599px){.history-origins{column-gap:16px;row-gap:140px}.history-origin p{font-size:11px}.history-core{margin-top:100px}}
