/* Semantic dashboard, flowing conversation and Holland 3D tool. */
.route-dashboard{box-shadow:none;background:#101713}.conversion{background:transparent}
.route-node:not(:last-child):after{display:none}.route-node,.route-node.is-selected,.route-node:hover{background:transparent!important}
.route-node .node-symbol,.route-node.is-selected .node-symbol{box-shadow:none;background:transparent;border-color:#385446}
.route-node.is-selected .node-name{color:var(--ink);font-weight:600}.route-node.is-selected .node-symbol{color:var(--accent);border-color:#668b72}
.node-symbol svg{width:27px;height:27px}.flow-icon svg{width:31px;height:31px}.flow-icon{box-shadow:none;border-color:#385446}
.chat-body{position:relative;display:block;height:345px;overflow:clip;overscroll-behavior:auto;padding:0;touch-action:pan-y;scrollbar-width:none;width:100%}
.chat-stream{position:absolute;left:0;right:0;top:0;display:flex;flex-direction:column;gap:15px;padding-bottom:3px;transition:transform .4s cubic-bezier(.2,.7,.25,1)}
.msg{animation:bubble-in .3s ease both}.conversation{min-width:0}.chat-compose--demo{pointer-events:none}
@keyframes bubble-in{from{opacity:0;translate:0 9px}to{opacity:1;translate:0 0}}
.mug-demo{margin-top:35px;padding:28px;border:1px solid #46664e66;border-radius:20px;background:linear-gradient(150deg,#16241cdd,#0b120eea);overflow:hidden}
.mug-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:center}.mug-copy{min-width:0}.mug-copy h3{font-size:29px;letter-spacing:-.045em;line-height:1.18;margin-top:15px}.mug-copy>p:not(.eyebrow){font-size:13px;line-height:1.85;max-width:420px;margin-top:22px}
.mug-controls{display:flex;gap:8px;flex-wrap:wrap;margin:30px 0}.mug-controls button{border:1px solid #456b50;background:#15271c;color:var(--ink);border-radius:99px;padding:11px 15px;font-size:12px;min-height:44px}.mug-controls button:hover{background:#25412e}
.mug-stage{min-width:0;border:1px solid #42614b;border-radius:14px;overflow:hidden;background:#e9ede6;color:#314739}#mug-viewport{height:420px;min-width:0;position:relative;background:radial-gradient(ellipse at 50% 45%,#fffef8,#d8e0d6)}#mug-viewport canvas{display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab}#mug-viewport canvas:active{cursor:grabbing}
.mug-loading{position:absolute;inset:0;display:grid;place-items:center;padding:25px;text-align:center;font-size:12px}.mug-caption{border-top:1px solid #c5d1c6;padding:14px 17px;font-size:10px;text-align:center}
@media(max-width:800px){.mug-demo{padding:22px}.mug-grid{gap:25px}.mug-copy h3{font-size:25px}#mug-viewport{height:350px}}
@media(max-width:640px){.node-symbol svg{width:21px;height:21px}.mug-demo{padding:20px 15px}.mug-grid{grid-template-columns:minmax(0,1fr);gap:25px}.mug-stage{order:-1}#mug-viewport{height:330px}.mug-controls{margin:22px 0}.mug-controls button{padding:9px 12px;font-size:11px}.chat-body{height:330px}.chat-stream{gap:13px}.mug-demo .calculator__bar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.chat-stream{transition:none}.msg{animation:none}}
@media(max-width:640px){.motion-switch{width:42px;height:42px;font-size:0;padding:0;display:grid;place-items:center}.motion-switch:after{content:'Ⅱ';font:15px var(--mono)}.motion-switch[aria-pressed=true]:after{content:'▶';font:14px var(--mono)}}

/* A local flashlight reveals structural lines, never a page-wide glow. */
.cursor-aura{display:none!important}
.structure-reveal{position:relative;isolation:isolate}
.structure-layer{position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .18s;contain:strict;background-image:linear-gradient(90deg,#91fcae99 1px,transparent 1px),linear-gradient(#91fcae99 1px,transparent 1px);background-size:25% 100%,100% 100px;mask-image:radial-gradient(ellipse 180px 150px at var(--reveal-x,-500px) var(--reveal-y,-500px),#000 0%,#0009 25%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 180px 150px at var(--reveal-x,-500px) var(--reveal-y,-500px),#000 0%,#0009 25%,transparent 100%)}
.structure-layer:after{content:'';position:absolute;inset:0;background-image:radial-gradient(circle at 1px 1px,#baffcf 0 2px,transparent 3px);background-size:25% 100px}
.is-revealing>.structure-layer{opacity:1}
.automation>.structure-layer{background-size:33.333% 100%,100% 100px}
.route-node:not(:last-child):after{display:block;content:'›';height:1px;background:#668c72;color:#a0c7ab;line-height:0;top:31px;font-size:24px;left:calc(50% + 45px);right:calc(-50% + 45px);text-align:right}
@media(max-width:640px){.route-node:not(:last-child):after{top:22px;left:calc(50% + 26px);right:calc(-50% + 26px);font-size:16px}}
@media(hover:none),(prefers-reduced-motion:reduce){.structure-layer{display:none}}

/* Reveal existing contours, rather than an unrelated background grid. */
.structure-layer,.automation>.structure-layer{background:none;overflow:visible}
.structure-layer:after{display:none}
.structure-layer>svg{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;stroke:#91fcae;stroke-width:1;vector-effect:non-scaling-stroke}
.structure-layer circle{fill:#c1ffd2;stroke:none}
.work{position:relative;padding-bottom:50px}
.work>.work__open{bottom:0;right:0;opacity:0;transform:translateY(5px);transition:opacity .2s,transform .2s;min-height:36px;display:flex;align-items:center;padding:8px 16px;font-size:11px}
.work:hover>.work__open,.work:focus-visible>.work__open{opacity:1;transform:none}
.work__title>span{display:none}
.mug-editor{margin:22px 0 24px;border:1px solid #3c5b46;border-radius:12px;padding:14px;background:#0e1912}
.mug-editor__head{display:flex;justify-content:space-between;font:11px var(--mono);color:#b7cebe;margin-bottom:12px;gap:10px}
#mug-layout{display:block;width:100%;height:auto;aspect-ratio:1024/464;border-radius:6px;background:#fffdf7;touch-action:none;cursor:move}
.mug-editor__hint{font-size:11px!important;line-height:1.6!important;margin:10px 0 12px!important;color:#9fb2a5}
.mug-pieces{display:flex;gap:8px;margin-bottom:12px}
.mug-pieces button{flex:1;border:1px solid #3c5b46;border-radius:8px;min-height:44px;font-size:12px;color:var(--ink);background:transparent;padding:8px}
.mug-pieces button[aria-pressed=true]{background:#25412e;border-color:#8cca9e}
.mug-adjust{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:12px;font-size:11px;min-height:36px}
.mug-adjust input{width:100%;min-width:0;accent-color:#91fcae;cursor:pointer;min-height:28px}
@media(hover:none){.work>.work__open{opacity:1;transform:none;min-height:44px}}
@media(max-width:640px){.mug-editor{padding:12px}.mug-adjust{grid-template-columns:115px minmax(0,1fr);gap:8px;min-height:44px}.work>.work__open{min-height:44px}.mug-copy h3{font-size:25px}.mug-copy>p:not(.eyebrow){margin-top:16px}}
@media(prefers-reduced-motion:reduce){.work>.work__open{transition:none;transform:none}}

/* Holland's actual template, print-area proportions and direct manipulation. */
.mug-editor--template{padding:0;background:#fff9ed;color:#684b3c;border-color:#d9cbb4;overflow:hidden}
.mug-paper-space{padding:18px 12px 12px;background:#f5ecdd}
.mug-ruler{width:71.2113%;margin:0 auto 12px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #c6b69d;padding-top:5px;font-size:10px;color:#96775b}
.mug-zones{width:71.2113%;margin:0 auto 9px;display:flex;justify-content:space-around;font-size:9px;color:#876f59}
.mug-template{position:relative;aspect-ratio:3484/2056;background:#fff}
.mug-template>img{display:block;width:100%;height:100%;user-select:none;pointer-events:none}
.mug-template__paper{position:absolute;left:14.4099%;top:41.7315%;width:71.2113%;height:54.572%;border:1px solid #888}
.mug-template #mug-layout{width:100%;height:100%;aspect-ratio:auto;border-radius:0;background:#fff;touch-action:none;cursor:default}
.mug-template #mug-layout:focus-visible{outline:2px solid #95553d;outline-offset:3px}
.mug-vertical-ruler{position:absolute;left:calc(100% + 12px);top:50%;font-size:9px;white-space:nowrap;writing-mode:vertical-rl;transform:translateY(-50%);color:#96775b}
.mug-paper-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 0;font-size:9px;line-height:1.6;color:#947a61}
.mug-paper-caption label{display:flex;align-items:center;gap:5px;white-space:nowrap;cursor:pointer;min-height:32px}
.mug-paper-caption input{accent-color:#7a382a}
.mug-element-panel{border-top:1px solid #dfd0ba;padding:12px}
.mug-editor--template .mug-pieces{margin:0 0 12px;flex-wrap:wrap;gap:6px}
.mug-editor--template .mug-pieces button{flex:none;border-color:#d2bfa5;background:#fffaf1;color:#694739;min-height:32px;font-size:10px;padding:7px 10px}
.mug-editor--template .mug-pieces button[aria-pressed=true]{background:#f0ddbc;border-color:#bd9c71}
.mug-selection{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:#8c725b;flex-wrap:wrap}
.mug-object-actions{display:flex;gap:5px;flex-wrap:wrap}
.mug-object-actions button{font-size:10px;padding:6px 8px;min-height:32px;border:1px solid #d9c6ad;border-radius:7px;color:#694739;background:#fffcf5}
.mug-object-actions button:hover{background:#f0ddbc}.mug-object-actions button:disabled{opacity:.4;cursor:default}
.mug-editor--template .mug-editor__hint{color:#947a61;font-size:9px!important;margin:10px 0 0!important}
@media(max-width:640px){.mug-paper-space{padding:14px 8px 8px}.mug-zones{font-size:7px}.mug-paper-caption{flex-wrap:wrap;gap:2px}.mug-element-panel{padding:10px}.mug-object-actions button,.mug-editor--template .mug-pieces button{min-height:44px}.mug-editor--template .mug-editor__hint{font-size:10px!important}}
/* Hero: a soft overhead shaft of light and small luminous particles. */
.hero{position:relative;isolation:isolate;overflow:clip}
.hero:before{content:'';position:absolute;pointer-events:none;z-index:0;inset:-15% 0 0;background:radial-gradient(ellipse 13% 65% at 50% 0%,#a2fc8e36 0%,#77f48b20 36%,transparent 80%),radial-gradient(ellipse 42% 55% at 50% 24%,#6bea7230 0%,#4eae5810 55%,transparent 85%);filter:blur(12px)}
.hero:after{background:radial-gradient(ellipse at 50% 48%,#090c0b33 0%,#090c0b44 45%,transparent 78%)}
#hero-fireflies{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.hero__copy{animation:none}
.hero h1{background:none;color:#e9f5eb}
.hero-word{display:inline-block;will-change:transform,opacity,filter;animation:hero-word-arrive 1.15s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.18s + var(--word)*.14s)}
.hero-word--accent{color:#8df4a3}
.hero .eyebrow{animation:hero-soft-arrive .9s ease .05s both}
.hero__lead{animation:hero-soft-arrive 1s ease .9s both}
.hero__actions{animation:hero-soft-arrive 1s ease 1.1s both}
.hero__signature{animation:hero-soft-arrive 1s ease 1.25s both}
@keyframes hero-word-arrive{from{opacity:0;transform:translateY(25px);filter:blur(9px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes hero-soft-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.motion-paused .hero-word,.motion-paused .hero .eyebrow,.motion-paused .hero__lead,.motion-paused .hero__actions,.motion-paused .hero__signature{animation:none;opacity:1;transform:none;filter:none;will-change:auto}
@media(max-width:640px){.hero:before{background:radial-gradient(ellipse 24% 55% at 50% 0%,#a2fc8e36,transparent 85%),radial-gradient(ellipse 70% 45% at 50% 26%,#6bea7229,transparent 90%)}}
@media(prefers-reduced-motion:reduce){.hero-word,.hero .eyebrow,.hero__lead,.hero__actions,.hero__signature{animation:none;opacity:1;transform:none;filter:none;will-change:auto}}

/* Faster first paint: compositor-only movement, with no initial hold. */
.hero-word{will-change:transform,opacity;filter:none;animation-duration:.72s;animation-timing-function:cubic-bezier(.2,.75,.25,1);animation-delay:calc(var(--word)*.045s)}
.hero .eyebrow{animation-duration:.6s;animation-delay:0s}
.hero__lead{animation-duration:.65s;animation-delay:.18s}
.hero__actions{animation-duration:.65s;animation-delay:.25s}
.hero__signature{animation-duration:.65s;animation-delay:.32s}
@keyframes hero-word-arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* Every service/process card owns its clipped grid; gutters remain empty. */
.service.structure-reveal,.automation>article.structure-reveal{overflow:hidden}
.service>.structure-layer,.automation>article>.structure-layer{inset:0;overflow:hidden;contain:strict;border-radius:inherit}
.service>.structure-layer>svg,.automation>article>.structure-layer>svg{stroke:#81c89799;stroke-width:.75}
.service>.structure-layer circle,.automation>article>.structure-layer circle{fill:#aaffc4}
/* Align the three top views, artwork and guide axes to the same print centres. */
.mug-template__view-mask{position:absolute;inset:0 0 auto;height:25.7782%;background:#fff;pointer-events:none}
.mug-template__old-marks{position:absolute;left:14.6%;right:14.6%;top:37.8%;height:3.9%;background:#fff;pointer-events:none}
.mug-template:after{content:'';position:absolute;left:14.6%;right:14.6%;top:96.3035%;bottom:0;background:#fff;pointer-events:none}
.mug-top-view{position:absolute;top:0;width:17.221584%;height:25.77821%;overflow:hidden;pointer-events:none}
.mug-top-view--left{left:23.60193%}.mug-top-view--middle{left:41.40475%}.mug-top-view--right{left:59.207575%}
.mug-zones{position:relative;display:block;height:15px}
.mug-zones>span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.mug-zones>span:nth-child(1){left:25%}.mug-zones>span:nth-child(2){left:50%}.mug-zones>span:nth-child(3){left:75%}
@media(prefers-reduced-motion:reduce){.hero-word,.hero .eyebrow,.hero__lead,.hero__actions,.hero__signature{animation:none}}

/* The light source drifts; the pivot stays at the centre of the headline. */
.hero:before{transform-origin:50% var(--light-pivot-y,55%);transform:rotate(var(--light-angle,0deg));will-change:transform}
@media(hover:none),(prefers-reduced-motion:reduce){.hero:before{transform:none;will-change:auto}}

/* Shared copy above, then two panels with identical top/bottom edges. */
.mug-intro{margin:28px 0 24px;max-width:760px}
.mug-intro h3{font-size:29px;letter-spacing:-.045em;line-height:1.18;margin-top:15px}
.mug-intro>p:not(.eyebrow){font-size:13px;line-height:1.85;max-width:600px;margin-top:16px}
.mug-grid{align-items:stretch}
.mug-copy{display:flex;min-width:0}
.mug-editor--template{margin:0;width:100%;display:flex;align-items:center;min-height:440px}
.mug-paper-space{width:100%;padding-block:22px}
.mug-stage{display:flex;flex-direction:column}
#mug-viewport{height:auto;flex:1;min-height:390px}
.mug-demo>.text-link{display:inline-block;margin-top:22px}
@media(max-width:800px){.mug-intro h3{font-size:25px}.mug-editor--template{min-height:360px}#mug-viewport{min-height:320px}}
@media(max-width:640px){.mug-intro{margin:22px 0}.mug-intro h3{font-size:25px}.mug-intro>p:not(.eyebrow){font-size:12px}.mug-editor--template{min-height:0}.mug-paper-space{padding-block:16px}.mug-stage{min-height:360px}#mug-viewport{height:310px;min-height:310px}}

/* Coarse grid, with points revealed only within 22px of the pointer. */
.service>.structure-layer circle,.automation>article>.structure-layer circle{opacity:0;transition:opacity .1s ease}
.service{position:relative}
.service-icon{position:absolute;right:24px;top:23px;width:32px;height:32px;display:grid;place-items:center;color:#a4ceb0;pointer-events:none;z-index:3}
.service-icon svg{width:26px;height:26px}
.service>.micro{display:block;min-height:24px;padding-right:45px}
@media(max-width:640px){.service-icon{right:20px;top:19px;width:28px;height:28px}.service-icon svg{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.structure-layer circle{transition:none}}

/* Luminous lines and local point glow; an SVG mask keeps icons clear. */
.service>.structure-layer>svg,.automation>article>.structure-layer>svg{stroke:#9bf3b7;stroke-width:.9}
.service>.structure-layer path,.automation>article>.structure-layer path{filter:drop-shadow(0 0 3px #8bffb6aa) drop-shadow(0 0 8px #63e99a77)}
.service>.structure-layer circle,.automation>article>.structure-layer circle{fill:#d7ffe3;filter:drop-shadow(0 0 4px #9dffc7)}
.automation .flow-icon{position:relative;z-index:3}

/* Keep hover fills inside the pill and tint the primary CTA like the headline. */
.btn{overflow:hidden;border-radius:999px;isolation:isolate;transition:border-color .25s,color .25s,box-shadow .3s}
.btn:before{border-radius:inherit;pointer-events:none}
.btn--primary:before{background:linear-gradient(115deg,#b2ffca 0%,#8df4a3 35%,#c7ffda 65%,#91f5ab 100%);background-size:220% 100%;background-position:0% 50%;transition:opacity .3s ease}
.btn--primary:hover:before,.btn--primary:focus-visible:before{opacity:1;animation:cta-green-shimmer 2.6s ease-in-out infinite alternate}
.btn:focus-visible{outline:2px solid #8df4a3;outline-offset:4px}
@keyframes cta-green-shimmer{from{background-position:0% 50%}to{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.btn,.btn:before{transition:none}.btn--primary:hover:before,.btn--primary:focus-visible:before{animation:none;background-position:50% 50%}}

/* Keep mobile scroll geometry independent of counter digits and browser chrome. */
@media(max-width:800px){
 .conversion{grid-template-columns:138px minmax(0,1fr)}
 .conversion>strong{white-space:nowrap;min-height:1.1em}
}
@media(max-width:560px){.conversion{grid-template-columns:116px minmax(0,1fr)}}
@media(max-width:640px),(hover:none) and (pointer:coarse){
 html{scroll-behavior:auto}
 .hero,.hero__inner{min-height:var(--stable-hero-height,100svh)}
 #code-money{height:100lvh}
 .motion-ready .motion-item,.motion-ready .motion-item.is-inview{transform:none;transition-property:opacity}
}
