/* Carbon Labs: About section (statement + sub-title + lab bench), matched to the Amy test page (landing.css v92). */
/* ── v75: About. The headline stays the statement (its last words in the gradient); the rest reads as a sub-title. */
.about .statement p[data-words] { max-width: 24ch; text-wrap: balance; }
.about .statement p.statement__sub { margin: 26px auto 0; max-width: 44ch; font: 500 clamp(18px, 1.8vw, 23px)/1.45 var(--body); letter-spacing: -.005em; color: var(--fg-2); }

/* ── v75: the lab bench under the About statement. Glass like the agents: a tint, a bright rim, a specular streak,
   the shared glow. Three of the vessels are pets (eyes that blink and follow the pointer). Runs while on screen. */
.lb { max-width: 900px; margin: clamp(36px, 5vw, 64px) auto 0; }
.lb__svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 26px rgba(0,176,194,.28)) drop-shadow(0 16px 24px rgba(0,0,0,.32)); }
html[data-theme="light"] .lb__svg { filter: drop-shadow(0 0 30px rgba(0,176,194,.2)) drop-shadow(0 14px 22px rgba(31,41,90,.12)); }
.lb { --lb-line: rgba(255,255,255,.82); --lb-soft: rgba(255,255,255,.34); --lb-glass: rgba(255,255,255,.07); --lb-eye: rgba(255,255,255,.92); --lb-metal: rgba(255,255,255,.22); }
html[data-theme="light"] .lb { --lb-line: rgba(29,29,31,.5); --lb-soft: rgba(29,29,31,.22); --lb-glass: rgba(255,255,255,.55); --lb-eye: #1d1d1f; --lb-metal: rgba(29,29,31,.14); }
.lb-glass { fill: var(--lb-glass); stroke: var(--lb-line); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.lb-screen { fill: rgba(10,22,30,.55); } html[data-theme="light"] .lb-screen { fill: rgba(240,250,252,.85); }
.lb-spec { fill: none; stroke: #fff; stroke-opacity: .6; stroke-width: 3; stroke-linecap: round; }
.lb-bench { fill: var(--lb-metal); }
.lb-metal, .lb-plate { fill: var(--lb-metal); stroke: var(--lb-soft); stroke-width: 1.4; }
.lb-plate { fill: rgba(217,119,87,.5); stroke: rgba(255,255,255,.35); }
.lb-led { fill: #ff8a3d; }
.lb-rod { fill: none; stroke: var(--lb-soft); stroke-width: 4; stroke-linecap: round; } .lb-rod--thin { stroke-width: 3; }
.lb-stopper, .lb-lip { fill: rgba(217,119,87,.75); stroke: rgba(255,255,255,.4); stroke-width: 1.2; }
.lb-lip { fill: var(--lb-glass); stroke: var(--lb-line); stroke-width: 2.2; }
.lb-pipe, .lb-coil { fill: none; stroke: var(--lb-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lb-coil { stroke-width: 2.6; }
.lb-pipe-flow, .lb-coil-flow { fill: none; stroke: #5fe0ee; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 16; opacity: .9; }
.lb-coil-flow { stroke: #ff9ec0; stroke-dasharray: 4 22; }
.lb-wire { fill: none; stroke: var(--lb-soft); stroke-width: 2; stroke-dasharray: 3 4; }
.lb-tick { fill: none; stroke: var(--lb-line); stroke-width: 1.6; stroke-linecap: round; opacity: .8; }
.lb-needle { stroke: #ff5a6e; stroke-width: 2.4; stroke-linecap: round; }
.lb-hub { fill: var(--lb-line); }
.lb-fill-w { fill: var(--lb-glass); }
.lb-grid { stroke: rgba(255,255,255,.12); stroke-width: 1; } html[data-theme="light"] .lb-grid { stroke: rgba(29,29,31,.1); }
.lb-scan { fill: #5fe0ee; opacity: .35; }
.lb-shine { opacity: .5; pointer-events: none; }
.lb-bub { fill: #fff; fill-opacity: .75; opacity: 0; }
.lb-orb { fill: rgba(255,255,255,.5); stroke: rgba(255,255,255,.8); stroke-width: 1.2; }
html[data-theme="light"] .lb-orb { fill: rgba(0,176,194,.25); stroke: rgba(0,176,194,.6); }
.lb-eye { fill: var(--lb-eye); transform-box: fill-box; transform-origin: center; }
.lb-eyes { transition: transform .18s linear; }

/* motion (all of it paused off screen) */
.lb-wave { animation: lb-wave 2.2s linear infinite; } .lb-wave--s { animation-duration: 1.6s; }
.lb-slosh { transform-box: fill-box; transform-origin: 50% 100%; animation: lb-slosh 2.8s ease-in-out infinite alternate; }
.lb-slosh--big { animation-duration: 3.4s; }
.lb-bub { transform-box: fill-box; transform-origin: center; animation: lb-bub 1.9s ease-in infinite; }
.lb-d2 { animation-delay: -.6s; } .lb-d3 { animation-delay: -1.1s; } .lb-d4 { animation-delay: -1.5s; } .lb-d5 { animation-delay: -.3s; }
.lb-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: lb-flame .18s ease-in-out infinite alternate; } .lb-flame--b { animation-duration: .23s; }
.lb-needle { transform-box: view-box; transform-origin: 60px 138px; animation: lb-needle 3.2s ease-in-out infinite; }
.lb-pipe-flow, .lb-coil-flow { animation: lb-flow 1.4s linear infinite; } .lb-coil-flow { animation-duration: 2.2s; }
.lb-orb { transform-box: fill-box; transform-origin: center; animation: lb-orb 4.5s ease-in-out infinite; }
.lb-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: lb-bar 2.6s ease-in-out infinite alternate; }
.lb-scan { animation: lb-scan 2.8s linear infinite; }
.lb-level { transform-box: fill-box; transform-origin: 50% 100%; animation: lb-level 5s ease-in-out infinite alternate; }
.lb-led { animation: lb-led 1.2s steps(1) infinite; }
.lb-pet { animation: lb-hop 2.6s ease-in-out infinite; } .lb-pet--b { animation-duration: 3.1s; animation-delay: -1s; } .lb-pet--c { animation-duration: 2.2s; animation-delay: -.5s; }
.lb-eye { animation: lb-blink 4.2s infinite; } .lb-pet--b .lb-eye { animation-delay: -1.7s; } .lb-pet--c .lb-eye { animation-delay: -3s; }
.lb-flaskb { animation: lb-jig 1.6s ease-in-out infinite; }
.lb:not(.is-on) *, .lb.is-still * { animation-play-state: paused !important; }
.lb.is-still .lb-bub { opacity: .6; }
@keyframes lb-wave { to { transform: translateX(-25px); } }
@keyframes lb-slosh { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes lb-bub { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-34px) scale(1.1); } }
@keyframes lb-flame { from { transform: scale(.9, .82); } to { transform: scale(1.06, 1.08); } }
@keyframes lb-needle { 0%, 100% { transform: rotate(-50deg); } 40% { transform: rotate(40deg); } 55% { transform: rotate(25deg); } 70% { transform: rotate(60deg); } }
@keyframes lb-flow { to { stroke-dashoffset: -42; } }
@keyframes lb-orb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes lb-bar { 0% { transform: scaleY(.45); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.7); } }
@keyframes lb-scan { from { transform: translateY(-6px); } to { transform: translateY(60px); } }
@keyframes lb-level { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@keyframes lb-led { 50% { opacity: .25; } }
@keyframes lb-hop { 0%, 60%, 100% { transform: translateY(0); } 72% { transform: translateY(-6px); } 84% { transform: translateY(0); } 90% { transform: translateY(-2px); } }
@keyframes lb-jig { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes lb-blink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.12); } }
@media (max-width: 640px) { .lb { margin-inline: -8px; } }
@media (prefers-reduced-motion: reduce) { .lb * { animation: none !important; } }
/* the statement's gradient words: painted on the words themselves (the wrapper's text clip did not reach nested spans) */
.statement .hlp { background: none; }
.statement .hlp .w.hl.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
/* ── v91: the lab bench is rendered in 3D like the mascots (bench.js puts the layers in). The drawn outlines,
   bases and glass are replaced by the render; the animated parts stay. It runs the full width of the page. */
.lb { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; }
@media (max-width: 640px) { .lb { margin-inline: 0; margin-left: calc(50% - 50vw); } }
.lb.is-r3 .lb__svg { filter: none; }
.lb.is-r3 .lb-glass, .lb.is-r3 .lb-spec, .lb.is-r3 .lb-metal, .lb.is-r3 .lb-rod, .lb.is-r3 .lb-bench, .lb.is-r3 .lb-plate,
.lb.is-r3 .lb-stopper, .lb.is-r3 .lb-lip, .lb.is-r3 .lb-pipe, .lb.is-r3 .lb-coil, .lb.is-r3 .lb-shine { display: none; }
.lb.is-r3 .lb-gauge .lb-tick { stroke: #4a5262; opacity: .7; } .lb.is-r3 .lb-hub { fill: #4a5262; }
.lb.is-r3 .lb-grid { stroke: rgba(255,255,255,.12); }

/* ── v92: the bench's vessels in the mascots' soft-touch finish (benchsoft.js). The clear-glass renders give way to
   opaque pastel shells with the same light, edge shade, satin, glint and velvet texture as the characters; the
   rendered stands, bench, burner, hot plate, gauge and monitor stay as they are. */
.lb { --lbs-teal-l: #f2fdfe; --lbs-teal-s: #c9f0f4; --lbs-teal-d: #86d2dc; --lbs-teal-q1: #a9e7ef; --lbs-teal-q2: #4fbfcd;
  --lbs-iris-l: #f6f5ff; --lbs-iris-s: #d9d5fb; --lbs-iris-d: #a9a1ee; --lbs-iris-q1: #c3bdf8; --lbs-iris-q2: #8b82e3;
  --lbs-sun-l: #fffdf3; --lbs-sun-s: #fff0c4; --lbs-sun-d: #f2cf72; --lbs-sun-q1: #ffe48f; --lbs-sun-q2: #f2b93a;
  --lbs-clay-l: #fff6f2; --lbs-clay-s: #fbdccf; --lbs-clay-d: #e9a78e; --lbs-clay-q1: #f7c3ae; --lbs-clay-q2: #df8f70;
  --lbs-green-l: #f4fef5; --lbs-green-s: #d3f5da; --lbs-green-d: #92dba5; --lbs-green-q1: #b6edc2; --lbs-green-q2: #6cc888;
  --lbs-tube: #d8d3f8; --lbs-tube-hi: rgba(255,255,255,.7); }
html:not([data-theme="light"]) .lb { --lbs-teal-l: #b8eef4; --lbs-teal-s: #6fcad6; --lbs-teal-d: #2f8e9b; --lbs-teal-q1: #5fd5e2; --lbs-teal-q2: #1f9aaa;
  --lbs-iris-l: #d4d0ff; --lbs-iris-s: #9d96f2; --lbs-iris-d: #5a51bf; --lbs-iris-q1: #8e86f0; --lbs-iris-q2: #5148b4;
  --lbs-sun-l: #fff1bd; --lbs-sun-s: #f5d26a; --lbs-sun-d: #b98b15; --lbs-sun-q1: #ffd04f; --lbs-sun-q2: #d79a08;
  --lbs-clay-l: #ffd9c9; --lbs-clay-s: #f0a585; --lbs-clay-d: #a9583b; --lbs-clay-q1: #f39468; --lbs-clay-q2: #c45f38;
  --lbs-green-l: #d4f7d6; --lbs-green-s: #86d898; --lbs-green-d: #3f9a57; --lbs-green-q1: #74d98b; --lbs-green-q2: #2f9a4d;
  --lbs-tube: #8f88e6; --lbs-tube-hi: rgba(255,255,255,.35); }
.lb.is-soft image[data-r3^="glass"] { display: none; }
.lb.is-soft .lb-stopper { display: inline; stroke: none; }
.lb.is-soft .lbs-tube { display: inline; stroke: var(--lbs-tube); stroke-width: 5.2; }
.lb.is-soft .lb-coil.lbs-tube { stroke-width: 4; }
.lbs-tube-hi { fill: none; stroke: var(--lbs-tube-hi); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.lb.is-soft .lb-pipe-flow, .lb.is-soft .lb-coil-flow { stroke-width: 1.6; }
.lbs-under { filter: brightness(.9); }
.lbs-edge { opacity: .55; }
.lbs-satin { opacity: .85; }
.lbs-glint { fill: #fff; opacity: .7; }
.lbs-rim { stroke: rgba(255,255,255,.5); stroke-width: 1; }
html:not([data-theme="light"]) .lbs-rim { stroke: rgba(255,255,255,.28); }
.lb.is-soft .lb-tick { stroke: rgba(40,40,80,.35); }
html:not([data-theme="light"]) .lb.is-soft .lb-tick { stroke: rgba(255,255,255,.45); }

/* a tighter gap between the lab bench and the divider line into the Idea section */
#about.gsec { padding-bottom: clamp(32px, 3.5vw, 52px); }

/* (the CTA buttons' hover now lives in glass.css: the monday AI liquid-glass material) */

/* a tighter step from the experiment cards down to About: 64px less than before at every width */
#experiments.gsec { padding-bottom: calc(clamp(90px, 11vw, 150px) - 64px); }

/* hero: the screenshot window sits about 32px under the call-to-action buttons (was about 61px) */
@media (min-width: 761px) { html[data-layout="center"] .fslide .win { margin-top: -12px; } }

/* experiments: 48px from "View all experiments" down to the cards */
#experiments .rail-wrap { margin-top: 0; }
#experiments .crail { padding-top: 48px; }

/* experiment cards 12px narrower, height scaled to keep their proportions (370 x 560 becomes 358 x 542) */
.xcard { flex-basis: 358px; height: 542px; grid-template-rows: 290px minmax(0, 1fr); }
.crail { padding-left: max(var(--gutter), calc((100vw - 358px) / 2)); padding-right: max(var(--gutter), calc((100vw - 358px) / 2)); }
@media (max-width: 760px) { .xcard { height: 503px; grid-template-rows: 252px minmax(0, 1fr); } }

/* no divider under the About bench, and none above the footer links */
#idea.gsec, .about + .gsec { border-top: 0; }
.gfoot, .gfoot .gfoot__row { border-top: 0; }
