/* Shared homepage tokens; see docs/HOME-COMPONENTS.md. */
:root{color-scheme:light;--paper:#faf9f6;--surface:#fff;--ink:#292e2b;--muted:#696e68;--yellow:#ffda68;--yellow-soft:#fbefcf;--blue:#dcecf4;--pink:#f7dedb;--sage:#dfebd7;--radius:8px;--shadow:0 3px 14px #292e2b08;--ease:cubic-bezier(.22,1,.36,1);font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #456753;outline-offset:5px}img{display:block;max-width:100%;height:auto}svg{display:block}h1,h2,h3,p{margin:0}.home-shell{max-width:1240px;padding:0 44px;margin:auto}.skip-link{position:absolute;top:-80px;left:20px;padding:12px;background:var(--yellow);z-index:20}.skip-link:focus{top:16px}.home-header{height:100px;display:flex;align-items:center;gap:64px}.wordmark{display:flex;align-items:center;gap:8px;font-size:32px;letter-spacing:-1.5px;font-weight:900;line-height:1}.wordmark small{font-size:12px;letter-spacing:0;margin-left:3px}.brand-mark{width:47px;height:47px;transition:transform .4s var(--ease)}.wordmark:hover .brand-mark{transform:rotate(-12deg)}.header-nav{display:flex;gap:38px;height:100%;align-items:center}.nav-item{position:relative;padding:15px 3px;font-size:14px;font-weight:700}.nav-item:after{content:"";position:absolute;bottom:5px;left:0;width:100%;height:5px;background:var(--yellow);border-radius:8px;transform:scaleX(0);transition:transform .3s var(--ease)}.nav-item:hover:after,.nav-item.is-active:after{transform:scaleX(1)}.button{display:inline-flex;align-items:center;justify-content:center;gap:27px;min-height:52px;padding:14px 25px;background:var(--yellow);border:0;border-radius:var(--radius);font-family:inherit;font-size:15px;line-height:1.5;font-weight:700;color:var(--ink);cursor:pointer;transition:transform .3s var(--ease),background .2s,box-shadow .3s}.button span{font-size:21px;line-height:1;transition:transform .3s var(--ease)}.button:hover{background:#ffd151;transform:translateY(-3px);box-shadow:0 6px 0 #292e2b0b}.button:hover span{transform:translateX(4px)}.button:active{transform:translateY(1px) scale(.98);box-shadow:none}.button-small{min-height:42px;padding:10px 16px;gap:14px;font-size:12px}.button-dark{background:var(--ink);color:white}.button-dark:hover{background:#3c4940}.welcome{display:grid;grid-template-columns:.85fr 1.4fr;align-items:center;position:relative;min-height:430px;padding:18px 0 16px}.welcome-copy{z-index:2;padding:8px 0 20px}.welcome h1{font-size:clamp(40px,4.5vw,60px);font-weight:900;line-height:1.36;letter-spacing:-2px}.title-fun{display:inline-block;position:relative;isolation:isolate;white-space:nowrap}.title-underline{position:absolute;left:0;bottom:0;width:101%;height:16px;z-index:-1;overflow:visible}.title-underline path{fill:none;stroke:var(--yellow);stroke-width:9;stroke-linecap:round;stroke-dasharray:350;animation:underline-in 1.1s var(--ease) both}.welcome-copy>p{font-size:15px;line-height:1.8;margin:25px 0 27px;color:#535b53}.welcome-art{position:relative;margin-left:-25px;align-self:stretch;display:flex;align-items:center;min-width:0}.hero-scene{width:100%;mix-blend-mode:multiply;animation:scene-float 7s ease-in-out infinite;transform-origin:bottom center}.test-section{padding:14px 0 0;scroll-margin-top:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.section-heading h2{font-size:22px;letter-spacing:-.6px;display:flex;align-items:center;gap:12px}.section-heading h2>span{color:#a77624;font-size:29px}.discovery-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:26px}.test-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.test-card{min-width:0;display:flex;flex-direction:column;background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .45s var(--ease),box-shadow .4s;scroll-margin-top:24px}.test-card:hover{transform:translateY(-7px);box-shadow:0 15px 35px #292e2b10}.test-card:active{transform:translateY(-2px)}.card-art{height:224px;position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:center;align-items:flex-end}.talent-art{background:var(--blue)}.cp-art{background:var(--pink)}.card-label{position:absolute;top:17px;left:18px;padding:6px 10px;background:#ffffffc9;border-radius:var(--radius);font-size:11px;z-index:3}.talent-art>img{width:198px;height:198px;object-fit:contain;mix-blend-mode:multiply;position:relative;z-index:1;transform:rotate(-5deg) translateY(13px);transition:transform .6s var(--ease)}.test-card:hover .talent-art>img{transform:rotate(3deg) translateY(3px)}.art-doodle{position:absolute;z-index:2;font-family:Georgia,serif}.art-star{font-size:44px;right:20px;top:44px;color:#9c7227;transform:rotate(10deg)}.art-heart{right:26px;top:43px;font-size:37px;color:#9b5049;transform:rotate(12deg)}.pair-picture{position:relative;width:290px;height:190px;z-index:1;margin-bottom:4px}.pair-picture img{position:absolute;width:190px;height:190px;object-fit:contain;transition:transform .6s var(--ease)}.pair-left{left:-5px;bottom:0;transform:rotate(-9deg)}.pair-right{right:-5px;bottom:-4px;transform:rotate(8deg)}.test-card:hover .pair-left{transform:translate(4px,-5px) rotate(-3deg)}.test-card:hover .pair-right{transform:translate(-4px,-5px) rotate(2deg)}.card-body{padding:23px 22px 20px;display:flex;flex:1;flex-direction:column}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-heading h3{font-size:23px;letter-spacing:-.7px}.card-number{font-size:11px;color:#727870;letter-spacing:1px}.card-body>p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:9px}.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.tags span{font-size:10px;line-height:1.5;padding:6px 9px;border-radius:var(--radius);background:#f4f4ef;color:#596156}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:auto;padding-top:23px}.completed{font-size:10px;color:var(--muted)}.completed b{font-weight:400;font-variant-numeric:tabular-nums}.card-cta{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;white-space:nowrap}.home-footer{display:flex;justify-content:space-between;align-items:center;margin-top:65px;padding:28px 0 34px;border-top:1px solid #292e2b12}.footer-brand{font-weight:900;font-size:15px;letter-spacing:-.5px}.back-top{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:14px}.back-top span{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:white;font-size:18px;box-shadow:var(--shadow)}
/* Animations use opacity / transforms, with no scroll or touch interception. */
.motion-ready .reveal{opacity:0;transform:translateY(20px);transition:opacity .65s var(--ease),transform .65s var(--ease),box-shadow .4s}.motion-ready .reveal.is-visible{opacity:1;transform:translateY(0)}.motion-ready .test-card.is-visible:hover{transform:translateY(-7px)}.motion-ready .test-card:nth-child(2){transition-delay:70ms}
@keyframes underline-in{from{stroke-dashoffset:350}to{stroke-dashoffset:0}}@keyframes scene-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(.35deg)}}
@media(min-width:1450px){.welcome{min-height:460px}}
@media(max-width:1000px){.home-shell{padding:0 28px}.home-header{gap:42px}.discovery-grid{grid-template-columns:minmax(0,1fr);gap:20px}.test-grid{gap:18px}.card-art{height:200px}.card-body{padding:20px 16px}.card-heading h3{font-size:20px}.card-cta{font-size:0;gap:0}.pair-picture{width:240px}.pair-picture img{width:166px;height:166px}.pair-left{left:-2px}.pair-right{right:-2px}.welcome{min-height:355px}.welcome-copy>p{font-size:13px}}
@media(max-width:800px){.discovery-grid{grid-template-columns:1fr}.card-art{height:235px}.card-cta{font-size:11px;gap:8px}.card-body{padding:22px}.welcome h1{font-size:42px}.welcome-copy>p{font-size:12px}.welcome-art{margin-left:-20px}.welcome{min-height:320px}.header-nav{gap:26px}.home-header{gap:35px}.welcome .button{min-height:48px;padding:11px 20px;font-size:14px}}
@media(max-width:560px){.home-shell{padding:0 22px}.home-header{height:78px;gap:0;justify-content:space-between}.wordmark{font-size:27px;gap:5px}.brand-mark{width:39px;height:39px}.wordmark small{font-size:10px}.header-nav{gap:23px}.nav-item{font-size:12px}.welcome{display:flex;flex-direction:column;align-items:stretch;padding:24px 0 0}.welcome-copy{padding:0;z-index:2;position:relative}.welcome h1{font-size:45px;line-height:1.28;letter-spacing:-1.5px}.welcome h1 br{display:none}.welcome h1 .title-fun{display:block}.title-underline{width:231px;bottom:-2px}.welcome-copy>p{font-size:13px;margin:22px 0 19px}.welcome .button{min-height:45px;font-size:13px;gap:24px;padding:10px 18px}.welcome-art{margin:-72px -10px 0 12px;align-self:auto;padding-top:35px;min-height:245px;pointer-events:none}.hero-scene{width:100%;animation-duration:8s}.section-heading{margin-bottom:18px}.section-heading h2{font-size:20px;gap:8px}.section-heading h2>span{font-size:25px}.test-section{padding-top:6px}.test-grid{grid-template-columns:1fr;gap:22px}.card-art{height:210px}.talent-art>img{width:205px;height:205px}.pair-picture{width:290px;height:188px}.pair-picture img{width:190px;height:190px}.pair-left{left:0}.pair-right{right:0}.card-body{padding:22px}.card-heading h3{font-size:24px}.card-body>p{font-size:13px}.card-label{top:17px;left:19px}.tags{margin-top:17px}.tags span{font-size:10px}.completed{font-size:11px}.card-cta{font-size:12px}.card-bottom{padding-top:20px}.home-footer{margin-top:37px;padding:25px 0 28px}.footer-brand{font-size:13px}.motion-ready .test-card:nth-child(2){transition-delay:0ms}}
.hero-scene{mix-blend-mode:normal;max-height:400px;object-fit:cover;object-position:center bottom;mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 93%,transparent);mask-composite:intersect}
.talent-art>img{padding:7px;background:#fff;border-radius:var(--radius);mix-blend-mode:normal;box-shadow:0 5px 14px #292e2b10;bottom:8px;width:184px;height:184px}
@media(max-width:560px){.hero-scene{max-height:none;object-fit:contain}}

/* Pencil-texture sprite icons; organic edges are part of the artwork. */
.sketch-icon{display:inline-block;flex:none;width:36px;height:36px;background-image:url('/home-art/doodles-v1.webp');background-size:200% 200%;background-repeat:no-repeat;vertical-align:middle}
.sketch-flame{background-position:0 0;width:40px;height:40px}
.sketch-arrow{background-image:url('/home-art/arrow-sage-v3.webp');background-position:center;background-size:contain;width:34px;height:34px}
.sketch-star{background-position:0 100%}
.sketch-heart{background-position:100% 100%}
.sketch-up{rotate:-90deg}
.button-dark .sketch-arrow{filter:none}
.button .sketch-arrow{width:36px;height:36px;margin:-7px -3px}
.card-cta .sketch-arrow{width:38px;height:38px;transition:transform .35s var(--ease)}
.test-card:hover .card-cta .sketch-arrow{transform:translateX(4px)}
.back-top .sketch-arrow{width:34px;height:34px;background:transparent url('/home-art/arrow-sage-v3.webp') center / contain no-repeat;border-radius:0;box-shadow:none}
.art-star{width:55px;height:55px;right:18%;top:55px}
.art-heart{width:53px;height:53px;right:18%;top:49px}
.header-nav{margin-left:auto}
.test-section{padding-top:34px}
.card-art{height:250px}
.talent-art>img{width:208px;height:208px;bottom:12px}
.pair-picture{height:213px;width:320px}
.pair-picture img{width:213px;height:213px}
.card-cta{font-size:12px;gap:8px}
.card-bottom{padding-top:18px}
@media(max-width:800px){.art-star,.art-heart{right:12px}.card-art{height:224px}.talent-art>img{width:190px;height:190px}}
@media(max-width:560px){.test-section{padding-top:24px}.welcome-art{margin-top:-48px;padding-top:10px}.card-art{height:220px}.pair-picture{height:195px;width:290px}.pair-picture img{width:195px;height:195px}.art-star,.art-heart{right:18px;top:45px}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.motion-ready .reveal{opacity:1;transform:none}.hero-scene{transform:none}}



/* Short sage colored-pencil arrows; warm honey hover and existing motion. */
.sketch-arrow,.button .sketch-arrow,.card-cta .sketch-arrow,.back-top .sketch-arrow{width:29px;height:23px;background-size:contain;filter:none}
.button:hover .sketch-arrow,.test-card:hover .sketch-arrow,.back-top:hover .sketch-arrow{filter:url(#arrow-warm)}
